By Jostein Rosenlund on Tuesday, 29 September 2015
Posted in General Issues
Replies 3
Likes 0
Views 748
Votes 0
I need to Use unique and descriptive TITLE tags across all pages on my site, because duplicate Titles may cause problems with site indexing and rankings. As an option, I may leave the duplicate TITLE tags intact but use a "canonical" attribute on the non-canonical pages to let the search engines know which one is the preferred page.

One of the current cases.

Thailand - Blog - bdbear.no 2015
/blog/categories/travel-thailand.html
/blog/tags/thailand.html

What I need to do here, are to add an Canonical tag to the header of /blog/tags/thailand.html.. So google etc knows were I prefer to lead the visitors.

Basically inside the tag header, i need to add:
How can I do this, as well as simplifying the process for the future.
Hi Jostein,

You can try to download the attachment below and place it inside your /components/com_easyblog/views/tags/ folder and see how it goes.
·
Tuesday, 29 September 2015 18:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Update, it actually worked when I disabled the http://extensions.joomla.org/extension/canonical.

Commented out:
$this->canonical('index.php?option=com_easyblog&view=tags', array('ordering', 'sorting'));

And there are no longer any issues whit Canonical.
·
Tuesday, 29 September 2015 19:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Jostein, glad that your issues are resolved now
·
Wednesday, 30 September 2015 03:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post