Rewrite URL of home page ONLY, htaccess or…?
-
I have a site ready to launch that needs to have the home page URL be mysite.com/home, but I don’t want ‘home’ to be the root. That is, other pages should be mysite.com/about or mysite.com/events, etc., not mysite.com/home/about or mysite.com/home/events. So, I THINK moving the site to a ‘home’ directory is a no go. (This is an odd requirement as the parent organization requires mysite.com to go to them; they then link to mysite.com/home … don’t ask ;\ )
This seems to my feeble brain as something that .htaccess can do, and I can do it on a straight php site:
RewriteRule ^/?home$ /
However, I’m not great with .htaccess. And maybe that’s entirely the wrong way to go. Hopefully I’m making this harder than it has to be! Thanks for your help.
- The topic ‘Rewrite URL of home page ONLY, htaccess or…?’ is closed to new replies.