Forums

Rewrite URL of home page ONLY, htaccess or...? (2 posts)

  1. ThemeMee
    Member
    Posted 6 months ago #

    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.

  2. ThemeMee
    Member
    Posted 6 months ago #

    Still experimenting with this, but so far nothing has worked. Any .htaccess gurus, or other thoughts?

Reply

You must log in to post.

About this Topic