#34741 closed defect (bug) (duplicate)
Don't store the domain or the path in the database
| Reported by: | illustir | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
I'm in the process of moving a wordpress site and I'm running into this. Storing full URLs in the database is a terrible practice and should be considered a bug.
URLs should be constructed from their respective components based on the site's settings.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This has been discussed at length in #32639 and #17048, also see https://make.wordpress.org/core/handbook/contribute/design-decisions/#absolute-versus-relative-urls.