WordPress.org

Support

Support » How-To and Troubleshooting » URL to automatically download attachment by id

URL to automatically download attachment by id

  • I’m looking to create a straight up URL that can automatically download an attachment by ID. I already have a way to produce this URL:

    http://domain.com/?attachment_id=193

    I’m hoping that I can append some extra query at the end of the attachment id to just download the attachment instead of going to the attachment page.

    Is that possible?

  • The topic ‘URL to automatically download attachment by id’ is closed to new replies.