WordPress.org

Ready to get started?Download WordPress

Forums

URL to automatically download attachment by id (1 post)

  1. Josh Carr
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic