Forum Moderators: open

Message Too Old, No Replies

Does Google index the # part of an URL?

         

AthlonInside

9:36 pm on Mar 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[something.com...]

How do Google handle # in the URL?

your_store

3:05 am on Mar 9, 2004 (gmt 0)

10+ Year Member



I'm not exactly sure. But if Google can't handle named anchors, they're definitely some problems at the 'plex.

SEOtop10

3:22 am on Mar 9, 2004 (gmt 0)

10+ Year Member



Google will only index the main page with the #part.
So if you refer to www.domain.com/widgets.htm#green-widgets, it will just index www.domain.com/widgets.htm.

Arun

kaled

11:01 am on Mar 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whilst it is technically possible to deliver different pages according to the #parameter, browsers interpret this as a link target within a page. Therefore search engines ignore everything following a #, otherwise they would have a great deal of duplication in their index.

Some time ago, I did suggest that the #parameter could be used to pass additional data so that several links/urls all appear to point to the same page whilst delivering slightly different content. Since browsers simply ignore #parameters that do not have a corresponding target on the page, this should be entirely safe, however, I am not aware of any sites that employ this stratgey.

Kaled.

zgb999

10:21 am on Mar 10, 2004 (gmt 0)

10+ Year Member



What about keywords after#?

If you have www.site.com/widgets#green in a link will it help you for the keyword green widgets?

After all #green should point to the part of the page about green widgets and a link like that is supporting what is on the page anyway.

kaled

11:10 am on Mar 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's an extremely sneaky, low-down, dirty rotten black-hat idea - I like it a lot.

No doubt someone will have tested this theory and if it had proven true people would have used it and Google would have fixed it. Nevertheless, I say experiment and report back.

Kaled.

DoppyNL

11:24 am on Mar 10, 2004 (gmt 0)

10+ Year Member



Crawlers should ignore the part after # completely; it's only meant to direct the user to a certain location on that page, wich the browser takes care of.
The server doesn't even have to know what is after #.

Having said that, I've never seen any requests from google or other major crawlers that include a # in the url. And on every page on my site there are allways 2 links with a # in it! (for useability for blind people for instance).
I also haven't seen any search results that contained a # in the result-urls.

I just checked if they are indexed for my site's.
Google doesn't index the text after the # (I don't get any results for that).
But it does index the link-text

for instance (I placed links like these on my pages):

<a href="#anchor">jump</a>

"anchor" wasn't found by google.
"jump" was found by google.