mod rewrite and friendly URL’s
-
i am working on setting up some friendly URL’s for our site and am looking for some advice.
Looking for https://www.sixteenfifty.com/?page_id=2 to become https://www.sixteenfifty.com/about/
We have used this in the past in an .htaccess file and it has worked but i cant seem to get it to go for this.
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /\?page_id=2\ HTTP/ RewriteRule ^(.*)$ https://%{HTTP_HOST}/about/? [R=301,L]
Thanks for any help!
kmaier
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘mod rewrite and friendly URL’s’ is closed to new replies.