Is there a way to force all HTTPS URL’s to change to HTTP? Somehow people are linking into the site using HTTPS and then CE Cache caches the page with HTTPS in the navigation URLS and I want to put a stop to this somehow. There is nothing on my site that requires security so I want to disable it completely. I have tried turning off HTTPS support in my Plesk Panel but then links to HTTPS URL’s get a server-side error. I’d rather redirect everything if I can.
Any help would be appreciated!
Here is my htaccess file (using NSM htaccess generator):
Options +FollowSymlinks
Options -MultiViews
ErrorDocument 404 /index.php/{ee:404}
<FilesMatch "(\.jpe?g|gif|png|bmp|css|js|flv)$">
ErrorDocument 404 "File Not Found"
</FilesMatch>
RewriteEngine On
# Block access to "hidden" directories whose names begin with a period.
<IfModule mod_rewrite.c>
RewriteRule "(^|/)\." - [F]
</IfModule>
# Suppress or force the "www." at the beginning of URLs
# ----------------------------------------------------------------------
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} !cirrusdynamics\.com$ [NC]
RewriteRule ^(.*)$ http://cirrusdynamics\.com/$1 [L,R=301]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^cirrusdynamics.bm$ [OR]
RewriteCond %{HTTP_HOST} ^www.cirrusdynamics.bm$ [OR]
RewriteCond %{HTTP_HOST} ^cirrusdynamics.ca$ [OR]
RewriteCond %{HTTP_HOST} ^www.cirrusdynamics.ca$ [OR]
RewriteCond %{HTTP_HOST} ^cirrusdynamics.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.cirrusdynamics.net$
RewriteRule (.*)$ http://cirrusdynamics.com/$1 [R=301,L]
</IfModule>
#Handle comment redirection
RewriteCond %{THE_REQUEST} !^POST
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# Remove the trailing slash to paths without an extension
<IfModule mod_rewrite.c>
RewriteRule ^(.*)/$ /$1 [R=301,L]
</IfModule>
# Remove index.php
# Uses the "include method"
# http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method
RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/({ee:template_groups}{ee:pages}members|P[0-9]{2,8}) [NC]
RewriteRule (.*) /index.php/$1 [L]Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.