WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
[resolved] cant add new sites :( (13 posts)

  1. talynndar
    Member
    Posted 3 years ago #

    I think I have lost my mind!

    I am using wp 3.1.3 and Domain Mapping plugin - and have been for, since 3.0 was in beta and it works great!

    well till this week...

    this is not a public network... just my own personal blogs. I have about 30 installed and a few days ago registered two new domain names.

    I followed my usual steps to add to my network.. and um trouble in paradise!

    when I click update network it runs fine - till it hits the new URL then I get this error

    Error message: A valid URL was not provided.

    I follow the same steps each time - so not sure why I am getting errors now :(

    1- I register domain name and point to my host (Phatservers)
    newsite.com

    2- I log onto admin on host and create an alias pointing to main domain
    point newsite.com --> mainsite.com

    3- Under Network admin I click add a new site enter site address as: newsite - so it becomes newsite.mainsite.com

    4-then I click sites- and find the newest one and click edit... and change the domain name to: newsite.com and tick Update siteurl and home as well. and save changes

    5-then under tools - go to domains and enter a site ID and under domain type newsite.com and tick primary

    did i suddenly forget myself and miss a step?

    result now is network update errors
    under network admin when I click on sites - and click on edit site
    Update siteurl and home as well. does not stay checked?
    when I type newsite.com into a browser it redirects to mainsite.com
    and in site admin under my sites the name shows blank

    I use A-Records not cname

    nothing else has really changed - a few recent minor updates that did not seem to make an issues

    please help!

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    4-then I click sites- and find the newest one and click edit... and change the domain name to: newsite.com and tick Update siteurl and home as well. and save changes

    That's your problem. Don't edit the site; just map the domain to it in the domain mapping screen.

  3. talynndar
    Member
    Posted 3 years ago #

    tried skipping step four - still same results

    its so odd... when i go into network admin and click sites

    the dashboard and the visit site- goes to Mainsite.com not newsite.com

    i dont understand about alias - just know to set them - could it be something there...

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    If you have everything else done correctly, step 4 causes this problem: http://wordpress.org/support/topic/plugin-wordpress-mu-domain-mapping-network-activate-causes-redirect-loop?replies=3

    Either you haven't edited your wp-config correctly or you have a server config issue. Either of those can cause the domain to redirect to the main one.

  5. talynndar
    Member
    Posted 3 years ago #

    well messed around a bit, deleted all my test stuff...

    carefully started again... now have Error establishing a database connection error?

  6. talynndar
    Member
    Posted 3 years ago #

    Either you haven't edited your wp-config correctly or you have a server config issue. Either of those can cause the domain to redirect to the main one.

    but I havent touched the wp-config

    what type of server config issue?

    the other 30 sites are running normally, I uploaded a new theme, no issues - am emailing the host... they say no changes :(

  7. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    If you follow the installation instructions you will edit your wp-config.php.

    Fix that before you worry about the server config.

  8. talynndar
    Member
    Posted 3 years ago #

    Ron - thanks for your patience here, this is not a new install - this is a currrently running multi site with 30 blogs on it - some TLD and some sub-domains

    last time i added two domains and used domain mapping around mar 25 and have not edited wp-config at anytime since.

    I did go back and check wp-config and it has not been edited since 3/10 - so I know no changes in wp-config since I last added sites?

    I also checked wp-config and see the edits from the install there :(

    any other ideas? your help greatly appreciated

  9. talynndar
    Member
    Posted 3 years ago #

    now i also noticed in blogs.dir folder - it did not create folder with the # of the two new blogs i added...

    so somehow its not creating the blogs?

  10. the blogs.dir folder is only for media uploads. The blogs themselves are *virtual*. They do not exist on the server - mush the same way posts don't. ;)

  11. talynndar
    Member
    Posted 3 years ago #

    hmmm still loosing my mind...

    still getting a database errors,

    have checked wp-config looks to be correct including all the details noted in installation guide, and not edited since before the last time I added blogs to my installation.

    created the blogs in the same way as in past- tried it without my step 4 above...

    it appears almost something is not set to allow the blogs to write and be saved?

    what else could it be?

    am at a loss :(

  12. Turn off all the plugins. Add a new site.
    Does it work then?

  13. talynndar
    Member
    Posted 3 years ago #

    this topic can be closed... there was a conflict between a few plugins and domain mapping plugin. the only way to solve it was to remove the plugins completely - since they were not entirely essential. this conflict was somehow not letting new blogs be created, even if the plugins where off.

    my host (Phatservers) helped me to solve, - they rock :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic