Forums

[resolved] Multisite + multiple domains and wp-signup.php (4 posts)

  1. ashbryant
    Member
    Posted 4 months ago #

    Hi everyone. Forgive me if this question is stupid, but I'm still quite new to WP MS.

    I have a WP MS install using subdomains on a server that has (at the moment) no "real" domains pointing at it. I have instead edited my host file to mimic the use of the domains, while I'm building the site, as my client have their current site using the domains I need to set up.

    I have built the site using morso.co.uk as it's primary domain and this works fine (as you would expect). However the current site my client has uses morsoe.co.uk as it's primary domain (notice the 'e' in there). They are going to change the primary domain over to the one without the 'e' like I have done. They will therefore require morsoe.co.uk to be a parked domain on the new site.

    The issue I'm finding is when I come to this setup I'm getting the /wp-signup.php as I'm guessing it can't find the blog. This also happens for the 301 reirects.

    What do I need to do in order to get...

    http://www.morsoe.co.uk/some-page.aspx

    to become

    http://morso.co.uk/some-page/

    ?

    I have looked at using define( 'NOBLOGREDIRECT', '%siteurl%' ); but this just redirects to the home page and I don't think this will be best for SEO.

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    htaccess is your friend :)

    If you install everything at http://morso.co.uk and park http://morsoE.co.uk then you get this:

    http://www.morsoE.co.uk/some-page.aspx points to http://morso.co.uk/some-page.aspx

    THEN what you want is to do something like this:

    Redirect permanent (.*)\.aspx$ $1

    Put that ABOVE the WordPress calls, and http://morso.co.uk/some-page.aspx goes to http://morso.co.uk/some-page

  3. ashbryant
    Member
    Posted 4 months ago #

    Thanks Ipstenu I'll give it a try.

  4. ashbryant
    Member
    Posted 4 months ago #

    This seems to have done the trick. Thanks Ipstenu.

Reply

You must log in to post.

About this Topic