Can’t edit site URL
-
I am not able to edit the site or home URLs in the WordPress admin area as they are grayed out. I did some research and was told that I could edit the wp-config file and change it. I did it the same way the tutorials said and it breaks the website every time. If anyone has any insight it would be greatly appreciated.
Currently the config file reads:
define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/wordpress'); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/wordpress');
I was told to change it to this:
define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com');
but when I do that the site breaks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Can’t edit site URL’ is closed to new replies.