Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Url no Page(menuitem) ? View modes: 
User avatar
Member
Member
easyphuoc-gmail - 6/24/2013 4:22:59 PM
   
Url no Page(menuitem) ?
I want to change url not url path page(menuitem)
example:
http://example.com/products/iphone/iphone-4s.aspx
change to: http://example.com/iphone/iphone-4s.aspx

So what to do?

Thanks !

User avatar
Certified Developer 13
Certified Developer 13
kentico_josefd - 6/24/2013 10:27:21 PM
   
RE:Url no Page(menuitem) ?
Hello,

Just to clarify, you have the document under two directories, products and iphone, and you would like to hide the first level directory in the URL.

The only way to achieve this would be through setting a custom document URL, which will override the default alias path of the document.

You can set this property in:

CMS Desk -> Content -> Edit -> Properties -> URLs -> Path or pattern

Provided that the property Use custom URL path, located in the same place is set.

Regards,
Josef Dvorak

User avatar
Member
Member
easyphuoc-gmail - 6/25/2013 12:59:52 AM
   
RE:Url no Page(menuitem) ?
Thank you, so that can add a product to automatically add it to the CMS Desk -> Content -> Edit -> Properties -> URLs -> Path or pattern ?, and if so would you help me with the API. because administrator to do so, it takes time for some more of the product.
Thanks !

User avatar
Member
Member
kentico_davidb2 - 7/8/2013 5:06:51 AM
   
RE:Url no Page(menuitem) ?
Hello,

you can find information about this API in our devguide:
http://devnet.kentico.com/docs/devguide/document_aliases_api_examples_managing_document_aliases.htm.
Samples can be found in Site Manager -> Support -> API examples -> Documents -> Document aliases.


For more information about Document Aliases, please refer also to:
http://devnet.kentico.com/docs/devguide/multiple_document_aliases.htm