PagePorter Class Library

Navigation.RenamePageUrl Method 

Renames a page URL.

[Visual Basic]
Public Sub RenamePageUrl( _
   ByVal sourceUrl As String, _
   ByVal destUrl As String _
)
[C#]
public void RenamePageUrl(
   string sourceUrl,
   string destUrl
);

Parameters

sourceUrl
The original URL.
destUrl
The new URL.

Remarks

All matching page references will be renamed whether they are in the main navigation structure or in Custom Link Bars. Both URLs must specify the same scope of URLs inside or outside the web.

See Also

Navigation Class | Parastream.Web.MsFrontPage Namespace