Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Is it mandatory to have /o to call Rest service in Liferay ?
I have built a rest module in Liferay 7.3 and I am accessing the service as below.
http://localhost:8080/o/example-service - This is ok in locally, but I want to remove /o from the URL at the production level, how can we do that?
When I pushed the service to UAT I am unable to access the service without /o
Hi,
You can use URL rewriting on your web server.
You can refer to the below thread; it may be helpful.
https://liferay.dev/ask/questions/development/how-to-remove-o-prefix-from-url-in-liferay-7-1-1
Thanks for your reply Yasin
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™