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
(@aitpro)
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.
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
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
(@aitpro)
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
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/