Title: Attachments do not open
Last modified: August 31, 2016

---

# Attachments do not open

 *  Resolved [Massimo De Maio](https://wordpress.org/support/users/demaiomassimo89/)
 * (@demaiomassimo89)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/attachments-do-not-open/)
 * Hello,
    I have problems with attachment viewing, tells me that contain errors
   and do not open them.
 * [https://wordpress.org/plugins/awesome-support/](https://wordpress.org/plugins/awesome-support/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Massimo De Maio](https://wordpress.org/support/users/demaiomassimo89/)
 * (@demaiomassimo89)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/attachments-do-not-open/#post-7260600)
 * The attachment is opened with a link like this [http://www.mysite.it/?wpas-attachment=8272](http://www.mysite.it/?wpas-attachment=8272),
   but says that the file can not be opened because it contains errors.
    I read 
   a few days ago that ticket could be the .htaccess file, but do not understand
   how I can change it. My file is [http://pastebin.com/FR4qjti1](http://pastebin.com/FR4qjti1)
 * Thanks
 *  [jankre](https://wordpress.org/support/users/jankre/)
 * (@jankre)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/attachments-do-not-open/#post-7260643)
 * It was my ticket with the .htaccess problem.
    Do you use a .htaccess protection
   for your site? If yes, the solution is to set a new .htaccess in the upload folder
   from wordpress with the code you can see in my ticket. If now, you have another
   problem 😉
 *  Thread Starter [Massimo De Maio](https://wordpress.org/support/users/demaiomassimo89/)
 * (@demaiomassimo89)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/attachments-do-not-open/#post-7260650)
 * Nothing, I tried also to upload a new .htaccess for uploads but does not work.
   The problem for me is that the attachment is opened with the link as [http://www.mysite.it/?wpas-attachment=8272](http://www.mysite.it/?wpas-attachment=8272)
   and so does not work.
 * If I go into the media folder I find another link for the same attachment that
   is like [http://www.miosito.it/wp-content/uploads/awesome-support/ticket_8271/Immagine2.png](http://www.miosito.it/wp-content/uploads/awesome-support/ticket_8271/Immagine2.png),
   and so if I manually copy it in a browser , the attachment will open and display
   properly.
 * They are two different links, the attachment should not be opened with the second
   link? The real link is the second.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Attachments do not open’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Massimo De Maio](https://wordpress.org/support/users/demaiomassimo89/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/attachments-do-not-open/#post-7260650)
 * Status: resolved