• WordUpHey

    (@worduphey)


    I copied a WordPress site and created a test site version of it on another host. The navigation on the homepage of the live site are now redirecting to the test site. Any idea what could cause this? The original site is hosted on GoDaddy but the test site is not. I have not edited the original site.

Viewing 11 replies - 1 through 11 (of 11 total)
  • wpfan1000

    (@wpfan1000)

    Moving a WP site is not a trivial task.

    Please take a look at some of the first results in this search and double check that you have done everything necessary.

    https://startpage.com/do/search?cmd=process_search&cat=web&query=moving+a+wordpress+site&language=english&no_sugg=1&ff=&abp=-1

    Eg: https://www.smashingmagazine.com/2013/04/08/moving-wordpress-website/

    As for the menu items, they could have the full URL to the old site, and you will need to update them.

    Hope this helps.

    Thread Starter WordUpHey

    (@worduphey)

    Thanks, the move appeared to be fine and the links changed later.

    The Old site is redirecting to the test site, although the Old site has not been changed. I want the old site to display links to its own pages and not to the test site. The test site is only for testing.

    If I type in the address to one of the pages on the nav I get a 404 error as if it doesnt exist. If I click the link instead it goes to the test page. They are connected somehow.

    WPyogi

    (@wpyogi)

    Are you trying to use the same domain name on both hosts?

    Thread Starter WordUpHey

    (@worduphey)

    They are completely different. One is nameofsite.com and the other is site.differentsite.com.

    GoDaddy

    (@godaddy)

    That sounds really strange. I can’t think of anything off the top of my head that would do that from our end. Would you feel comfortable sharing the domain here so we can take a look? Otherwise, you can also send us a private message on our Facebook page or follow to DM us on Twitter. ^Jesse

    https://www.facebook.com/GoDaddy

    Brett

    (@bdeaton108)

    @worduphey

    When you login to the new site, does it take you to the new site? When you copied over the database, did you change any values to reflect the new domain?

    Thread Starter WordUpHey

    (@worduphey)

    GoDaddy – I followed you guys on Twitter and tweeted you guys with this link but I have heard back yet.

    Thread Starter WordUpHey

    (@worduphey)

    Brett –

    When I login to the original site it takes me to the original site.

    When I put everything on the test site I updated the values to reflect the test domain. The test site works ok and all the links & nav point to the correct place on the test site.

    On the original site it the nav directs me to the test site almost as if they are linked in some way. If I type in the correct page like site.com/ page it get a 404 error like it doesn’t exist. I also noticed that if I activate or deactivate a plugin on the test site it changes them on the other site. These sites are on completely different hosts with completely different domain names.

    GoDaddy

    (@godaddy)

    Sorry. What was the user name that you used. I’ll be able to find the message if you provide that. ^Jesse

    GoDaddy

    (@godaddy)

    Thanks for reaching out via Twitter. It’s still a pretty puzzling issue. It sounds like both databases are synchronizing somehow. Here’s what I’d suggest:

    1. Make a backup of both sites (I’d suggest manually saving website files and exporting a copy of the database via phpMyAdmin).
    2. Disable the backup plugin you used (both sites).
    3. Try updating the menu on your primary site to point to the correct URL for one of your menu items. You mentioned seeing a 404, but I was able to access the main site using the correct URL.
    4. If the menu stays the same on your development site, you’ll know it’s the plugin that was causing the issue.

    If the menu changes on your development site, then there’s still something else linking them. At that point I’d suggest trying to change the database password for your primary site (support can help with that) to see if that breaks the connection. You can test if it did by using the same method described above.

    Once you figure out how to disconnect the databases, you can then work on updating the current site to change all your URLs back. There are tutorials online that explain how you can do this using plugins or phpMyAdmin to make the process faster. Hope that helps. ^Jesse

    Brett

    (@bdeaton108)

    @worduphey

    What I think it is, is there are values in the Database that have not been updated. You may have updated the Site Name and Blog Address in the database, but that does not update values for the rest of the tables.

    My suggestion, and you should back up the database before trying this…

    Go to the new site and install a plugin: Find and Replace by Frank, Inpsyde GmbH.

    I created a video over a year ago that walks a person through using this plugin. The video can be found here: https://vimeo.com/68300949. Fast forward until 11:29. Follow the steps and report back.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Current site redirecting links to test site – GoDaddy’ is closed to new replies.