bloginfo('stylesheet_url') no good for local development
-
I’m developing wordpress sites on my localhost, but my development database & test/dev web server is on another IP.
I’m using the define(‘WP_HOME’,’localhost’) & define(‘WP_SITEURL’,’localhost’) hack in wp-config.php to correct the urls for running the site locally which works fine.
Problem is, is that php coded stuff like: bloginfo(‘stylesheet_url’) & bloginfo(‘template_url’) seems to still use the siteurl in set in the database.
How do i get everything other than the database connection to run locally?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘bloginfo('stylesheet_url') no good for local development’ is closed to new replies.