Forums

[resolved] WordPress MU Domain Mapping plugin issue (19 posts)

  1. Venerated Coconut
    Member
    Posted 6 months ago #

    My *.maindomain.com is pointed at maindomain.com, but my 2nddomain.com doesn't go to 2nddomain.com. It goes to maindomain.com even though I've followed all instructions for WP networks and the WordPress MU Domain Mapping plugin (version 0.5.4.1).

    http://kirtiklis.com should go to http://vndc.coccoyoga.com as the main domain for that site.

    but instead http://kirtiklis.com goes to http://coccoyoga.com, the main domain and public root.

    The site at http://vndc.coccoyoga.com/ works just fine.

    Please advise! Thanks.

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

    That http://kirtiklis.com goes to http://coccoyoga.com, the main domain and public root. is actually okay. That means you set up the mapping outside of WP correctly.

    In the WordPress MU Domain Mapping plugin, read http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/ and check Step 4. Make sure you mapped things there.

  3. Venerated Coconut
    Member
    Posted 6 months ago #

    Sigh. Yes, I've done that, and kirtiklis.com shows up as the primary domain in the Super Admin->Domains menu. I read through this ottopress yesterday, it's a good one, but I will go back through it again.

    Is there another domain mapping plugin I could try?

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

    This one and the one on wpmudev are the best (IMO, you're using the best one).

    If you go to Network Admin->Sites, does the mapping show up there?

    http://wordpress.org/extend/plugins/tags/domain-mapping

    http://premium.wpmudev.org/project/domain-mapping

  5. Andrea_r
    team pirate
    Posted 6 months ago #

    Go to the SUB site.

    Go to Tools -> Domain mapping.

    What do you have there?

    And how did you point/park the domain?

  6. Venerated Coconut
    Member
    Posted 6 months ago #

    Okay, so I went through ottopress again and everything is right. Sigh.

    Tools -> Domain mapping shows this:
    http://vndc.coccoyoga.com/files/2011/11/untitled2.jpg

    and Network Admin->Sites shows:
    http://vndc.coccoyoga.com/files/2011/11/untitled1.jpg

    I parked the domain, which is said to send the url to the main domain (and it is, even now that it should go to secondary domain) and have a * subdomain pointed at the public_html folder.

    Thanks for your help.

  7. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    Why does Tools -> Domain mapping have http://vndc.coccoyoga.com mapped?

  8. Venerated Coconut
    Member
    Posted 6 months ago #

    I don't know--it was created when i made the site via the network. I tried to erase (when it wasn't the primary domain) but it wouldn't let me.

  9. Venerated Coconut
    Member
    Posted 6 months ago #

    OKay, I'm un- & reinstalling everything. For clarity, is the domain_mapping.php needed and if so where? Different instructions say different things, e.g. "Illustrated installation instructions can be found here but you can ignore the instructions to place domain_mapping.php in mu-plugins" on the plugin page. Does this mean it's not needed at all or that it goes in the regular plugins folder?

    Thanks!

  10. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    It means you should leave it where it is - Don't move that file.

  11. Venerated Coconut
    Member
    Posted 6 months ago #

    Exciting. I have done it again, and it still does not work, but this time I get an error.

    So, in the subdomain domain mapping:
    http://vndc.coccoyoga.com/files/2011/11/untitled2.jpg

    before I added the 2ndary domain, there were no domains at all. When I added Kirtiklis.com, both showed up (as in the pic).

    When I click, "Set primary domain" i then get a mostly blank page that reads:
    You do not have sufficient permissions to access this page.

    Please advise.

  12. Andrea_r
    team pirate
    Posted 6 months ago #

    Why does Tools -> Domain mapping have http://vndc.coccoyoga.com mapped?

    It's supposed to look like that.

    Different instructions say different things, e.g. "Illustrated installation instructions can be found here but you can ignore the instructions to place domain_mapping.php in mu-plugins" on the plugin page.

    You either pt it in mu-plugins OR you put it in Plugins and network activate it. It will work either way.

    We know the plugin is working because you see the menu. It;s not an issue of where it is installed.

    Gven http://vndc.coccoyoga.com/ works and does not redirect and your screen above shows it as mapped to a primary domain, something is wrong *server side*.

    Not in the plugin. The domain is not even getting to the plugin lookup.

    Is coccoyoga.com the main domain on that web account?

  13. Venerated Coconut
    Member
    Posted 6 months ago #

    Yes, coccoyoga.com is the main domain.

    I have a subdomain *.coccoyoga.com pointed at the public_html folder.
    And kirtiklis.com, the secondary domain, is parked, which I assume means it is pointed at the main domain (and that's where it's going. still.)

    Thanks.

  14. Venerated Coconut
    Member
    Posted 6 months ago #

    Oh no! Wait--let me clarify!! Actually, http://vndc.coccoyoga.com/ does redirect to coccoyoga.com when the primary domain is set to kirtiklis.com. When you had posted that comment, I had deleted the kirtiklis.com as primary because with it set, I can't even get into the subsite.

    I put it back up now so you can see. http://vndc.coccoyoga.com/ redirects to coccoyoga.com.

    Thanks again.

  15. Andrea_r
    team pirate
    Posted 6 months ago #

    I have a subdomain *.coccoyoga.com pointed at the public_html folder.

    That is irrelevant for domain mapping itself. It is only needed for the subdomains to work. That;s it. If you had a subfolder install, you would not even have to do this and you;d still be able to map domains.

    just pointing that out so it does not confuse the mapping issue.

    And kirtiklis.com, the secondary domain, is parked, which I assume means it is pointed at the main domain (and that's where it's going. still.)

    Then check how you did that and don;t assume. :) Park it via cpanel. Make sure it goes to the same folder as your main install.

    Otherwise, you really need to hire someone to sort it out.

  16. Venerated Coconut
    Member
    Posted 6 months ago #

    I have a subdomain, not subdirectory install. I was not given a choice because it seemed to think it was not a fresh install, though it was. Perhaps because I didn't deactivate the plugins that come installed with WP before I added the network. For whatever reason, I had to use the subdomain install.

    I did park it via cpanel. :) I will double check again to make sure it goes to the subdomain. Thanks!

  17. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 6 months ago #

    I will double check again to make sure it goes to the subdomain.

    No, don't do that. Please read what Andrea said.

    Make sure it goes to the same folder as your main install.

    She means park it to coccoyoga.com NOT the subdomain.

  18. Venerated Coconut
    Member
    Posted 6 months ago #

    OH MY! Problem solved!! It works!!

    (Yes, I meant I will make sure it goes to the main domain/install, and it was).

    So, second domain was parked and pointed at the main domain as i'd thought. BUT when i had forwarded from the domain host to my hosting provider, which i'd done awhile ago, it just forwarded the url and the DNS was not pointed at my server. Duh. This is why it wasn't working. once pointed, it worked like a charm! Yay!!

    I wish it weren't so late--I want to put the site up properly.

  19. Venerated Coconut
    Member
    Posted 6 months ago #

    Also, thank you so much!!

Reply

You must log in to post.

About this Topic