[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [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
    Main Features
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Data Shaping and Manipulation
    [Collapse]Focus and Navigation
      Focused Row
     [Collapse]Paging and Scrolling
       Data Paging
       SEO Paging
       Endless Paging
       Vertical Scrolling
       Virtual Scrolling
       Horizontal Scrolling
       GridView Fixed Table Layout Specifics (Scrolling and Column Resizing)
      Keyboard Navigation
    [Expand]Data Editing and Validation
   [Expand]Visual Elements
   [Expand]Member Tables
  [Expand]Tree List
  [Expand]Card View
  [Expand]Pivot Grid
   Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Spell Checker
  [Expand]Query Builder
 [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]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

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.

Is this topic helpful?​​​​​​​