Foros de discusión

Friendly URL

thumbnail
Ravichandran Tamil, modificado hace 11 años.

Friendly URL

New Member Mensajes: 12 Fecha de incorporación: 3/08/12 Mensajes recientes
How to set friendly url working when guest or admin was signed in?
is it possible?
thumbnail
Yuxing Wu, modificado hace 11 años.

RE: Friendly URL

New Member Mensaje: 1 Fecha de incorporación: 3/01/13 Mensajes recientes
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, modificado hace 11 años.

RE: Friendly URL

New Member Mensajes: 3 Fecha de incorporación: 21/03/13 Mensajes recientes
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, modificado hace 10 años.

RE: Friendly URL

New Member Mensajes: 4 Fecha de incorporación: 29/05/13 Mensajes recientes
Thanks for the valuable information