edzah wrote on 10/23/2008 6:56 AM: 
> 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.

One solution would be to wrap the anchors on the page in <noscript> so bots and 
those not using JavaScript can find the content.

Another would be to use CSS to { display: none } the anchors so that the 
anchors are still viewable to bots, but not to browsers.

Another would be to by default show anchors and not your content, then use 
javascript to hide the anchors and show the content.

Another would be to use Sitemaps and list the Sitemap in your robots.txt file:

        http://www.sitemaps.org/protocol.php#submit_robots

There are probably other ways too.


- Bil

Reply via email to