custom .htaccess rewrite rules
-
I have my WordPress installed at:
mysite/blog/
I want the about page to be accessible with:
mysite/about/I tried setting up an .htaccess file in the root with:
RewriteRule ^about(.*)$ blog/?page_id=203$1 [L,NC]This works, but pulls to:
mysite/blog/about/
because interfears with WordPress’ .htaccess (I use the pretty permalinks)I tried adding the rewrite rule above the # BEGIN WordPress – # END WordPress block but no luck.
I am also not sure about the RewriteBase as I want to target up level up.Thanks for any help
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘custom .htaccess rewrite rules’ is closed to new replies.