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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 10-02-2013, 11:26 PM   #1
shantybeauty
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.
.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
shantybeauty is offline   Reply With Quote

Old 10-03-2013, 12:32 AM   #2
TracyKate
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">
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by TracyKate; 10-28-2013 at 12:45 AM..
TracyKate is offline   Reply With Quote
Reply


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 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 13 05-27-2014 01:43 AM
Importance of forum signature links for SEO & back links shantybeauty Search Engine Optimization 6 04-21-2014 11:05 PM
Google notice of unnatural links detected 101 Mark Jackson Google 2 11-04-2012 11:01 PM


All times are GMT -7. The time now is 08:53 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.