Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
Peter Kowski
Changing the URL of the web content in default asset publisher
September 26, 2012 4:31 AM
Answer

Peter Kowski

Rank: Junior Member

Posts: 26

Join Date: August 1, 2012

Recent Posts

When a web content is being displayed in the default asset publisher it generates a special page URL like:
http://mysite.com/-/name-of-the-web-content

Is it possible to change this? What I am trying to do is to add subdirectories before the special /-/ delimeter or change the delimiter for something else.

For example:
http://mysite.com/news/-/latest-news-from-london
http://mysite.com/sports/-/jordan-flies
The two examples could refer to the same page containing the default asset publisher or maybe even different pages.

The other desirable would be to get rid of the /-/ delimiter altogether,.. something like:
http://mysite.com/news/latest-news-from-london
http://mysite.com/sports/jordan-flies