homepage Welcome to WebmasterWorld Guest from 174.129.80.166
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
How does google look at a canonical tag to the same page
Shepherd




msg:4632692
 3:05 pm on Dec 21, 2013 (gmt 0)

Putting some inter-page links on a page which will create urls which may seem like different pages and want to use a canonical tag.

main page:
http://www.example.com/widgets/

inter-linked urls:
http://www.example.com/widgets/#top
http://www.example.com/widgets/#samples
...etc.

putting a canonical tag on
http://www.example.com/widgets/ as follows:
<link rel="canonical" href="http://www.example.com/widgets/"/>

This should solve the problem of google thinking that /widgets/#top and /widgets/#samples are separate pages but how does it look when google crawls the main page? Did I just create some crazy, never ending loop?

 

JD_Toims




msg:4632693
 4:12 pm on Dec 21, 2013 (gmt 0)

You can point a rel=canonical to the page it's on without any issue.

This should solve the problem of google thinking that /widgets/#top and /widgets/#samples are separate pages...

A note about this part: There isn't a problem with Google thinking a fragment is indicating a different page -- IOW: Unlike stuff after a ?, stuff after the # [as long as you're not using #! which indicates a page-state that changes via AJAX] does not "create a different/duplicate page".

Shepherd




msg:4632694
 5:05 pm on Dec 21, 2013 (gmt 0)

stuff after the # does not "create a different/duplicate page".


That's good to know!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved