[CMS] New .htaccess

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Today Tweeney found a bug/issue with the RevCMS' .htaccess.

If you're experiencing errors such as the "Too many redirections" error, use this .htaccess

Code:
RewriteEngine On

RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
RewriteRule ^(.*)\.htm$ $1.php [NC]

RewriteRule ^(|/)$ dash.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1
Pastebin link:
Enjoy!
 

Users who are viewing this thread

Top