Forum Moderators: open
Sorry for my english.
I've got an asp file in a server that don't support asp or php ( i know it's stupid but i can't change the extension now, it's about the french serps competition ).
So google think it is an application/octet-stream file, my question is :
Can i force the content-type to be text/html and not application/octet-stream.
I added the meta :
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
but nothing have change.
Have you got any solutions?
Thanks a lot.
Eric :)
If I understand correctly, the file has the extension .asp, but it is a pure HTML file? If you are on a server running Apache, try adding the following line to the .htaccess file in your document root:
AddType text/html .asp That should make all files with the extension .asp be served with the mime-type text/html.