2
votes

I use Liferay and have created a portlet but my site is accessible under two URLS:

1) 10.10.30.30/en/portal

2) 10.10.30.30/portal

But I want my site be always available with this URL without language_ID "EN": 10.10.30.30/portal

Thanx in advance

2

2 Answers

7
votes

Goto Liferay home eg. liferay-portal-6.2-ce-ga4/

Create portal-ext.properties file and add the following line:

locale.prepend.friendly.url.style=0

Restart the server.