Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ErrorDocument 404 /
- ErrorDocument 403 /
- # This converts all www.test.com/example/ to www.test.com/index.php?page=example
- RewriteEngine ON
- RewriteCond %{REQUEST_URI} !="" [NC]
- RewriteCond %{REQUEST_URI} !=/index.php [NC]
- RewriteRule ([^/]+)/?$ /index.php?page=$1 [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement