Title: HTTP to HTTPs Redirection Issue
Last modified: October 20, 2018

---

# HTTP to HTTPs Redirection Issue

 *  Resolved [susansiow](https://wordpress.org/support/users/susansiow/)
 * (@susansiow)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/)
 * Hi BPS,
 * Greetings.
 * I have followed the steps here – [https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233](https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233)
   to redirect HTTP to HTTPs and the code is showing in the BPS’s Your Current Root
   Htaccess File panel too. However, [http://www.pngdataco.com](http://www.pngdataco.com)
   still does not get redirected to [https://www.pngdataco.com](https://www.pngdataco.com).
 * Kindly assist, thanks.
 * Regards,
    Susan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-to-https-redirection-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [susansiow](https://wordpress.org/support/users/susansiow/)
 * (@susansiow)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/#post-10798285)
 * Additional info:
 * I have tried either one of these codes and it’s not successful.
 *     ```
       # WP REWRITE LOOP START
       RewriteEngine On
       RewriteBase /
       RewriteCond %{HTTPS} !=on
       RewriteCond %{SERVER_PORT} ^80
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
       RewriteRule ^index\.php$ - [L]
       ```
   
 *     ```
       # WP REWRITE LOOP START
       # Rewrite|Redirect http to https|SSL & www to non-www
       RewriteEngine On
       RewriteBase /
       RewriteCond %{HTTPS} !=on
       RewriteCond %{SERVER_PORT} ^80
       RewriteCond %{HTTP_HOST} ^www\.domainname\.com$ [NC]
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
       RewriteRule ^index\.php$ - [L]
       ```
   
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/#post-10799574)
 * What do you have for these WordPress Settings?
    WordPress General Settings: WordPress
   Address (URL) `https://www.your-domain-name.com` Site Address (URL) `https://
   www.your-domain-name.com`
 * What type of WP site is this? Single standard, Network|Multisite or Giving WordPress
   Its Own Directory?
 * Where is this site installed physically under your hosting account folders?
    
   Example Folder Location|Name|Path > /public_html/domainname.com/
 * Are there other websites installed in this hosting account? If so, is there an.
   htaccess file in the hosting account root folder?
    Example: /public_html/.htaccess
 * Are you doing anything with DNS settings in your hosting account settings? ie
   domain forwarding or redirection?
    -  This reply was modified 7 years, 5 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
 *  Thread Starter [susansiow](https://wordpress.org/support/users/susansiow/)
 * (@susansiow)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/#post-10802038)
 * > What do you have for these WordPress Settings?
   >  WordPress General Settings:
   > WordPress Address (URL) [https://www.your-domain-name.com](https://www.your-domain-name.com)
   > Site Address (URL) [https://www.your-domain-name.com](https://www.your-domain-name.com)
 * Answer: As above.
 * > What type of WP site is this? Single standard, Network|Multisite or Giving 
   > WordPress Its Own Directory?
 * Answer: Single standard.
 * > Where is this site installed physically under your hosting account folders?
   > 
   > Example Folder Location|Name|Path > /public_html/domainname.com/
 * Answer: No folder, directly under public_html.
 * > Are there other websites installed in this hosting account? If so, is there
   > an .htaccess file in the hosting account root folder?
   >  Example: /public_html/.
   > htaccess
 * Answer: No other website. .htaccess is in the foot folder.
 * > Are you doing anything with DNS settings in your hosting account settings? 
   > ie domain forwarding or redirection?
 * Answer: I didn’t and have no privilege to check this.
 * Please advise your thoughts, thank you!
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/#post-10803883)
 * Regarding DNS settings. I do not understand your answer. Are you the owner of
   this hosting account? If so, you should have access and privileges to your hosting
   account DNS settings. If not, then please explain what type of access and privileges
   you have for this hosting account.
 * Double check that you are doing **ALL** of the HTTPS/SSL steps correctly in this
   forum topic > [https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233](https://forum.ait-pro.com/forums/topic/wordpress-ssl-htaccess-code-rewrite-ssl-rewritecond-server_port/#post-7233)
 * Send us a copy of your Root htaccess file code by going to the htaccess File 
   Editor tab page > Your Current Root htaccess File tab > copy and paste the entire
   contents of the file > send the htaccess code file contents via our contact form
   here > [https://www.ait-pro.com/contact/](https://www.ait-pro.com/contact/)
 *  Thread Starter [susansiow](https://wordpress.org/support/users/susansiow/)
 * (@susansiow)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/#post-10806356)
 * Client’s matter. Thanks.

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

The topic ‘HTTP to HTTPs Redirection Issue’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [susansiow](https://wordpress.org/support/users/susansiow/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/http-to-https-redirection-issue/#post-10806356)
 * Status: resolved