I'm having a little problem with a wordpress installation. Basically, I have two servers: test.dev and staging.dev.
Set up (using the hosts file) and I've just copied the test.dev WordPress installation over to the staging server. Works brilliant on my computer but on someone who doesn't have test.dev none of the CSS or images load. I looked into it and every path is still referencing test.dev. I have this function in functions.php:
function route_static_path($path)
{
echo get_template_directory_uri()."/".$path;
return true;
}
I thought the value for get_template_directory_uri() might be set in wp-config.php but it's not. I'm really confused as to where this is coming from.