I can't get URL rewriting to work for the life of me. I have seen some of the threads on this forum and have something like the snippet below, but it doesn't work.
RewriteEngine On
RewriteRule ^(.*)$ index.php?sec=$1 [L,QSA]
Basically I want my index.php?sec= to be replaced with the query string value, so it would be mydomain.com/about.
Any ideas?
RewriteEngine On
RewriteRule ^(.*)$ index.php?sec=$1 [L,QSA]
Basically I want my index.php?sec= to be replaced with the query string value, so it would be mydomain.com/about.
Any ideas?
Comment