WordPress.org

Ready to get started?Download WordPress

Ideas

Remove domain name from media upload urls and internal links

  1. ImajWorks
    Member

    12345

    When a user uploads a media file to a post/page, the full url is included. When a site owner changes domain names, this requires a full search and replace in the database - this isn't something that a typical end-user would know how to do or feel comfortable doing.

    Images uploaded through the media library and inserted with the media upload button into a post or a page should drop the domain name from the url, ie: "/wp-content/uploads/11/2014/image.jpg," so that when transferring the site's content to a new domain name, there are not broken links all over the content.

    Posted: 8 months ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    There are plugins that can do this, and this is not the first time this has been proposed.

    At this time, there are no plans to introduce relative URLs, as it would over complicate moving WordPress, changing URLs, multisite, and moving the wp-content folder.

    Posted: 8 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    Sorry, not right now