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
Post a Comment