@rafaelmagic – thanks for your help again. I’ve had a good read around things and have tested Zen Cache Lite on another site and all good. And Hyper Cache sounds excellent too, so I’ll test with both of these soon.
re. the redirect from http to https site:
I’ve checked everywhere in my cPanel and can’t find anything, but will double check with my hosting too. I’ve found some code options for adding to my .htaccess file and would appreciate your opinion, as well as Edward’s, as to which is best to use. I have all sites in Google webmaster tools redirecting to the www version, and the secure site certificate is registered to the www.mysite.co.nz
one too.
Option 1:
RewriteEngine On RewriteCond %{HTTPS} !=on # This checks to make sure the connection is not already HTTPS RewriteRule ^/?(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
option 2:
RewriteCond %{HTTPS} off # First rewrite to HTTPS: # Don't put www. here. If it is already there it will be included, if not # the subsequent rule will catch it. RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Now, rewrite any request to the wrong domain to use www. RewriteCond %{HTTP_HOST} !^www\. RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Which configuration is recommended?
Also I think I’m getting confused between a redirect to https and ‘forcing SSL’. As from reading in this post http://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233 it seems to have the same/similar code, so is a ‘redirect to my https’ site the same as ‘forcing SSL’???
From what I’ve read here, forcing SSL can cause problems with other plugins or cause an endless redirect loop if it’s not 100% SSL, so I’m not too keen to do that. I just want to set up a redirect to it.
Many thanks and looking forward to your comments.