• Resolved hendrikv

    (@hendrikv)


    I migrated a WordPress website to another host and a new url. But the website keeps forwarding automatically to the old original url. Even 3 day’s after the migration. I even can’t acces the WP dashboard of the new site because of this forwarding. I checked everything I could but couldn’t find the culprit:

    • The WP config file doesn’t content any url (and so definitly not the old url).
    • In the MySQL database the ‘siteurl’ and ‘home’ fields are pinpointing correctly to the new url.
    • And when I install a local copy of the original site (using a WordPress development software tool like ‘Local’) I encounter the same problem and no way to acces the local url or local WP dashboard because I’m immediately forwarded to the old url.

    What could be the problem? Thanx in advance for any solution!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter hendrikv

    (@hendrikv)

    I updated the WP config file of my new site with code that specifies the new url. Like this:

    define('WP_HOME','https://www.example.com');

    define('WP_SITEURL','https://www.example.com');

    That did the trick! ??

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.