Why are siteurl and home URIs stored in the database?
-
Why are the URI’s for siteurl and home stored in the database in the first place? Why shouldn’t it be possible for WordPress to determine the hostname at runtime? Then, you could simply specify the document root-relative path to WP and the blog home.
In this document:
http://codex.wordpress.org/Changing_The_Site_URL
the page goes on at length about having to muck in the SQL source to search and replace the old siteurl with the new url.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Why are siteurl and home URIs stored in the database?’ is closed to new replies.