[wp-hackers] Site Address during development

Nathaniel Taintor goldenapplesdesign at gmail.com
Sat Sep 4 01:35:38 UTC 2010

Another point to consider, in support of the idea of using a shortcode in
place of full url's in post content etc, is that some plugins filter urls
before displaying them. I'm working on a multilingual site right now and
using the qTranslate plugin, which rewrites urls based on the users

Presumably a [url] shortcode - or some other similar solution - would either
be filtered through the bloginfo_url filter, or have its own filter attached
to it, that could be hooked into for edge cases like this. The only way of
doing this now is searching through all the output for anything that matches
a url in some way, and checking whether or not it needs to be filtered. Not
very efficient.


On Fri, Sep 3, 2010 at 9:14 PM, Lynne Pope <lynne.pope at gmail.com> wrote:

> I disagree with those who say this is an issue for only a small number of
> users. If it was, then there would not be over 7 million results in Google
> for the search, "WordPress changing domain names" and 4.4 million on how to
> change domain name. There's a further 1+ million on "wordpress change site
> url database". Assuming these entries have all been written to pass on
> knowledge learned/meet a need, then it's reasonable to assume there are a
> lot of largely-unskilled people messing around with their databases.
> Also consider the support forums: http://wordpress.org/tags/domain - a LOT
> of those cries for help may not have happened if users only had to make a
> change to their domain from their admin settings.
> I'm convinced that providing a simple, bullet-proof way for people to do
> this would result in a better experience for all users.
> I'm not convinced that using wp-config.php is the way to go. It might be
> the
> easiest to implement but relative URL's have their own sets of problems and
> apart from feeds, their use is limited where users do not have the ability
> to use htaccess files. Arguing that other CMS use relative URL's with the
> domain set up in config overlooks the issues users have with those.
> Lynne
> _______________________________________________
> 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