change url with .htaccess

Discussion in 'Customization & add-ons' started by hernan1, Sep 12, 2013.

  1. hernan1

    hernan1 New Member

    Joined:
    Sep 11, 2013
    Messages:
    3
    I want to clean up my url using .htaccess to remove the /amember/ directory
    ie. www.example.com/login rather than www.example.com/amember/login

    I added:
    Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_URI} !(.*)amember RewriteRule ^(.*)$ amember/$1 [L]

    to my .htaccess, however this has no effect whatsoever. I'm not great with the htaccess, can anyone spot what's wrong?

Share This Page