Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Page Url View modes: 
User avatar
Member
Member
zhaojicheng-artmtech - 9/11/2009 9:15:48 AM
   
Page Url
I want to change the final page url like this.

http://www.architectureanddesign.com.au/article/Crop-city-proposal-wins-travel-bursary/497823.aspx

http://www.architectureanddesign.com.au/Article/Pureheat-Odyssey-Eco-the-apartment-heater/492877.aspx

Anybody can help me?

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 9/15/2009 5:51:15 AM
   
RE:Page Url
Hi,

You can change the URL of the page using “Document URL path:” property in CMS Desk -> Content -> select your page -> Properties -> URLs section.

If you want to use a specific URL for a given document that doesn't depend on the document AliasPath, you need to check the box Use custom URL path and enter the value, such as:

/cms-for-asp-net

The URL path must always start with /. Then, the document is accessible through two URLs:

www.kentico.com/products/cms.aspx
www.kentico.com/cms-for-asp-net.aspx

Best Regards,
Miroslav Remias.

User avatar
Member
Member
zhaojicheng-artmtech - 9/15/2009 8:52:17 AM
   
RE:Page Url
I think the page url is not change by manually.I have more than 1000 News.by your mean,I have to set more than 1000 times?

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 9/16/2009 4:19:43 AM
   
RE:Page Url
Hi,

You can use our API to change the DocumentURLPath of each document in code. You can select all of the documents (or just specific ones) using the code which is described in following documentation:

http://devnet.kentico.com/docs/devguide/selecting_nodes.htm

Then you can update each document using the code which is described in following documentation:

http://devnet.kentico.com/docs/devguide/update_document.htm

Best Regards,
Miroslav Remias.