Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Help with Wordpress and Safari

Hi guys,

I'm currently setting up a WordPress site for a friend and it works perfectly in IE, Firefox and Chrome as well as mobile browsers. However, when I visit it using Safari, I can visit each page once and then if I try to return to any page it tries to download the page as a .gz file rather than opening the page.

Can anyone explain why this is happening?

The site is https://www.euro-beanbags.co.uk

p.s. I'm aware there are some CSS issues to fix in safari as well.

p.s.s. Additional information, it's running with a CDN (Cloudflare) and using their shared SSL. I've tried disabling all plugins and reverting back to the standard theme and still have the issue. I've also tried turning off the SSL and reverting to normal http but the issue still persists.

Any help is much appreciated!

2 Answers

In case anyone comes across this, it was a line in the .htaccess file forcing wordpress to use https that was causing the problem.

There is something more going on with that site. It can not be viewed on Mac OS. I would review to see if you added any code to the site that might not be there. sorry, but I can not visit the site to help you.

Is that just using Safari though? When you say it can not be viewed what is it doing?

it is simply downloading a file. on all browsers.

Yea that's the same problem I'm having when I use Safari on the PC. However it works in Chrome, FireFox and IE in Windows 7, 10 and Ubuntu Linux. So it's something causing an issue with Apple products it seems. No clue what though...

I agree, I have no idea way as well.

Hi Jacob,

If it's not too much trouble could I ask you to check the site again please and tell me if it works now?

Thanks very much!