Skip to main content

SEO Paging

  • 2 minutes to read

A known problem with grid-like components is that search engines simply ignore pagers. When indexing a site, they only use the information contained on the first page. The reason for this is that pager links are usually not represented as hyperlinks to other pages. Instead, they simply respond to click events to raise data update callbacks.

The CardView allows you to make a SEO-friendly pager. Use the ASPxGridPagerSettings.SEOFriendly property for this purpose.

If this property is set to SEOFriendlyMode.CrawlerOnly, the CardView renders hyperlinks in the pager when a web-crawler is detected. For other visitors, standard pager links are generated. Thus, search engines can index an entire CardView content, and site visitors experience the same callback functionality.

If the property is set to SEOFriendlyMode.Enabled or SEOFriendlyMode.Disabled, automatic web crawler detection is disabled. The pager renders either SEO-friendly or standard links respectively.

Note

If the ASPxGridPagerSettings.SEOFriendly property is set to SEOFriendlyMode.Enabled, each pager button link refers to a unique address. In this case, clicking a pager link does not post back to the same page, but generates a completely new request. As a result, a totally new page is created on the server, and information about the previous page state is lost. By design, in this mode, only sorting information applied to the CardView extension is preserved using specific request parameters. Other CardView states (such as applied filter criteria, column order, card selection, etc.) are not preserved. Thus, to keep the CardView’s appearance consistent and content relevant for all pages, we recommend that you enable the SEO mode only for extensions that use minimum functional features, such as sorting.