• Home
  • Get help
  • Ask a question
Last post 12 hours 18 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67837
All time tickets 10483
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2595 – Duplicate HTTP and HTTPS content

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 09 August 2016 12:19 UTC
JDDiscount
 Hi,

I've getting the following warning when running my site through Website Auditor.

You have duplicate HTTP and HTTPS content on your website. You can correct this by setting up the primary HTTP or HTTPS versions of your pages in the .htaccess file, or using the rel="canonical" tag.

My website is http://www.xxxx.com but I can also access it via https://www.xxxx.com. How do I setup a canonical tag on all pages to the http version, Thanks.

John
Tuesday, 09 August 2016 12:22 UTC
wb_weeblr
Hi

sh404SEF is only in charge of decoding and building the SEF URLs, it does not process the domain part of any URLs; That's done by Joomla. Joomla has a setting for HTTPs, on the "Server" tab of its configuration. You can select to force HTTPs or not.

You should not use canonical, just make sure anyone accessing your site though HTTP is redirected to HTTPS, with the Joomla setting.

Rgds
 
Tuesday, 09 August 2016 12:40 UTC
JDDiscount
Ok, thanks

I will check these settings.

Kind regards

John
Tuesday, 09 August 2016 12:43 UTC
wb_weeblr
Hi

I will leave this ticket open in case you need to add something. It will automatically close in 2 weeks, if not further comment is made.

Best regards
 
Wednesday, 24 August 2016 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.