Full domain in links and everything?
-
I’ve always wondered why this is. Why WP puts the *entire* fully-qualified URL in each and every reference to a file, post, page, or anything else. Basically, every single href and src attribute contains the full “https://www.mysite.com”.
I’m sure there’s a reason, but for a site that consists of only one url, this is not neccesary, and bloats the html.
More importantly, fully-qualified urls are hardcoded in the content of pages and posts. That makes it a pain in the rear to deploy site+database from staging/test/accept environments to the live environment.
So my question is: why is this?
Secondary question that I feel coming up: how to disable this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Full domain in links and everything?’ is closed to new replies.