Changing The Site URL in Wordpress

Changing The Site URL

The code will work in the wp-config.php file if you happen to get locked out of the admin.
Happens a few times here and there. Just put this is at the starting code of thw wp-config file in
your wordpress home directory.

define(‘WP_HOME’,'http://example.com’ http://example.com%27);
define(‘WP_SITEURL’,'http://example.com’ http://example.com%27);


Dwayne Myers
Web Designer/Developer
386-307-4289
DreamDrivenDesigns.com


  • WordPress
  • Yahoo Messenger
  • LinkedIn
  • Google Reader
  • Blogger Post
  • Facebook
  • Share/Bookmark

Tags: , , , , , , ,


This entry was posted on Monday, January 4th, 2010 at 10:52 am and is filed under Wordpress Tutorials and Tips. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply





  • « Older Entries
  • Newer Entries »