Hey, thanks for your response.
I used RewriteCond to ignore index.php to see if that solved anything, but it didn't, and admin doesn't exist as a file or directory.
Hi all,
This is a strange one that's really bugging me. I have some very simple HTACCESS code:
RewriteEngine On
RewriteRule ^(.*?)/?$ index.php?folder=$1
So, visiting mysite.com/admin should point to mysite.com/index.php?folder=admin
However, when using print_r( $_GET ) on index.php, I get:
Array ( [folder] => index.php )
I'm getting index.php returned instead of admin, any ideas?
Thanks!
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.