I am trying to make my urls seo friendly ie:
www.domain.com/about-us
rather than
www.domain.com/index.php?seo_link=2
using the following in my .htaccess file which works fine
The problem is when I try to access the admin section on www.domain.com/admin
instead of going to the admin folder it thinks im trying to load a page called admin.
Is there anything I can add to my .htaccess file to make this work?
www.domain.com/about-us
rather than
www.domain.com/index.php?seo_link=2
using the following in my .htaccess file which works fine
Code:
RewriteEngine on
RewriteRule ^([^/\.]+)/?$ index.php?seo_link=$1 [L]
The problem is when I try to access the admin section on www.domain.com/admin
instead of going to the admin folder it thinks im trying to load a page called admin.
Is there anything I can add to my .htaccess file to make this work?
Last edited: