where do i put my canonical tag

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Sun Jul 21, 2013 5:00 am
Where should i put my canonical tag. i have had my hosting company sort out a redirect as google was seeing my site as http://www.in2town.co.uk and also in2town.co.uk so they sorted it out for me, but they said i need to add the following to my site but i have put it in the head but it is not showing up when i look at the source file and it is not showing up when i run a seo report, can anyone please let me know where to put this in my joomla 3.1 website


<link rel="canonical" href="http://www.in2town.co.uk" />

many thanks
User avatar
Platinum Boarder

GK User
Sun Jul 21, 2013 10:14 am
Hi,

You can modify the head section in the layouts/default.php file or in the layouts/blocks/head.php file.
User avatar
Administrator

GK User
Sun Jul 21, 2013 11:17 am
dziudek wrote:Hi,

You can modify the head section in the layouts/default.php file or in the layouts/blocks/head.php file.


cheers for that, will try the default layout as it does not seem to work when i have done it in the head.php

many thanks
User avatar
Platinum Boarder

GK User
Sun Jul 21, 2013 11:52 pm
dziudek wrote:Hi,

You can modify the head section in the layouts/default.php file or in the layouts/blocks/head.php file.


hi, i have tried putting this

<link rel="canonical" href="http://www.in2town.co.uk" />

in both and it is not showing up
User avatar
Platinum Boarder

GK User
Mon Jul 22, 2013 7:31 am
Please show me a fragment of code where you have put this code.
User avatar
Administrator

GK User
Mon Jul 22, 2013 4:41 pm
dziudek wrote:Please show me a fragment of code where you have put this code.


hi after spending hours trying to sort it out i got a friend to sort it out for me and i need to ask him how he done it as i spent hours trying to get it to work, will post an update on here
User avatar
Platinum Boarder

GK User
Mon Oct 14, 2013 8:05 am
in2town would you be so kind to tell us how to manage to solve this problem?
I've been loosing days and days but nobody is able to help me.
Many Thanks,
Lorenzo
User avatar
Fresh Boarder


cron