![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Join Date: Jan 2005
Posts: 23
|
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
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. :-) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
|
I may know the answer to that. :food-smil
Btw who's the host? ICQ 44-33-144 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Registered User
Join Date: Jan 2005
Posts: 23
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Feb 2002
Location: NYC, NY
Posts: 8,531
|
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
__________________
![]() ~ Webair Dedicated Cloud Servers™ ~ WEBAIR VSYS™ Virtual Hosting Platform ~ Superior CDN Network ~ ~ Managed Dedicated hosting Specialists ~ DISCOUNT DOMAIN NAMES! ~ WEBAIR FUSION IO MANAGED CLOUD SERVERS! ~ ICQ: 243116321 - TWITTER - @WEBAIRINC - E-Mail: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
slap a 301 in there, make it permanent.
__________________
http://www.flickr.com/photos/zoddler/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Registered User
Join Date: Jan 2005
Posts: 23
|
Quote:
Thanks for your help. Much appreciated! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |