Support » Fixing WordPress » WP_SITEURL in config doesn’t override wp_options setting

  • I want to set my siteurl in a config file (because I deloy this to dev and live areas and its easier to have the configs in a file). I read the codex instructions about setting up the wp-config.php file, however my stylesheet (for example) is still using the database setting even when I add:

    define( ‘WP_SITEURL’, ‘http://localhost/pce/blog’ );

    To the bottom of my wp-config.php. Am I missing something or is there something else I could try? Any suggestions very gratefully received 🙂


  • The topic ‘WP_SITEURL in config doesn’t override wp_options setting’ is closed to new replies.