Google Chrome will not show PDF files
Posted: Mon 24. Feb 2020, 19:09
Hi,
I suddenly experience a problem when I want to open PDF files from my websites made with CMSimple using Google Chrome
When I use Google Chrome and have a link to open a PDF file in a new window it opens the window and show the filename of the PDF file but it does not show the content.
First I thought that the problem was because my websites were http and not https
But then I added:
#Rewrite everything to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
to the .htacces file which change it to https
But it still will not show the content of the PDF files.
When I use IE, Edge or Firefox there are no problem.
I hope someone can help here
Br
Valmin
I suddenly experience a problem when I want to open PDF files from my websites made with CMSimple using Google Chrome
When I use Google Chrome and have a link to open a PDF file in a new window it opens the window and show the filename of the PDF file but it does not show the content.
First I thought that the problem was because my websites were http and not https
But then I added:
#Rewrite everything to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
to the .htacces file which change it to https
But it still will not show the content of the PDF files.
When I use IE, Edge or Firefox there are no problem.
I hope someone can help here
Br
Valmin