Domain Name Experts: Can I do a mod rewrite to a different domain?
-
I want to keep all my project files in /home/mainuser/mainproject on my dedicated server. However, for branding purposes I may want some modules of the project to be on a different domain. For example, my main project let's say is http://www.project.com/project Then I have the dealer web site to be http://www.otherproject.com/dealer... which should source to http;//http://www.project.com/project/dealer Is there a way to do this?
-
Answer:
You can use .htaccess and do a 301 from one to the other. This is how it would look in your .htaccess file: redirect 301 /dealer http://www.project.com/project/dealer Or the other way around depending on which domain you want to be the "destination."
Chase Sagum at Quora Visit the source
Related Q & A:
- Can i change a regular phone into a smartphone? if i can how?Best solution by Yahoo! Answers
- How can I burn a .rmvb file onto a DVD for viewing on a regular DVD player?Best solution by Yahoo! Answers
- Can I record a program/movie from a cable dvr to a DVD recorder?Best solution by Yahoo! Answers
- Can i put a sim card of a blackberry curve from att on a blackberry bold?Best solution by Yahoo! Answers
- How can I shoot my short film in a different aspect ratio?Best solution by vimeo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.