How to Get the URL for a Media Upload in WordPress
Last Modified: October 29, 2024
(Rev. v2.0)
by Ryan T. M. Reiffenberger
This guide will teach you how to retrieve the permalink URL that is generated by WordPress for a file upload if you wish to reference it within, or outside of your WordPress install.
- Log into WordPress
- Go to Media > Library
- If you have not already, make sure you have uploaded your file.
- Click on the media item you want to retrieve the URL for.
- Click on ‘Copy URL to clipboard’