Google Chrome will not show PDF files

CMSimple 4.0 und höher
Post Reply
valmin
Posts: 13
Joined: Tue 21. May 2013, 14:11

Google Chrome will not show PDF files

Post by valmin » 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

Gert
Posts: 1361
Joined: Sun 18. Nov 2012, 14:18

Re: Google Chrome will not show PDF files

Post by Gert » Mon 24. Feb 2020, 19:51

Hi Valmin,

I can not reproduce that problem. For me it works, also with Chrome. Try this, the link right bottom opens a pdf in a new tab:

https://www.ge-webdesign.de/demotpl/?Te ... _pdf_Datei

Maybe you have a dirty popup-blocker or similar software active in your Chrome ;)

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

Post Reply