Forums de discussion

Friendly URL

thumbnail
Ravichandran Tamil, modifié il y a 11 années.

Friendly URL

New Member Publications: 12 Date d'inscription: 03/08/12 Publications récentes
How to set friendly url working when guest or admin was signed in?
is it possible?
thumbnail
Yuxing Wu, modifié il y a 11 années.

RE: Friendly URL

New Member Envoyer: 1 Date d'inscription: 03/01/13 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, modifié il y a 11 années.

RE: Friendly URL

New Member Publications: 3 Date d'inscription: 21/03/13 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, modifié il y a 10 années.

RE: Friendly URL

New Member Publications: 4 Date d'inscription: 29/05/13 Publications récentes
Thanks for the valuable information