Title: Does it support: post_type=attachment
Last modified: April 9, 2018

---

# Does it support: post_type=attachment

 *  Resolved [ugotta](https://wordpress.org/support/users/ugotta/)
 * (@ugotta)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/does-it-support-post_typeattachment/)
 * There may be a need for random attachment image.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/does-it-support-post_typeattachment/#post-10164222)
 * It [supports only post_type that have their attribute has_archive set to true](https://chattymango.com/redirect-url-to-post/redirect-url-to-post-syntax/#Search_Parameters).
   I think that is not the case for attachments. So you could try to modify that
   attribute and see if that helps.

Viewing 1 replies (of 1 total)

The topic ‘Does it support: post_type=attachment’ is closed to new replies.

 * ![](https://ps.w.org/redirect-url-to-post/assets/icon-256x256.png?rev=1742449)
 * [Random Post Plugin - Redirect URL to Post](https://wordpress.org/plugins/redirect-url-to-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirect-url-to-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirect-url-to-post/)
 * [Active Topics](https://wordpress.org/support/plugin/redirect-url-to-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirect-url-to-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirect-url-to-post/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Christoph](https://wordpress.org/support/users/camthor/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/does-it-support-post_typeattachment/#post-10164222)
 * Status: resolved