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
Goto Liferay home eg. liferay-portal-6.2-ce-ga4/
liferay-portal-6.2-ce-ga4/
Create portal-ext.properties file and add the following line:
portal-ext.properties
locale.prepend.friendly.url.style=0
Restart the server.
Setting up in portal-ext.xml
More info: https://docs.liferay.com/ce/portal/7.1-latest/propertiesdoc/portal.properties.html#Languages%20and%20Time%20Zones