The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other htaccess

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #23265

    hi all,

    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:

    Options +FollowSymlinks
    RewriteEngine on

    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!!!

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.