• Resolved supercain2

    (@supercain2)


    Hi,

    I copied my entire site from myexample.com to myexample.org first by using Duplicator plugin but it didnt go well since it gave me encoding errors so I did it manually but now whenever I try to access the new URL it sends me back to the old one. It happens only with myexample.org or myexample.org/index.php since pages such as myexample.org/posts myexample.org/archive and so on work fine.

    I tried by changing the database values in home and siteurl but no use. I even deleted the htaccess and still no use. Why is this happening?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello supercain2. Often this type of behavior occurs because of caching. This is especially true if the servers have different DNS.

    There are generally 3 types of caching that may be involved–your computer’s dns caching, your browser cache, and serverside caching.

    Because you don’t tell us what browser or operating system you’re running, it’s very difficult to provide instructions. You should definitively clear any serverside caching you may have in place, either via a WordPress plugin or through facilities like Memcache or Redist.

    If the site changed DNS, then sometimes it’s just a matter of waiting for the computers around the world to get that news and the situation will sort itself within a few days at most. It might be helpful to go to a DNS resolver site like Google (https://dns.google.com), enter your new URL, and see if the DNS resolves.

    Each browser has its own particular set of instructions to clear the cache–the keyboard shortcut ctrl+shift+delete works on many of them.

    Sometimes your computer caches DNS queries as well, and these need to be cleared in order to get the new site. That’s usually done either via an IPconfig or IFconfig command, as in ipconfig /flushdns. But again, it differs between operating systems.

    You should also consider doing a search-&-replace of your database, making sure that your old URL is replaced w/your new 1. Back up your database prior to doing so, please.

    If you’re using any type of caching plugin, then please ensure that all caches are empty. Also clear any serverside caching that might be in place.

    DNS can be a tough subject to understand, so don’t hesitate to ask if you have questions. Actually, caching can be a tough subject as well, so please ask if any of this feels hard.

    Please let us know.

    Thread Starter supercain2

    (@supercain2)

    Hi,

    thank you for your kind reply. I dont think its a DNS issue since its a different domain in a different server that was working fine before doing the migration. In fact, it did well when I first migrated with Duplicator but I have to delete everything and do it manually because Duplicator made a copy of the database with the wrong encoding. I have no caching plugings either and I searched the database thoroughly for any remnants of the old URL but there is none. What else can I do?

    Im using firefox but the issue is there regardless of the browser.

    Thank you.

    Supercain2, it would be really really really (did I mention really?) helpful if you’d provide links, to at least the website you’re having trouble with. It would allow us to see whether or not we can replicate this, &, using developer tools, perhaps see what’s going on behind the scenes networking-wise.

    Is your old domain still up? What is its url also?

    I think that’s all I have until I get your reply. Then we can do a bit of investigation & see what we can come up with.

    Thread Starter supercain2

    (@supercain2)

    Hi,

    seems like it was a problem with my browser all along. Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘After migration, indexpages still redirects to old URL’ is closed to new replies.