lordphate Posted June 7, 2008 Share Posted June 7, 2008 Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]+)/ profiles/index.php?folder=$1&%{QUERY_STRING}$ [L] RewriteRule (.*)-(.*)-(.*)-(.*)\.html index.php?page=$1§ion=$2&category=$3&subcategory=$4&%{QUERY_STRING}$ [L] RewriteRule (.*)-(.*)-(.*)\.html index.php?page=$1§ion=$2&category=$3&%{QUERY_STRING}$ [L] RewriteRule (.*)-(.*)\.html index.php?page=$1§ion=$2&%{QUERY_STRING}$ [L] RewriteRule (.*)\.html index.php?page=$1&%{QUERY_STRING}$ [L] If i have a regular .html page, it gives me a page not found error. Quote Link to comment https://forums.phpfreaks.com/topic/109080-modrewrite-rules/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.