Page 1 of 1

Head Canonical Issue - How to add?

Posted: Wed Mar 13, 2013 4:54 pm
by rp024
Hello,

I have a new customer who's indexing twice. My responsibility is to add either a canonical tag to head. Or add in to .htaccess a canonical variable.

How can this be done through ACP.

Thank you to anybody in advance.

Re: Head Canonical Issue - How to add?

Posted: Wed Mar 13, 2013 5:09 pm
by Dr.CSS
Look at some default templates for this as most everyone has this in the <head>...

Re: Head Canonical Issue - How to add?

Posted: Wed Mar 13, 2013 5:15 pm
by rp024
Hi Thank you for reply. I am new to this CMS, (never admin). The site is tilthbeauty.com. How do you access the head in ACP?

Thank you

Re: Head Canonical Issue - How to add?

Posted: Wed Mar 13, 2013 5:17 pm
by rp024
Actually I found it.

TB-MAIN under templates.

Canonical is already there. Theyre still indexing twice.

Code: Select all

{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}

Re: Head Canonical Issue - How to add?

Posted: Thu Mar 14, 2013 1:02 am
by paulbaker
Assuming you're talking Google here, try Google Webmaster Tools. Add and verify the site. They have a "Preferred domain" option under Configuration -> Settings. You can choose www or no www.