setting default homepage on wordpress mu


I just had a wordpress mu installed and have created a sub-site. I want that sub-site
to the default site that shows up when you type is my domain name.

So instead of going to: when the type in, they should instead go to

anyway of doing this.


  • Nastia

    Hello @Mich, I hope you are doing well today!

    Thank you for your question!

    At the current time I see that you have a subdirectory install.

    You may achieve this by editing a .htaccess file. Paste the following code inside. Stick these rewrite rules at the top of it:

    # Block access to the root site
    RewriteCond %{HTTP_HOST} ^(example\.com)$ [NC]
    # Whitelist directories and files needed by WordPress
    RewriteCond %{REQUEST_FILENAME} !/wp-.* [NC]
    RewriteCond %{REQUEST_URI} !/wp-.* [NC]
    RewriteCond %{THE_REQUEST} !/wp-.* [NC]
    # Whitelist specific areas of the root site
    # e.g category slugs or page slugs you want to remain viewable
    RewriteCond %{REQUEST_URI} !/blog.* [NC]
    RewriteCond %{THE_REQUEST} !/blog.* [NC]
    # Set like-to-like redirect URL for anything not whitelisted
    RewriteRule (.*) http://2013\.example\.com/$1 [R=301,L]

    Change the domain names and slugs in the redirect rules so they match your site and needs.

    Please keep a backup of your original .htaccess file in case something goes wrong.

    I hope this helps! Let us know if you need any further assistance!


  • Mich

    Hi Nastia, thank you, I will give that a go. I also wanted to ask you this.

    I also need a different header image for each sub-site, but noticed mu shares the
    same theme across all sub-sites and main site. So which ever header
    I have on the main site, it looks like that shows up on any new site
    I create.

    The sub-site instructions tell me to upload the images/header in the header image directory
    for that themes, but it's the same theme directory and not a theme directory for that sub-site, which
    does not exist, so if I change that for the sub-site, it will change it for the main site also, which I do not want.

    I know there must be a way to do this. Any idea?


  • Nastia

    Hello @Mich, I trust you are doing well today!

    In case you wish to have same theme enabled on your network, but the theme doesn't let you to have different modifications on each subsites, I'll suggest to create a child theme for each of your subsites and do the modifications there.

    Once you create a child theme, you can network enable it and choose which one from all of your themes would be enabled on each subsite.

    I hope this helps! Please, feel free to let us know if you require any further information!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.