Jump to content

Rewrite causing server error?


conker87

Recommended Posts

This is the .htaccess file I'm using:

 

RewriteEngine On
RewriteBase /

RewriteRule ^articles/([a-z0-9-]*)/$ index.php?article=$1 [NC]
#RewriteRule ^reviews/([a-z0-9-]*)/$ index.php?review=$1 [NC,L]
#RewriteRule ^strips/([a-z0-9-]*)/$ index.php?strip=$1 [NC,L]
#RewriteRule ^users/([a-z0-9-]*)/$ index.php?user=$1 [NC,L]
#RewriteRule ^pages/([a-z0-9-]*)/$ index.php?page=$1 [NC,L]]

 

However it's now causing a 500 error, which it wasn't doing earlier. Even with all 5 rules commented out it still brings up an error.

Link to comment
https://forums.phpfreaks.com/topic/165089-rewrite-causing-server-error/
Share on other sites

  • 2 weeks later...

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.