![]() |
a question for server gurus
Hi.. I have been trying to get the guy who hosts my domain to have it forward to a different address. He can do this however he does not know how to make it forward the paths as well. So I am potentially losing a lot of 404 traffic and I cannot setup sub dirs or anything because the forwarding wont work correctly. How does one do this for Apache? Is there a certain rewrite rule needed or something in the .htaccess file?
Thanks! |
ReDirect / http://www.newsite.com/
:-) Should work just fine. If you want to omit the paths after the domain and make all the traffic go to the main site on the new domain, do it like this: ReDirect / http://www.newdomain.com/? :-) Anything after the ? will be disposed of because they will be treated as query strings. :-) SplitInfinity should be hosting you if your host cant do that. :-) |
I may know the answer to that. :food-smil
Btw who's the host? ICQ 44-33-144 |
Quote:
|
Mrtwister get with me i'll give you a tech to help you out with your issue...there are a few ways to address this
|
You can plop that into the httpd.conf file in your OLD domains Virtual host definitions.... Here is an example:
<VirtualHost 216.188.28.15> ReDirect / http://www.geekypeople.com/? # The below is no longer needed if were redirecting entirely the domain on this ip #DocumentRoot /home/admin/bettorsearch.com/public_html ServerAlias webhelium.com *.webhelium.com ServerName www.webhelium.com </VirtualHost> |
|
slap a 301 in there, make it permanent.
|
Quote:
Thanks for your help. Much appreciated! |
Yeah it should work just fine. You just dont use the ? for that and it will work just like you want it to. You dont even need a hidden frame.
|
All times are GMT -7. The time now is 05:09 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123