Jump to content

Mod Rewrite Please Help


shyam13

Recommended Posts

I created an ht access file for my website and I made a few adjustment to the file and now my website has crashed, I can access some web pages and when I access other web pages, they show a 404 error, please help

 

This is the code for my htaccess file:

 

RewriteEngine on

RewriteBase /

 

 

 

RewriteRule ^([A-Za-z0-9-]+)$ $1.php [NC]

 

 

#Content Rule

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^([A-Za-z0-9-]+)\.php$ content.php?name=$1 [L,NC,QSA]

 

Thank you

 

Shyam

Link to comment
https://forums.phpfreaks.com/topic/266347-mod-rewrite-please-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.