I am seeing different URLs being generated by Liferay 6.1 GA2 on different machines even when I enter the following same URL in the browser:
http://my.ip.0.202:8080/
Machine-1’s browser generates:
http://my.ip.0.202:8080/en_GB/web/guest/home
Machine-2’s browser generates:
http://my.ip.0.202:8080/web/guest/home
The configurations on both the machines like language settings, local settings, browser settings, control panel settings seems to be same.
Can anybody tell me the reason for this and how can I force both machine’s browser to render the same URL like http://my.ip.0.202:8080/web/guest/home
Thanks
Have you checked the Liferay Wiki: Configure time zones and locale.
I have not tried, but according to one of my colleague:
There might be a localization mismatch with the two machines. Therefore, for one machine “en_GB” automatically gets attached to the URL.
The problem can be resolved by setting a property in portal-ext.properties
The following is directly from the
portal.properties:Hope this helps.