I changed my domain name and now WordPress is redirecting to the old domain

WordPress uses your domain name in it's settings, so it must have your correct/current domain name for the "Site URL" in "General Settings" to work properly.

If you change your domain name, WordPress will continue trying to use the old domain, so you will be redirected to the old domain when entering the new domain if you do not update the "Site URL".

You can reset the URL using the following WordPress article:http://codex.wordpress.org/Changing_The_Site_URL

  • 50 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Bots hitting xmlrpc.php and causing a high load

Due to a security issue in earlier versions of WordPress that allowed posting from xmlrpc.php,...

Caching plugin for WordPress?

  Since we use LiteSpeed Web Server, we recommend using the LiteSpeed Cache plugin....

Can I use the WordPress command line interface or WP-CLI?

Yes! The WordPress command line interface or better known as WP-CLI is installed by default on...

Changed theme and now cannot access WordPress site or wp-admin

If your theme has an issue and WordPress only shows a blank (white) page and you need to change...

High resource usage from /wp-admin/admin-ajax.php

If you are seeing a high amount of resource usage due to /wp-admin/admin-ajax.php, it could most...