Transfer to https does not work with WP pages
-
Hello,
Recently I transferred my website to https. I have ‘two parts’ of my website: ‘old’ html part and ‘new’ blog WordPress part. Both parts seem to have transferred well and are working fine. All redirection are done in .htaccess, Google search console recognises https versions of my site.
However outside links with http to blog WP pages are not automatically redirected to https and land on the homepage instead. For example:
https://countrysideliving.net/blog/2014/08/wintering-chrysanthemums/
. This is only a problem with WP part of the site, all html pages transfer just fine. I have quite a lot of outside http links so I am losing traffic as a result. I am wondering what could possibly be wrong.Here is what I have in my .htaccess file:
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)? RewriteCond %{HTTP_HOST} ^(www.)?countrysideliving.net$ RewriteCond %{REQUEST_URI} !^/blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /blog/$1 [L] # Use PHP7.2 as default AddHandler application/x-httpd-ea-php72 .php
Could you please kindly help and point to a possible error? I would really appreciate any help.
Thank you!
OksanaThe page I need help with: [log in to see the link]
- The topic ‘Transfer to https does not work with WP pages’ is closed to new replies.