Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Redirect site to a different sub directory

Posted on 2013-11-26
3
Medium Priority
?
334 Views
Last Modified: 2013-12-27
Hi,
I am using shared hosting facility with my number of sites.

Currently my main site xyz.com 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  xyz.com 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?

Thanks
0
Comment
Question by:crazywolf2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 34

Accepted Solution

by:
Big Monty earned 2000 total points
ID: 39677487
if you're using a url rewriter, you can do something like:

RewriteEngine On
RewriteRule ^$ /xyzwebsite [L]
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question