There was a problem loading the comments.

How to redirect sub-directory to sub-domain using .htaccess?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
In your domain root open the file .htaccess and enter before any code there

RewriteEngine on
RedirectMatch ^/directory/(.*)$ http://sub.domain.com/$;1

Incase of any issue, please raise a ticket

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  


Self-Hosted Help Desk Software by SupportPal
© Indichosts.net