How to redirect a specific URL with .htaccess -


i want redirect http https specific url login, signup

currently using bellow .htaccess

rewritecond %{https} !=on rewriterule ^.*$ https://%{http_host}%{request_uri} [l,r=301]  

using page redirect https want redirect example.com/login , example .com/signup

rewritecond %{https} =off rewriterule ^login https://%{http_host}%{request_uri} [r=301,l]  rewritecond %{https} =off rewriterule ^signup https://%{http_host}%{request_uri} [r=301,l] 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

python - Exception while importing pymorphy2 -