How do can I make my domains not show a subdirectory in the address bar for a homepage?

Hi there,

I'm really struggling with my wordpress multi-site. I have several domains that I want to run off a shared hosting. My core site works well, however any additional site asks me to put in a directory name for the homepage. I can get the sites to work ok, however the address is http://www.example.com/home. I obviously want to get rid of this as isn't very user friendly.

Any advice would be greatly appreciated.

Cheers

Luke

  • Alexander
    • DEV MAN’s Mascot

    Hi @Luke,

    This is actually how Multi domains works. It allows several sites to operate off of multiple domains. The the final site urls would look like:

    domain1.com/subsite1
    domain1.com/subsite2
    domain2.com/subsite3
    domain2.com/subsite4
    domain3.com/subsite5
    domain3.com/subsite6

    If you're just trying to setup one domain to point to an existing subsite, then you would need our domain mapping plugin. For example, this is what it would do:

    customdomain1.com - > mainsite.com/subsite1
    customdomain2.com - > mainsite.com/subsite2
    customdomain3.com - > mainsite.com/subsite3

    It essentially maps new domains to existing subsites.

    Thanks for being a WPMU DEV member. Let us know if we can be of any further assistance.
    Best regards,

  • Luke
    • New Recruit

    Thanks for the super quick reply Alexander,

    That is a little unfortunate if that's the case as that's not what I'm really trying to achieve. Any advice on a way to resolve my issue though? Is there a different plugin or is it just not achievable?

    Thanks again,

    Luke.

  • Alexander
    • DEV MAN’s Mascot

    @Luke,

    Would Domain mapping not work for you (as described above)? If you're just trying to point a domain to a sub site on your network, this would be the way to go. Or perhaps you could elaborate on what you're trying to accomplish?

    Take care

    @lars_lauridsen,

    You might just need to wait for google to re-index on the new URL. Try googleing the new domain every few hours and see if it picks it up. If you need more help, would you mind posting a new question? Then we could take a look at your issue specifically.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.