praveen545445
Senior Member
- Dec 6, 2017
- 866
- 106
Ok i have installed the certificated in cpanel but the domain is not automatically redirecting to https so i want to know how to do that ?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# BEGIN WordPress
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
thanks got it but there is one question my website panel is pointed in subdomain but there is one problem users unable to receive reset password link i tried to ask this question to my web developer he is saying that the reset password link not going to work if your website is in subdomain if you put your website on main domain then only its going to work. so what is the solution for it do you have any ideaPut this in public_html, .htaccess file
Code:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # BEGIN WordPress RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
no its because i installed the script in subdomain that's why if it is in public_html then only i receive that. (there is some issue that's why i can't install that in main domain)You don't receive password reset email with instructions?