Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Collapse]Grid View
    Overview - GridView
    Main Features - GridView
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Focus and Navigation
      Focused Row
      Selection
     [Collapse]Paging and Scrolling
       Data Paging
       SEO Paging
       Endless Paging
       Vertical Scrolling
       Virtual Scrolling
       Horizontal Scrolling
      Keyboard Navigation
    [Expand]Data Editing and Validation
    [Expand]Export Overview
   [Expand]Visual Elements
   [Expand]Examples
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Expand]Charts
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
  [Expand]SpellChecker
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

SEO Paging

This topic describes the concept of SEO-friendly paging.

Expanded Overview

Callback-aware grid components render pager items as buttons that respond to user clicks to raise data update callbacks, which is why search engines ignore grid pages. When indexing a site, search engines use the information contained within the first page.

The DevExpress ASP.NET MVC GridView extension allows you to create an SEO-friendly pager. Use the ASPxGridPagerSettings.SEOFriendly (via GridViewSettings.SettingsPager.SEOFriendly) property for this purpose. If this property is set to SEOFriendlyMode.CrawlerOnly, the GridView extension renders hyperlinks in the pager when a web-crawler is detected. For other visitors, standard pager items are generated. Thus, search engines can index the entire content of the grid, and site visitors experience the same callback functionality. If the property is set to SEOFriendlyMode.Enabled or SEOFriendlyMode.Disabled, the automatic web crawler detection is disabled. The pager renders either SEO-friendly or standard links, respectively.

To see the SEO-friendly paging feature in action, refer to the GridView - SEO Friendly Paging demo.

Expanded SEO-Friendly Paging Limitations

If the ASPxGridPagerSettings.SEOFriendly (via GridViewSettings.SettingsPager.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 information about the sorting, grouping and page size applied to the GridView extension is preserved using specific request parameters. Other grid states (such as applied filter criteria, column order, row selection, row expansion states, etc.) are not preserved. Thus, to keep grid appearance consistent and grid content relevant for all pages, it is recommended that you enable the SEO mode only for grids that use minimal functional features, such as sorting and/or grouping.

Expanded Example

The code sample below demonstrates how to enable SEO-friendly paging for the GridView. Note that enabling SEO-friendly paging does not require editing route collection or attribute routes.

Partial View code:

The image below illustrates the result.

How would you rate this topic?​​​​​​​