Forum

Accueil » Liferay Social Office

Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
RG Ravichandran
Friendly URL
22 février 2013 01:38
Réponse

RG Ravichandran

Rang: New Member

Publications: 10

Date d'inscription: 3 août 2012

Publications Récentes

How to set friendly url working when guest or admin was signed in?
is it possible?
Yuxing Wu
RE: Friendly URL
10 mars 2013 19:22
Réponse

Yuxing Wu

LIFERAY STAFF

Rang: New Member

Publications: 1

Date d'inscription: 2 janvier 2013

Publications Récentes

1, you sign in as a administer
2,you go to " Control Panel"
3,Find " Site Settings" in your site. click it.
4,Find "Site URL" on your right side. click it. You will find the friendly url. Now you can set your own friendly url.
I hope my answer is useful for you.
John Marson
RE: Friendly URL
31 mars 2013 22:34
Réponse

John Marson

Rang: New Member

Publications: 3

Date d'inscription: 21 mars 2013

Publications Récentes

Your route should start with the part after content as content is already part of the generated URL.
The value <friendly-url-mapping>content</friendly-url-mapping> is used for that.

<route>
<pattern>/{contentid}</pattern>
</route>

Also, be sure to change the DTD to the latest one in your *-url-routes.xml.

<!DOCTYPE routes PUBLIC "-//Liferay//DTD Friendly URL Routes 6.1.0//EN" "http://www.liferay.com/dtd/liferay-friendly-url-routes_6_1_0.dtd">



http://www.carbonated.tv
stephan raju
RE: Friendly URL
28 mai 2013 21:51
Réponse

stephan raju

Rang: New Member

Publications: 4

Date d'inscription: 28 mai 2013

Publications Récentes

Thanks for the valuable information