[wp-hackers] Site Address during development
Gavin Pearce
Gavin.Pearce at 3seven9.com
Thu Sep 2 15:33:22 UTC 2010
Sorry Rich/Otto missed that - in that case why doesn't WordPress core
just use the wp-config.php or admin area settings when building the URL
within feeds?
--
If it helps, I often use this in my wp-config.php for quick wins when
changing URL's often:
define('WP_HOME', $_SERVER['HTTP_HOST']);
define('WP_SITEURL', $_SERVER['HTTP_HOST']);
But obviously this only works if you run you're site at the top (host)
level (and not in a sub-folder).
Gav
-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Rich
Pedley
Sent: 02 September 2010 16:19
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] Site Address during development
On 02/09/2010 16:08, Gavin Pearce wrote:
> Rather than having to bodge a solution, what's the odds of WordPress
> core using relative URLs?
>
> Is there a reason why it doesn't?
yes and it has been answered in this very thread.
one example given, IIRC, was RSS feeds.
Rich
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list