Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Search Engine Optimization > Search Engine Optimization


Thread Tools Rate Thread Display Modes
Old 10-02-2013, 10:26 PM   #1
Registered User
Join Date: Sep 2013
Posts: 144
How to add canonical links on ALL URL's?

What is the very best method to get canonical links on ALL URL's in D7?
I see nodes already have relative canonicals but I have a site with a great deal of non node URL's that also require canonicals.
I added code to my html. tpl. php to include a canonical on any type of web page however now I get double ups on node based pages.
manicure | Limo hire in Sydney
shantybeauty is offline   Reply With Quote

Old 10-02-2013, 11:32 PM   #2
Registered User
Join Date: Sep 2013
Location: Ahmedabad, India
Posts: 14
Add a rel="canonical" link to the <head> section of the non-canonical version of each HTML page.

It is very easy to tell search engines the canonical URL with meta data in the HEAD of your documents. Put the following HTML near the top of your HEAD element on every page that is not canonical:

<link rel="canonical" href="URL of the canonical page">

Last edited by TracyKate; 10-27-2013 at 11:45 PM..
TracyKate is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Benefits of Do Follow Links michalsemen Search Engine Optimization 28 01-29-2015 10:08 PM
The power of forum signature links kajal.pillai22 Search Engine Optimization 16 12-28-2014 09:36 PM
Featured Links for free at Fast-directory lovelygrl Web Promotion 13 05-27-2014 12:43 AM
Importance of forum signature links for SEO & back links shantybeauty Search Engine Optimization 6 04-21-2014 10:05 PM
Google notice of unnatural links detected 101 Mark Jackson Google 2 11-04-2012 10:01 PM

All times are GMT -7. The time now is 11:29 PM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.