Title: Permanent redirect from http to https (not working)
Last modified: August 22, 2016

---

# Permanent redirect from http to https (not working)

 *  [AndroidBean](https://wordpress.org/support/users/androidbean/)
 * (@androidbean)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/)
 * I am using WordPress HTTPS plugin on my site [https://www.androidbean.com](https://www.androidbean.com)
   
   but it is accessible from both http and https version. So is there any way to
   redirect http to https url.
 * [https://wordpress.org/plugins/wordpress-https/](https://wordpress.org/plugins/wordpress-https/)

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

 *  [ivan.andreev](https://wordpress.org/support/users/ivanandreev/)
 * (@ivanandreev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622202)
 * Hi AndroidBean,
    It seems that you have fixed your https. I am looking for any
   assistance to fix my one [https://www.immigration2bulgaria.com](https://www.immigration2bulgaria.com).
   Any info will be greatly appreaciated.
 *  [dashingvishal](https://wordpress.org/support/users/dashingvishal/)
 * (@dashingvishal)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622203)
 * I’m using this code in my htacess .
    Just goto cpanel – file manager – check 
   show dot files – click go. And open.htaccess file. Paste below code but replace
   Androidbean.com with your site name.
 *     ```
       RewriteEngine On
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://www.androidbean.com/$1 [R,L]
       ```
   
 *  [ivan.andreev](https://wordpress.org/support/users/ivanandreev/)
 * (@ivanandreev)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622204)
 * Hi dashingvishal,
    Have you just added the above code to the already existing
   code, or you have deleted the existing code first?
 * Thanks
 *  [dashingvishal](https://wordpress.org/support/users/dashingvishal/)
 * (@dashingvishal)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622205)
 * Just add this code to htacess file on top..don’t delete any other code..
 *  [elriop20](https://wordpress.org/support/users/elriop20/)
 * (@elriop20)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622221)
 * thanks!
 *  [vickyj](https://wordpress.org/support/users/vickyj/)
 * (@vickyj)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622223)
 * THANK YOU dashingvishal! I have been looking for the answer to this. Works first
   time. Brilliant!
 *  [elriop20](https://wordpress.org/support/users/elriop20/)
 * (@elriop20)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622230)
 * I was pulling out my hair.
 * Thanks for this
 *  [elriop20](https://wordpress.org/support/users/elriop20/)
 * (@elriop20)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622231)
 * Only working on my home page though. Any suggestions?

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

The topic ‘Permanent redirect from http to https (not working)’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 8 replies
 * 5 participants
 * Last reply from: [elriop20](https://wordpress.org/support/users/elriop20/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/permanent-redirect-from-http-to-https-not-working/#post-5622231)
 * Status: not resolved