• Resolved thelackof

    (@thelackof)


    I was using an initial domain for my website.
    I was in need of expanding so I read into it, created a new domain, logged into my WHM and changed the domain name to the new one.

    The change was successful and the index of my original website is now showing on the new http://www.com

    but.. wp-admin redirects to my old domain name.
    Also, with the style being pulled in my head with php instead of a direct .css file, the css is not showing – thus it must be attempting to get the css from my original website domain.

    Where in WordPress is the code trying to find my old domain?
    I need wordpress to attach properly with my new domain.

Viewing 9 replies - 1 through 9 (of 9 total)
  • logged into my WHM and changed the domain name to the new one.

    And how did you do this?

    Thread Starter thelackof

    (@thelackof)

    Account Functions > Modify an Account – Primary Domain

    I see my index page is showing all of the titles to my articles, loading my header, index and footer but it is not showing my css, wp-admin is not loading under the new site, just redirecting to the old and it is not showing the featured images for the articles.

    The search bar is there so I tried searching but it is trying to search through my old domain name.

    So it seems the site is 50% right and 50% not right.

    Thread Starter thelackof

    (@thelackof)

    http://www.abandonedplaygrounds.com was the original domain.
    http://www.wuhwild.com is the new.

    Thread Starter thelackof

    (@thelackof)

    I wonder if the change is still occurring in the background.
    I tried wuhwild.com/wp-admin again and this time, after nearly half an hour of trying this, instead of redirecting to abandonedplaygrounds.com, it simply directed to wuhwild.com – but still not wp-admin

    In the source code I don’t see anything except favicon using http://www.wuhwild.com

    I don’t think you can just do it on the server. You need to follow this
    http://codex.wordpress.org/Moving_WordPress

    Thread Starter thelackof

    (@thelackof)

    Yeah I think the reason it directed back to wuhwild.com was due to my redirection of abandonedplaygrounds to wuhwild.
    Everything is taking so long to adjust today as the redirect took at least an hour to work.

    But interesting! I did not realize WordPress leached itself onto a domain name. I had even read elsewhere that only the database config was the only link but I suppose it must have been on an older version.

    I will read through this and let you know how it turns out. Thank you in advance!

    Thread Starter thelackof

    (@thelackof)

    So my progress.

    To me it seems that WordPress wanted me to change some things BEFORE making the transfer – which I did not do and thus WordPress, my website and SQL are not mixing well.

    I decided to revert back to the initial website, http://www.abandonedplaygrounds.com and start over.

    My initial database still existed, I had all of my original wordpress files backed up in a separate folder on my cpanel. I changed the primary domain back, returned the backup folders and figured the database should naturally be recognized.

    Thus.. when logging into my cpanel, abandonedplaygrounds.com will not load – nothing, not even a try.

    I searched for old articles through google to try and open the site from there but nothing, google would not even try to load the site.

    After many failed attempts and trying to fix my problem, I read the Caching plugins might cause this. I was using W3 Total Cache but after not being able to find any relation in about 50 wordpress pages of code, I gave up as there seems to be a LOT more to go through.

    Ultimately, this morning, I decided that since neither will work, I may as well continue in the direction I wanted – wuhwild.com

    I put the primary domain back to wuhwild, redirected abandonedplaygrounds to wuhwild, reinstalled wordpress from scratch while my old files are back in a backup folder.

    Everything looked good. WordPress was working, the site was loading.

    I uploaded my theme. Works.

    Here is the problem:

    When I upload my SQL, wp-admin logs me out and wuhwild goes blank as not even Google will load the site.

    I took a screen shot of the tables before uploading the original sql and then I compared after uploading. Everything is similar but no success.

    So I have a website with 350 articles, having been featured on weather.com, mlb.com and others… and a rather large following – all put to nothing because I wanted a .com change.

    What in the world can I do???

    Thread Starter thelackof

    (@thelackof)

    FINALLY.
    Went into sql and changed ANYTHING that said abandonedplaygrounds to wuhwild
    It wasn’t until I reached wp_NAMEoptions and changed siteurl that finally wp-admin, css, images and all finally worked as should.

    Thank you for the help

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WordPress Not Recognizing New Domain WHM?’ is closed to new replies.