If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Wordpress checks to make sure your running on from the proper site location. Problem is sometimes you just need it to run.
ex: wordpress runs at elsid.net, admin runs at admin.iamsid.net
Or you run both your development and production version of wordpress from the same db
edit the get_option function in the functions.php file in the wordpress includes folder
replace :
function get_option($setting){
global $wpdb;
with
function get_option($setting){
global $wpdb,$_SERVER;
if(strpos(”siteurl|home”,$setting)!==false){
return “http://”.$_SERVER[’HTTP_HOST’];
}
you could use the update option function, but it adds unneeded overhead
Might Be Related




