Forum
SSL Mixed Content
Hi,
Following on from my last post I've a quick question before I migrate my site to HTTPS.
I use the perch navigation on this site and when I hover over a link in the main navigation I see "www.colconquerors.com/about-cc.php" or "https://www.colconquerors.com/about-cc.php" when I copy the link. When I change to HTTPS does something need to change so that these links are seen as https and avoid the dreaded mixed content warnings?
Thanks in advance. I'm trying to make sure I have no issues with this as it's my personal business.
Look forward to hearing from you.
Regards
Rob
Perch: 2.8.18, PHP: 5.6.35, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.18), assets (2.8.18), categories (2.8.18), perch_blog (5.0), perch_mailchimp (2.0.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_mailchimp', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /homepages/30/d205476839/htdocs/colconquerors/colconquerors2011/perch
PERCH_CORE: /homepages/30/d205476839/htdocs/colconquerors/colconquerors2011/perch/core
PERCH_RESFILEPATH: /homepages/30/d205476839/htdocs/colconquerors/colconquerors2011/perch/resources
Image manipulation: GD
PHP limits: Max upload 64M, Max POST 64M, Memory: 256M, Total max file upload: 64M
Resource folder writeable: Yes
HTTP_HOST: www.colconquerors.com
DOCUMENT_ROOT: /kunden/homepages/30/d205476839/htdocs/colconquerors/colconquerors2011
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Thanks in advance
Quick update on this.
When I look at other sites main navigation all of the primary links are set to https when hovered over as on this site for example:
https://www.alpcycles.com/
Look forward to hearing from you.
Regards
Rob
If you view source, is the
https://
hard coded in the page, or is the browser inferring it from a relative URL?Hi Drew,
Thanks for getting back to me quickly.
It's as follows so I think inferred from a relative URL?
Here's the HTML:
I'm using the perch_pages_navigation as follows which I'm guessing generates this?
Looks fine. If you want to test locally first, you could spin up an ngrok tunnel with SSL enabled.
Okay so you would think this will become https once I've activated the certificate?
What scenario are you thinking of where it wouldn't ?
Sorry for the delay in my reply Drew.
I was thinking it's not ideal if the links in the main navigation send people to other pages via the 301 redirect. In honesty I just want to make sure that I don't run into a lot of unexpected challenges going forwards with this.
Hopefully all is well but I'll be in touch in a couple of weeks time if I need any help when I do the switch.
Thanks again for the superb support and especially the speed of reply.
Cheers
Rob