掲示板

Friendly URL

thumbnail
11年前 に Ravichandran Tamil によって更新されました。

Friendly URL

New Member 投稿: 12 参加年月日: 12/08/03 最新の投稿
How to set friendly url working when guest or admin was signed in?
is it possible?
thumbnail
11年前 に Yuxing Wu によって更新されました。

RE: Friendly URL

New Member 投稿: 1 参加年月日: 13/01/03 最新の投稿
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.
11年前 に John Marson によって更新されました。

RE: Friendly URL

New Member 投稿: 3 参加年月日: 13/03/21 最新の投稿
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
10年前 に stephan raju によって更新されました。

RE: Friendly URL

New Member 投稿: 4 参加年月日: 13/05/29 最新の投稿
Thanks for the valuable information