473,385 Members | 1,518 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Gridview, paging and googlebot (and other spiders)

Hi,

Recently we've hired professional SEO services to help up promote our
website. They claim that pages which contain ASP.NET's Gridview with
paging will not be scanned by the different spiders beyond the first
page, as the url of the page doesn't change (and should be something
like http://myapp/default.aspx?page=1 and so forth).

This sounds weird to me, because AFAIK spiders scan anchor tags like
the paging tags, and should be able to scan pages beyond the first
page.

If this is true, I can't think of a way to change the url for the
paging mechanism to work. If no such method exist, this means that
"millions" of asp.net pages around the world don't get scanned....

Please advice on this. Thanks.

Aug 8 '07 #1
6 2367
On Aug 8, 10:48 am, ewolfman <ewolf...@yahoo.comwrote:
Hi,

Recently we've hired professional SEO services to help up promote our
website. They claim that pages which contain ASP.NET's Gridview with
paging will not be scanned by the different spiders beyond the first
page, as the url of the page doesn't change (and should be something
likehttp://myapp/default.aspx?page=1and so forth).

This sounds weird to me, because AFAIK spiders scan anchor tags like
the paging tags, and should be able to scan pages beyond the first
page.

If this is true, I can't think of a way to change the url for the
paging mechanism to work. If no such method exist, this means that
"millions" of asp.net pages around the world don't get scanned....

Please advice on this. Thanks.
To go to the next page a Gridview control fires postback and post back
to the same page (so, url of the page doesn't changed) and this is
what spider doesn't do. To make your content crawled, you can create a
custom paging without postback and using QueryString (e.g.
default.aspx?page=1)

Aug 8 '07 #2
Thanks for your reply.

Actually, your described method is a solution I have thought about.
What I meant was that I can't think of a way to do it without
implementing custom paging.

Aug 8 '07 #3
On Aug 8, 11:50 am, ewolfman <ewolf...@yahoo.comwrote:
Thanks for your reply.

Actually, your described method is a solution I have thought about.
What I meant was that I can't think of a way to do it without
implementing custom paging.
Well, there are few tricks you can try, but please remember, that the
spider is trying to determine what the "real" content of the page is
and some of such tricks could be recognized as a spam. So, if your
gridview has not that much rows you can create a hidden layer and put
all your rows there (it will be not visible for users, but visible for
spiders), you can create a "print" page where you can output all rows,
you can check an agent (browser name) and programmatically change the
PageSize property, for example:

if (Request.ServerVariables["HTTP_USER_AGENT"] == "Googlebot") {
GridView1.PageSize = 1000;
} else {
GridView1.PageSize = 10;
}

and something like this

I think I personally would go for the approach with custom paging

Aug 8 '07 #4
MMmm... have you tried to create a sitemap and submit it to google?

www.google.com/webmasters/sitemaps/

No worries about paging and ohter stuff...
For custom paging using links, I think this article is quite useful:

http://www.codeproject.com/useritems/CustomPaging.asp

You can think as well using a repeater and implement custom paging as well.

Another hack could be to have another page with all the results without
paging, and include it in your sitemaps (not very pretty but maybe it would
work).

HTH
Braulio

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------


"ewolfman" wrote:
Thanks for your reply.

Actually, your described method is a solution I have thought about.
What I meant was that I can't think of a way to do it without
implementing custom paging.

Aug 8 '07 #5
On Aug 8, 4:36 pm, Braulio Diez <braulio121NOS...@yahoo.eswrote:
MMmm... have you tried to create a sitemap and submit it to google?

www.google.com/webmasters/sitemaps/
It doesn't help with the postback paging...

Aug 8 '07 #6
Well,

Sitemaps does not resolve the postback paging, but let's you tell to
google which are the pages that he has to index (it seems that's the goal of
covenerting postbacks to href links in this case).

I agree with you that the technical solution is custom paging (I have sent
a link about that as well), or using a repeater controlling everything.

But I think doing a sitemap for that goal (storing in google cache every
page), is a good idea, you can add more info to that sitemap, things like
telling...this page is being refreshed daily, weekly or...

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------


"Alexey Smirnov" wrote:
On Aug 8, 4:36 pm, Braulio Diez <braulio121NOS...@yahoo.eswrote:
MMmm... have you tried to create a sitemap and submit it to google?

www.google.com/webmasters/sitemaps/

It doesn't help with the postback paging...

Aug 8 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ck388 | last post by:
For some reason when I enable the callback feature of the gridview I still get a page refresh, that is it seems like there is a postback that occurs, not a callback which is just supposed to update...
2
by: | last post by:
Hello, I have a GridView in my ASP.NET 2.0 application that performs the paging feature perfect when I have it bound to a data source. But now I have it bound to a dataset and the paging...
1
by: davidjgonzalez | last post by:
I have a GridView that has paging enabled. Each item (as defined in an ItemTemplate) includes several controls which have operations i would like to Atlas-enable. Everything is working well except...
8
by: Greg Lyles | last post by:
Hi all, I'm trying to develop an ASP.NET 2.0 website and am running into some real problems with what I thought would be a relatively simple thing to do. In a nutshell, I'm stuck on trying to...
2
by: Bishop | last post by:
The default gridview paging links are JavaScript and it looks like there is no way for search engines to follow them. Any ideas on what I can do to allow search engines to follow the links so they...
2
by: antonyliu2002 | last post by:
I've been googling for some time, and could not find the solution to this problem. I am testing the paging feature of gridview. I have a very simple web form on which the user can select a few...
3
by: Ronald S. Cook | last post by:
I was told that if calling lots of records from the database (let's say 100,000), that the GridView's paging feature would automatically "handle" everything. But the 100,000 records are still...
1
by: John Mott | last post by:
Hi All, I recently read a post that said that google and other spiders are unable to navigate paging in the GridView control because it uses postbacks and it can't determine the url. I've...
1
by: Matthias | last post by:
Hi ng, I have an ASP.NET GridView with template-columns. In a column I have a link ( normal html-link like <a href=""... ></a> The GridView has custom paging without javascript so that the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.