Redirect htaccess HTTPS for /wp-admin/ & /wp-login.php and HTTP for everything

Faal

Member
Jul 1, 2015
6
0
1
iran
cPanel Access Level
Website Owner
hi
Please help me

Redirect htaccess HTTPS for /wp-admin/ & /wp-login.php and HTTP for everything

I need that my website is displayed only http and Remove WWW
Only settings for file ".htaccess" in cPanel
for all addresses and sub-folders

except file:
/wp-login.php
&
except folder:
/wp-admin/

Force to use /wp-login.php & /wp-admin/

For example:
http://domain.com/
https://domain.com/wp-login.php
https://domain.com/wp-admin/

end result: Remove WWW and display website only HTTP and except /wp-login.php & /wp-admin/

Please compatible with WordPress
please compact result

Thank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463