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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -