homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

JQuery SEO Question

 11:27 am on Oct 23, 2008 (gmt 0)


I am creating a product page that has a jquery script that hides/unhides divs to show the currently select product. I've just realised that we have too many products to load them all on the same page. Instead I want to load the content of each div in when they are selected. That means that the pages I am loading from will not be spidered as they are javascript loads.

Doing a bit of reading I noticed that some people were talking about putting an anchor tag in too.
What do I do, just put a load of anchor tags at the bottom to all the content that will be loaded via jquery, with no anchor text or something. So that the anchor tags are there for the spider bot but not for the user.





 11:37 am on Oct 23, 2008 (gmt 0)

"So that the anchor tags are there for the spider bot but not for the user."

not a good idea

You should generally produce the same thing for both the users and the search engines.

If you have to use javascript for the effect your after, it should degrade gracefully. That means, people without javascript should still be able to use the page. Search bots cant read javascript either, so, you can kill 2 birds with 1 stone by making sure your javascript degrades gracefully.

Hope that helps



 11:50 am on Oct 23, 2008 (gmt 0)

It does.
Degrading gracefully is important. I use noscript and can tell when a designer hasn't thought that through.
But the crux of this issue is this:
I cant have all the products loading on the same page. That would mean it would take far to long to load the page. Therefore I need to load it in from another source. How do I make sure that this source is indexed too? It is the product page... highly important from an SEO standpoint.


 12:48 pm on Oct 23, 2008 (gmt 0)

i would break the product page up. surely there must be a logical way of breaking the products up, even if it is only paginating them across several pages.

then you can have all the text for the limited number of products on the page and still show/hide with js if you wish.


 10:44 pm on Oct 26, 2008 (gmt 0)

i would think , check browser for js and if it doesn't have it redirect it to a searchable and js void browswer client/spider

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved