After changing one of the URLs in my website settings, a 404 error
-
After changing one of the URLs in my website settings. Immediately I was kicked out, met with a 404 error, as well as not able to log back into the admin settings.
The blog I need help with is: (visible only to logged in users)
-
Hello Jordan,
I’m sorry you got locked out. In WordPress, these two URLS settings must be correct and consistent. If either is wrong (wrong domain, missing
www, wrong protocolhttp/https, typo), WordPress will redirect incorrectly → locking you out.To fix this you need to access your wp-config.php file and add these lines above: /* That’s all, stop editing! */
define(‘WP_HOME’, ‘https://yourdomain.com’);
define(‘WP_SITEURL’, ‘https://yourdomain.com’);Save the file and refresh you site.
-