Tab

ASPxPager.SeoFriendly Property

Gets or sets whether Search-Engine Optimization (SEO) mode is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(SEOFriendlyMode.Disabled)]
public SEOFriendlyMode SeoFriendly { get; set; }
<DefaultValue(SEOFriendlyMode.Disabled)>
Public Property SeoFriendly As SEOFriendlyMode

Property Value

Type Default Description
SEOFriendlyMode

Disabled

A SEOFriendlyMode enumeration value that specifies whether SEO mode is enabled.

Available values:

Name Description
Disabled

Disables SEO mode and automatic web-crawler detection. Standard pager links are generated.

Enabled

Enables SEO mode and disables automatic web-crawler detection. The pager renders its links as SEO-friendly hyperlinks.

CrawlerOnly

Hyperlinks are rendered in the pager only when a web-crawler is detected. In this instance, web-crawlers will iterate through all pages of a paged control. As a result, all data within the control will be indexed, page by page. For other visitors, standard pager links are generated.

Remarks

Set the SEOFriendly property to SEOFriendlyMode.Enabled, to enable SEO mode.

If the SeoFriendly property is set to SEOFriendlyMode.CrawlerOnly, the page numbers are rendered when a web-crawler is detected. In this instance, web-crawlers will iterate through all associated pages. As a result, all the data will be indexed, page by page.

See Also