WP_SITEURL in config doesn't override wp_options setting (1 post)

  1. lornajane
    Posted 7 years ago #

    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 :)


Topic Closed

This topic has been closed to new replies.

About this Topic