WordPress.org

Forums

Shorten image URLS by removing /wp-content/uploads/ (1 post)

  1. gerberto
    Member
    Posted 1 year ago #

    Hi – I am trying to hide or shorten the URL of files or pictures uploaded to the /wp-content/uploads/ folder.

    By default in WordPress if you upload an image, pdf, etc and insert it into a post or page it will have a link like this:
    "http://www.mysite.com/wp-content/uploads/2013/05/picture.jpg"

    I would rather the URL looks like this:
    "http://www.mysite.com/2013/05/picture.jpg"

    Is there a plugin or some hack that will let me hide the "wp-content/uploads" from showing up in my urls?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic