NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Domain Name Discussion Forums > Domain Names > Domain Newbies
Reload this Page Redirect

Domain Newbies New to domain names? Have your questions answered here.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 12-04-2006, 06:55 AM THREAD STARTER               #1 (permalink)
Senior Member
 
Pound's Avatar
Join Date: Jul 2006
Location: UK
Posts: 2,065
Pound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud of
 



Redirect


How can I make it so that I can make the yoursite.com automatically forward to www.yoursite.com . I need it so that even if someone goes from google to yoursite.com/blahblah it changes to www.yoursite.com/blahblah .

I have cpanel hosting if this helps.

Thanks!
Pound is offline  
Old 12-04-2006, 07:21 AM   #2 (permalink)
NamePros Regular
 
Ultimatum's Avatar
Join Date: Dec 2006
Posts: 236
Ultimatum will become famous soon enough
 



You have to make 301 Redirect.
Ultimatum is offline  
Old 12-04-2006, 02:31 PM   #3 (permalink)
Ex-President
 
Ronald Regging's Avatar
Join Date: May 2006
Location: Mount Joy, PA
Posts: 2,652
Ronald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud of
 


Ethan Allen Fund Protect Our Planet
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.yoursite.com/$1 [L,R=301]

Put that in your .htaccess file in the root site directory.
Ronald Regging is offline  
Old 12-04-2006, 07:15 PM   #4 (permalink)
It's MACHINE code.
 
slider's Avatar
Join Date: Dec 2005
Posts: 1,289
slider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud of
 


Animal Rescue
I usually just use:

Quote:
RedirectPermanent / http://www.yoursite.com/
in the .htaccess file.
slider is offline  
Old 12-04-2006, 07:34 PM   #5 (permalink)
Ex-President
 
Ronald Regging's Avatar
Join Date: May 2006
Location: Mount Joy, PA
Posts: 2,652
Ronald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud of
 


Ethan Allen Fund Protect Our Planet
yeah if that works, use it. I wasn't too sure how to do it, but I found the above and it worked, so I used it
Ronald Regging is offline  
Old 12-05-2006, 03:10 PM THREAD STARTER               #6 (permalink)
Senior Member
 
Pound's Avatar
Join Date: Jul 2006
Location: UK
Posts: 2,065
Pound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud ofPound has much to be proud of
 



Thanks everyone - brilliant help!
Pound is offline  
Old 12-05-2006, 03:20 PM   #7 (permalink)
NamePros Regular
Join Date: Feb 2005
Posts: 579
abcde is a jewel in the roughabcde is a jewel in the roughabcde is a jewel in the rough
 



one small quesion: Y do u do that?
abcde is offline  
Old 12-05-2006, 04:54 PM   #8 (permalink)
It's MACHINE code.
 
slider's Avatar
Join Date: Dec 2005
Posts: 1,289
slider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud ofslider has much to be proud of
 


Animal Rescue
Originally Posted by abcde
one small quesion: Y do u do that?
Well, my hosts' FAQ answers this question fully, so I'll just copy their info.

Quote:
By default, this is the correct behavior. Using URLs of the form http://mydomain.com/ creates a number of problems, and we strongly recommend that you avoid it. Some of the limitations are:

* It creates noncanonical URLs for your site. It is highly desirable to have one URL for each page, for purposes of bookmarking, etc. Having multiple valid URLs for the same page makes your site look less popular, both in rankings and search engines.
????: NamePros.com http://www.namepros.com/domain-newbies/265221-redirect.html
* It is less reliable. DNS CNAME records cannot be used in this situation. You can put in a couple of A records, but this is still not as effective for load balancing and fault tolerance as doing it the "right" way.
* It becomes hopelessly confusing if you have (or might ever have) more than one site under the domain. (Which site does mydomain.com refer to?)
* One name should do one thing. Bare domain names already serve the purpose of organizing the domain, and often they do email duty as well. Web traffic is better kept in its own box.
slider is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:17 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger