rename url Method

Changes hyperlinks to an old URL within the specified pages into hyperlinks to a new URL.

Syntax

method=rename url:server_extension_version
&service_name=/&oldUrl=url&newUrl=url
&urlList=list_of_urls[&validateWelcomeNames=(true|false)]

Parameters

service name

oldUrl

newUrl

urlList

rename_option

validateWelcomeNames

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=rename+url:6.0.n.nnnn
&service_name=/
&oldUrl=previous_url
&newUrl=new_url
&url_list=[toc.xml]

Return Value

Success

message=successfully patched previous_url as new_url

Error

Returns an error message in standard format. For more information, see Error Message Format for FrontPage 2002 Server Extensions from Microsoft. May also return the following error message specific to the rename url method:

message=could not patch previous_url as new_url.