Forum Moderators: open

Message Too Old, No Replies

URL links created using javascript

Can Google read/decode these?

         

aakk9999

4:04 pm on Oct 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If a dynamically created page has a link pointing to another of pages within the site and its URL is created with javascript, can Google decode this and follow this link?

For example, if in page HTML the link reference is:

<a href="javascript: parsedQueryString['page']='2'; parsedQueryStringGo()" id="Pages_ctl00_Page" class="page">2</a>

and the actual page link, when clicked on it in browser, resolves to:

www.site.com/something.aspx?page=2

Can Google decode javascript and follow the link to page 2 or would the page 2 never be visited by Google?

daveVk

12:19 am on Oct 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is speculation that the bots are getting smarter. Do not rely on javascript links being indexed, while it is highly unlikely the link in you example would be followed, if you don't want it indexed use robot.txt to exclude it.

aakk9999

12:36 am on Oct 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Many thanks on your reply.