[wp-hackers] Isn't it a problem for WP that it is so strictly attached to a specific domain?

Bryan Petty bryan at ibaku.net
Fri Feb 22 07:55:32 UTC 2013


On Thu, Feb 21, 2013 at 7:36 PM, William P. Davis <will.davis at gmail.com> wrote:
> You shouldn't, for example, be storing full absolute paths of any file in the db.

You shouldn't store a full, absolute URL to anything in the DB for the
same reasons, unless it's an external resource, and even then,
software like Trac and MediaWiki have intertrac/interwiki links for
the most common ones. It can always be generated on the fly for
various purposes such as RSS if necessary. A good S3 plugin wouldn't
store absolute URLs for resources either.

However, this is a very pointless discussion since I have seen this
debated ad nauseum, and there's nothing new anyone can add that would
change the core teams' decision to stick with the way WordPress has
historically always referenced resources in posts, pages, and other
various locations. It doesn't matter how much more flexible WordPress
could be in various development and production configurations, that's
just the way it is. If this bothers anyone, don't use WordPress.

-- 
Regards,
Bryan Petty


More information about the wp-hackers mailing list