Forum Moderators: open

Message Too Old, No Replies

Scripted links & SE spiders

SE friendly scripts in ASP: possible?

         

poet

7:47 pm on Sep 1, 2008 (gmt 0)

10+ Year Member



At the top of my ASP.net 2.0 website I want to have a bit of teaser text. Every time the page refreshes, I want to randomly select the specific teaser text from a group of 30 pre-made teasers.

Problem:
1. They tell me that SE spiders start at the top of the page and thus will give weight to the teaser text.
2. I have read that the SE spiders don't like the script that typically is used to enable the teasers to display at random.

Question:
Is there a way in ASP.net 2.0 to select a teaser at random and still make the SE spiders happy?

Cheers,

Poet

Ocean10000

2:03 am on Sep 2, 2008 (gmt 0)

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



Easiest way would be to only show the teaser text to the major browsers IE, FireFox, Opera, Safari. This would exclude most bots and crawlers thus avoiding the problem with the search engines.

poet

5:50 am on Sep 2, 2008 (gmt 0)

10+ Year Member



Thanks, Ocean. Let me rephrase my question. The problem is that SE spiders have a hard time following the link in the teaser to the content in the db . . . because of the script.

So, the question is, how to provide this "pick a teaser + content" at random with each page refresh . . . and still enable the SEs to follow the link from the teaser to the content that it links to?

Poet

Ocean10000

1:51 pm on Sep 4, 2008 (gmt 0)

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



Simpliest way I can think of is to create a usercontrol which will output the random teaser text as pure text, and skip the javascript so its no longer an issue.

As for keeping the teasers random you could use the random class.

Random rand = new Random()
int RandomTeaserID = rand.Next( 0, 29 );

And use the RandomTeaserID to lookup a Teaser text in an array.