• Resolved PetLvr

    (@petlvr)


    I’ve got two domains .. let’s say realdomain.com is where the site is and let’s say similardomain.com is just a registered domain.

    What I normally do … is I would go into my cPanel of realdomain.com and add as parked domains the similardomain.com

    So, when I typed in the URL similardomain.com .. it doesn’t redirect to realdomain.com .. but instead operates the realdomain.com as similardomain.com. So, pages like similardomain.com/about/ etc all work no problem.

    (example… PetLvr.org is a parked domain for PetLvr.com and will continue to work for all pages https://PetLvr.org/blog/ until a new link is clicked and then revert back to the .com URL). I’ve been doing this for a while now (the .net, .org, etc TLD’s to my larger domains) and don’t even know if this is the best way, although my host provider suggested it and it works.

    Now – I come to do the same on realdomain.com – which is a 3.0.1 multisite … and when you type in similardomain.com .. it gives me this URL instead…

    https://realdomain.com/wp-signup.php?new=similardomain.com
    > and an error message because I have my network options to deactivate registration.

    Any ideas how I can get this to work?

    Thanks!
    HART

Viewing 3 replies - 1 through 3 (of 3 total)
  • that technique would work on the member blogs with the domain mapping plugin, but – as you can see – not the main blog.

    that “error” basically means it’s trying to look up a non-exisiting blog in the database. there’s no record for that domain, so it flips to the signup page.

    You can put in
    define( ‘NOBLOGREDIRECT’, ‘https://yourdomain.com/’ );
    in the wp-config.php file.

    Thread Starter PetLvr

    (@petlvr)

    Thanks Andrea.

    I tried that inclusion last night, but didn’t include the https:// for some reason and I was getting this error message:

    The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to
    accept cookies.
    Try Again

    But, then I tried it again after reading your reply WITH the https:// and it’s working fine!

    It’s odd because there is a line in there also without the https://
    define( ‘DOMAIN_CURRENT_SITE’, ‘yourdomain.com’ );

    All’s well that ends well ??

    Take care
    HART

    It’s odd because there is a line in there also without the https://
    define( ‘DOMAIN_CURRENT_SITE’, ‘yourdomain.com’ );

    Different command tho. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirection into a Multisite’ is closed to new replies.