Here is the situation:
- I have an OC 1.5.5.1.
- SEO is enabled and working.
- I have a Godaddy SSL and host.
- I managed to configure the SSL and it is working.
- I installed an extension to write friendly urls to my route pages (account/etc): http://www.opencart.com/index.php?route ... _license=0
The problem: I cannot make SSL work properly with the extension.
Why? Because even though I can manage to force some pages to redirect to HTTPS, the "<form action=""> is still bringing the HTTP page (and because of that, forms don't work (like the registration form).
My registration page is an example: http://farfeloo.com/cadastro
Here is my HTACCESS code:
Code: Select all
#Fix Rewrite
Options -Multiviews
<IfModule mod_rewrite.c>
Options +FollowSymLinks
#Force HTTPS on those specific pages
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(checkout|cadastro|conectando) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTPS} !=off
# Force non-WWW to WWW
RewriteEngine on
RewriteCond %{HTTP_HOST} ^farfeloo\.com [NC]
RewriteRule (.*) http://www.farfeloo.com/$1 [R=301,L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
</IfModule>
RewriteBase /