[wp-hackers] Why hard-code the base URL (and directory)?
nanogwp at gmail.com
Mon Mar 12 09:35:21 UTC 2012
My advice - don't go there. You're about to open a can worms with which
the core developers disagree with a large majority of the community.
Hey - it's there product, not ours I guess.
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Hydrostarr
> Sent: 11 March 2012 16:20
> To: wp-hackers at lists.automattic.com
> Subject: [wp-hackers] Why hard-code the base URL (and directory)?
> Why does WordPress hard-code the base URL and directory? (Both are
> hard-coded in back-end database.) Why not leave this up to Apache
> mappings in my Linux installs, making all references to paths (either in
> URL/web space or filesystem space) relative? This seems to be how may
> other web apps in my server installs do it.
> Makes it difficult to port/test/demo installs/sites modularly. eg, when
> demo-ing multiple, independent revs of same site to client, like in:
> Details: http://goo.gl/ldbkI
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers