[wp-hackers] absolute URLs in plug-ins and custom types

Mohammad Jangda batmoo at gmail.com
Fri Jul 6 14:45:05 UTC 2012


> I solved this with a small plugin that uses output buffering and
> search/replace. It is aware of alle the servers (dev/testing/live) and
> fixes all URLs. Together with multiple config-files included based on
> HTTP_HOST i can move around my Wordpress-blogs without touching anything.

Two other resources on this approach:

http://scotty-t.com/2012/01/18/wordpress-in-dev-qa-and-prod/
https://gist.github.com/1636304


More information about the wp-hackers mailing list