Title: Transfer to https does not work with WP pages
Last modified: July 28, 2019

---

# Transfer to https does not work with WP pages

 *  [Oksana](https://wordpress.org/support/users/oksana_gu21/)
 * (@oksana_gu21)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/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: `http://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!
    Oksana
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftransfer-to-https-does-not-work-with-wp-pages%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/transfer-to-https-does-not-work-with-wp-pages/#post-11774030)
 * It might be easiest if you used a plugin like [https://wordpress.org/plugins/really-simple-ssl/](https://wordpress.org/plugins/really-simple-ssl/)
   or [https://wordpress.org/plugins/https-redirection/](https://wordpress.org/plugins/https-redirection/)
 * Personally, I do not like using plugins for things like this but if you developed
   on a non-ssl based environment or if you’re using a page builder to build your
   pages this will be the fastest and easiest way for you to force SSL without having
   to pull out your hair in the process.
 * Before installing and activating one of the plugins remember to remove the htaccess
   code you added.
    -  This reply was modified 6 years, 11 months ago by [Davood Denavi](https://wordpress.org/support/users/binarywc/).
 *  Thread Starter [Oksana](https://wordpress.org/support/users/oksana_gu21/)
 * (@oksana_gu21)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/transfer-to-https-does-not-work-with-wp-pages/#post-11782631)
 * Hi Davood. Thank you for your message. I am a bit reluctant to use a plugin as
   the sites is already working on SSL fine. I am afraid I might break something
   forcing SSL via the plugin. I believe the error is in .htaccess file in redirection
   part. I might as well try a plugin though as there are no more recommendations
   here.
 * Thank you again

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Transfer to https does not work with WP pages’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Oksana](https://wordpress.org/support/users/oksana_gu21/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/transfer-to-https-does-not-work-with-wp-pages/#post-11782631)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
