WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 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 @lukecavanagh
3 years ago

@ocean90 I get that, but is ticket #17048 not worth looking at again.

Last edited 3 years ago by SergeyBiryukov (previous) (diff)

#3 @swissspidy
3 years ago

#34609 was marked as a duplicate.

#4 @swissspidy
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

@lukecavanagh It would be more appropriate to continue discussion on #17048 instead of opening another ticket about the same thing.

Note: See TracTickets for help on using tickets.