Auto-Nav and HTTPS

Permalink
I haven't got a lot of experience with SSL and my client is having an issue with duplicate content being generated when the Auto-Nav is on a SSL page.

Pretty URLs are enabled.

I have a gift card order page that uses the 'Force SSL' add-on and it works well but when that page is rendered via https, all the links in the Auto-Nav are also https:// . When these https links are clicked, the resulting page is re-directed to http but the URL has 'index.php' in it thus generating the duplicate content (according to the client's SEO expert).

Here's the .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>


Any thoughts?

mhawke
 
mhawke replied on at Permalink Reply
mhawke
I solved it myself by adding this line to my config/site.php

define('URL_REWRITING_ALL',true);