Redirect site to a different sub directory

I am using shared hosting facility with my number of sites.

Currently my main site is pointing to home directory /home/xyz and other sites are under this main directory. What this means is I can't provide access to without sacrificing other sites.

One way I can see is using forwarding rule in my  /home/xyz  to forward to another subdirectory  /home/xyz/xyzwebsite. How do I do this?

Who is Participating?
Big MontyConnect With a Mentor Senior Web Developer / CEO of Commented:
if you're using a url rewriter, you can do something like:

RewriteEngine On
RewriteRule ^$ /xyzwebsite [L]
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.