FlyerTalk Forums - View Single Post - Can a site not respond to a ping?
View Single Post
Old Mar 30, 2014 | 12:32 pm
  #7  
docbert
2M
60 Nights
50 Countries Visited
15 Years on Site
 
Join Date: Jul 2007
Location: Brisbane, Australia
Programs: UA 1K/MM, Marriott Titanium, IHG Gold, Hertz PC, Avis PC
Posts: 8,524
Originally Posted by zkzkz
The canonical name is flyertalk.com. www.flyertalk.com is just an alias for flyertalk.com:

The web server appears to respond to both virtual hosts with the same content.
No, it doesn't. If you go to flyertalk.com it redirects to www.flyertalk.com.

Originally Posted by zkzkz
It's much better to set up a virtual host for one of them that just does a 302 redirect to the preferred name and always use that preferred name.
You probably mean a 301, which is exactly what they send when you access flyertalk.com. (302 will work as well, but 301 is better)
docbert is offline