Thursday, June 13, 2019

Tip to Redirect Root of a Domain Url

Requirement:

 Sometimes we need to redirect <domain.com> (only the root)  to  <domain.com>/apex  or <domain.com>/apps

Solution:

Use RedirectMatch
examples:
RedirectMatch ^/$ /apex  or  RedirectMatch ^/$ /apps

No comments: