- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^admin/([A-Za-z0-9_-]+)/?$ /TestSites/CMS_Basic/admin/index.php?page=$1 [NC,QSA,L]
I want to add another rule like this
- Code: Select all
RewriteRule ^([A-Za-z0-9_-]+)/?$ /TestSites/CMS_Basic/index.php?page=$1
But it always messes up, I've 'attempted' RewriteConds, a number of rules and flags but the best I can achieve is it working and cutting off the first character in the $_GET['page']