![]() |
#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. . |
![]() |
![]() |
![]() |
#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.. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Benefits of Do Follow Links | michalsemen | Search Engine Optimization | 27 | 01-29-2015 11:08 PM |
The power of forum signature links | kajal.pillai22 | Search Engine Optimization | 16 | 12-28-2014 10:36 PM |
Featured Links for free at Fast-directory | lovelygrl | Web Promotion | 12 | 05-27-2014 12:43 AM |
Importance of forum signature links for SEO & back links | shantybeauty | Search Engine Optimization | 5 | 04-21-2014 10:05 PM |
Google notice of unnatural links detected 101 | Mark Jackson | 2 | 11-04-2012 11:01 PM |