IPublishingManagerSerializeRedirects Method Ingeniux CMS Content Store API

Produces XML serialization of the Redirect entries that apply to the given Publishing Target. The Dynamic Site Server depends on the results of this serialization to control redirects.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

XElement SerializeRedirects(
	IPublishingTarget pubTarget
)

Parameters

pubTarget
Type: Ingeniux.CMSIPublishingTarget
The publishing target to serialize redirects for

Return Value

Type: XElement
XML serialization of Redirect entries that apply to the Publishing Target.
Examples

Example of redirects serialization:
 <Site>
  <redirect id="redirects/34" from="/giveaway" to="x837" />
  <redirect id="redirects/35" from="/easy-cms" to="/products/web-cms/ease-of-use" />
  <redirect id="redirects/36" from="/promotion" to="http://bannersis.site.edu" />
</Site>
See Also

Reference