SEO, Paging in DataList, How to add all the URLs
I am using a DataList along with paging with the help of a PagedDataSource. The user moves through pages with the help of next and previous button.
Now, because of that, I am able to create sitemap for the first list of data in all pages and because of it, I am not able开发者_JS百科 to create XML sitemap for it.
How to sort this matter out.
Please note that I am also using URL rewriting using Intelligencia URL Reqriter to change the url from www.mywebsite.com/subject.aspx?subject=NICE-SUBJECT to www.mywebsite.com/subjects/NICE-SUBJECT.aspx.
In this page, there is paging to show the various data, say tutorials, so I am able to create sitemap for the first page only.
If your paging links are HTML, and ultimately expose every page of results, search engines will follow them all.
Well, I followed this tutorial. It had some problems (When you click page 1, page 2 is displayed and if you click pg 2, page 3 is displayed).But it gave me nice starting point.
What I did was to use a page query string and use it set the page index of the PagedDataSource.
精彩评论