IPublishingManagerSerializeRedirects Method
|
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: 10.6.308
Syntax XElement SerializeRedirects(
IPublishingTarget pubTarget
)
Function SerializeRedirects (
pubTarget As IPublishingTarget
) As XElement
XElement^ SerializeRedirects(
IPublishingTarget^ pubTarget
)
abstract SerializeRedirects :
pubTarget : IPublishingTarget -> XElement
Parameters
- pubTarget
- Type: Ingeniux.CMSIPublishingTarget
The publishing target to serialize redirects for
Return Value
Type:
XElementXML 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