Welcome to WebmasterWorld Guest from 54.196.244.186

Message Too Old, No Replies

Canonical on homepage - with a backslash, or without?

     
5:30 pm on May 26, 2011 (gmt 0)

Full Member

10+ Year Member

joined:Sept 28, 2004
posts: 215
votes: 0


We're considering putting a canonical tag on our homepage for a couple of reasons:

- Will allow us to give partners unique addresses with tracking code

- Similarly with our sharing functionality when someone share our URL, the URL they share has some tracking behind it.

What I don't understand though is the difference between a homepage canonical with a backslash, and one without.

In the SERPS google puts down "www.widget.com/" but the actual homepages are all www.widget.com

A couple of really big SEO'ed sites have a canonical on the homepage with a backslash, but not sure why? Is it better for SEO?

I'm wondering whether the implementation should be dependent on the structure of both your internal and external links as well. If most of them go to widget.com/ then is that the best structure for the canonical as well?

Thanks in advance!
6:15 pm on May 26, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 7, 2003
posts: 750
votes: 0


/ is a forward slash, not a back slash.

I would include the forward slash. If you type in "http://example.com"', your browser issues a request for "/" on the server at "example.com", which is exactly what it does if you type in "http://example.com/". In fact, my browser (firefox) automatically adds the slash to the url bar if I type a domain without it.
6:57 pm on May 26, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Your domain is "example.com".

You need to specify which page.

The root page is "/".

Link to "www.example.com/".
7:30 am on May 27, 2011 (gmt 0)

Full Member

10+ Year Member

joined:Sept 28, 2004
posts: 215
votes: 0


Thanks for the prompt response Much appreciated - I'll implement it with the forward slash.. not the backslash as I mistakenly called it!