The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Was wondering if there was anyone out there who fully understands htaccess mod_rewrite? I’ve been playing with it for a while but its just beating me.
I have my rewrite working fine but I want it to not change the path if the user calls a specific folder (ie /admin/).
my file currently reads:
RewriteRule ^([a-zA-Z0-9]+)/([a-z-]+)$ index.php?type=$1&clean=$2
RewriteRule ^([a-zA-Z0-9]+)/$ index.php?type=$1
RewriteRule ^([a-zA-Z0-9]+)$ index.php?type=$1
So if /admin/ is called it will simple go there.
Any help would be greatly appreciated!!!