The attachment is opened with a link like this 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
Thanks
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 😉
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 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, 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.