Forums

[resolved] SiteURL gray after upgrade to 301 (2 posts)

  1. word-wiz
    Member
    Posted 1 year ago #

    Hi,

    I set the the following in wp-config.php in version 2.9.2 and forgot to remove it before upgrading automatically to verson 3.0.1.

    define('WP_SITEURL', 'http://mysiteurl.com/wordpress');
    define('WP_HOME', 'http://mysiteurl.com/');

    After the upgrade to 3.0.1 the WordPress address (URL) and Site address (URL) boxes are grayed out in General settings but the 2 lines above are not in wp-config.php. To ungray them I would normally remove those 2 lines. Can anyone give me some advice as to where to look to remove references to these URLs and make them editable again via General Settings. (Also the website root in the browser ends with a double "//" which may well be related.)

    Thanks

  2. word-wiz
    Member
    Posted 1 year ago #

    For some reason I had put the 2 define lines in the themes function.php file. Once removed all is good and the "//" problem has gone.

Topic Closed

This topic has been closed to new replies.

About this Topic