firewall Spyware removal internet speed test web security service free software and tips


Go Back   Web Security > Web Site Optimization > Optimization Techniques
FAQ Members List Search Today's Posts Mark Forums Read

Optimization Techniques Ways to optimize your website so that you rank better on the search engines. Questions on how to change your site so it attacts more visitors, and other similar topics.

Advertisements

Canonical Links

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-15-2009,
Z4K's Avatar
Z4K Z4K is offline
Member
 
Join Date: May 2007
Location: Hampton, NH
Posts: 46
Default Canonical Links

Hi Jim,

I hope all is well.

I'm still chipping away at this SEO stuff and I still have this problem of my site sometimes being listed under my hosting company rather than the proper url. I don't know what triggers it, but it drives me crazy because I drop in rankings. I was surfing the web and came across this information on the MarketRaise Blog about canonical links and Google announcing support Feb '09 for this canonical link element. You know me, I don't know much html and I think you can designate the url as proper (main) or canonical (duplicate). MarketRaise showed this example and I need to do the opposite and declare the proper url rather than the duplicate.

<link href="http://www.example.com/product.php?id=neat-product" rel="canonical">

I'm thinking maybe I should put this in the header as:

<link href="http://www.mysite.com" rel="proper">

Have you seen this, what do you think?

Thanks,
Loretta
__________________
Zone4Kids
Reply With Quote
  #2 (permalink)  
Old 09-15-2009,
Z4K's Avatar
Z4K Z4K is offline
Member
 
Join Date: May 2007
Location: Hampton, NH
Posts: 46
Default

Oops! Sorry Jim.

I checked the Webmaster Tools on Google. The canonical is used to indicate your preferred url. They show an example

<link rel="canonical" href="http://www.example.com/product.php?item=swedish-fish"/>

So to indicate the proper url and avoid the duplicate content from my hosting company I would have to put in the header

<link rel="canonical" href="http://www.mysite.com"/>

They mention relative vs. absolute, but that is a concept I don't fully grasp. They said it is best to use absolute urls. Does that mean put the / after .com to set the preferred for all the content under the url or should I leave it off?

Also my only way to set this is to set it in the header using a template file which will insert it on all pages. I think I will shoot myself in the foot if I do that which I think would be telling Google that my home page is the preferred page and not to index the others. It seems that I have to get my hosting company involved to only set this on my home page.

I'm confused and frustrated that my site shows as a sub-directory to my host.

Thanks,
Loretta
__________________
Zone4Kids
Reply With Quote
Reply


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is .


Powered by a CPU
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.3.2 © 2009, Crawlability, Inc.