Override the url in wordpress wp-options database.
I typically do all my coding in a development sandbox, but with wordpress I was having trouble with the url settings. My local development environment had a url of http://dev/gh, but the public url is greghostetler.com. So once I changed the url in the wordpress wp-options table I could no longer access my local environment, because it would redirect to the public url.
The url in the options table can be overridden in the wp-config file on my dev environment.
define('WP_SITEURL', 'http://dev/gh');
This entry was posted
on Wednesday, February 18th, 2009 at 5:37 pm and is filed under Wordpress.
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.













That’s a nice little tip. Wordpress is pretty intricate. ttyl bud.
Hey, by the way, you need to get the “Subscribe to Post” plugin. I think that’s what it’s called. So I can get emails when others comment on a post that I’m subscribed to. That basically makes every post into a discussion, not a drive by “Hey thanks for the info” or whatever.
I added the plugin. That’s a pretty cool plugin.
You’re a genius