Hi,
Variables like get_bloginfo('stylesheet_url') get the domain that is defined in the database. How can i change variables like this to rather get the domain info from $_SERVER['HTTP_HOST']; ?
Hi,
Variables like get_bloginfo('stylesheet_url') get the domain that is defined in the database. How can i change variables like this to rather get the domain info from $_SERVER['HTTP_HOST']; ?
Hi,
Have a check with this:
http://codex.wordpress.org/Function_Reference/get_bloginfo#Blog_Title
Thanks,
Shane G.
This information is not related to my problem.
In wp-config.php, add the following line:
define('WP_HOME', 'http://e' . $_SERVER['HTTP_HOST'] . '/wordpress');
Did not work.
There shouldn't have been an e in there
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress');
If it's not working, maybe try reading the codex?
I noticed the e and removed it, but it did not work. I have looked in the codex, but there is nothing in there. Not that i could find anyway.
Thanks for your reply.
Thanks, i had missed that one :)
This topic has been closed to new replies.