Head Canonical Issue - How to add?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rp024
New Member
New Member
Posts: 6
Joined: Wed Mar 13, 2013 4:52 pm

Head Canonical Issue - How to add?

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Head Canonical Issue - How to add?

Post by Dr.CSS »

Look at some default templates for this as most everyone has this in the <head>...
rp024
New Member
New Member
Posts: 6
Joined: Wed Mar 13, 2013 4:52 pm

Re: Head Canonical Issue - How to add?

Post 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
rp024
New Member
New Member
Posts: 6
Joined: Wed Mar 13, 2013 4:52 pm

Re: Head Canonical Issue - How to add?

Post 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}
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Head Canonical Issue - How to add?

Post 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.
Post Reply

Return to “CMSMS Core”