Opened 8 years ago
Closed 8 years ago
#37723 closed enhancement (duplicate)
Media Library to use Relative and not Absolute URL links
Reported by: | lukecavanagh | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
Any chance of trying to have the media library use relative instead of absolute url's. So the link when an image is inserted in a post or page just uses the upload url path, then the root url comes from the set site url in the options db table. So then you can change the site url, without all of the image links breaking and not having to run a find and replace on the site db.
Change History (4)
#2
@
8 years ago
@ocean90 I get that, but is ticket https://core.trac.wordpress.org/ticket/17048 not worth looking at again.
Note: See
TracTickets for help on using
tickets.
Using absolute URLs is a design decision, see https://make.wordpress.org/core/handbook/contribute/design-decisions/#absolute-versus-relative-urls.