WordPress.org

Ready to get started?Download WordPress

Forums

How to make root domain redirect to subdirectory (2 posts)

  1. David M
    Member
    Posted 1 year ago #

    Apologies for what's probably an incredibly simple question.

    After using DreamHost's standard OneClick WP Install, I setup a WP Multisite using subdirectories. Each subdirectory is a different language version of the main site (domain.com/es, domain.com/en etc).

    However, I would like to use the main site (domain.com) for a specific language, the contents for which aren't ready yet.

    So, in the meantime, what is the best way to redirect the main site to one of the subsites that is already setup? i.e When someone types in domain.com it redirects to domain.com/es.

    Please note that:
    -- I'm not trying to move my WP installation etc.
    -- it is likely to be at least several months, possibly more than year before the main site is ready. However, once it is ready it is likely to become the most visited site hence why I'd like to use the root domain for it.
    -- The different language versions of the site are not exact copies of each other, hence why using multisite. Currently using "Multilingual Press" to coordinate the parts that need to be similar

    Many thanks in advance for your help.

  2. There isn't a good way. You'd probably want to make a static front page on domain.com and have THAT link to the subsite via a plugin like Pages Link To.

Topic Closed

This topic has been closed to new replies.

About this Topic