PDA

View Full Version : How to change the displayed domain



sabatier
Jul 10th, 2010, 08:38 PM
Probably an easy question.

Are redirects the only/best way to change the displayed domain name?

I have one website with multiple domain names. The site is divided into subsites. When someone clicks on a link to a page in a given subsite I want to show the domain name that is associated with that content.

TIA.

mbaker
Jul 11th, 2010, 06:27 PM
I'm not sure exactly what you want to do, but using link rel="canonical" may help as in:

<link rel="canonical" href="http://www.html-tags-guide.com/index.html">