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: Search Results Pagination: how to replace localhost with the final doma
Hi,
I have created a Search Results page and configured it in order to paginate the results according to the official documentation https://help.liferay.com/hc/en-us/articles/360017894572-Display-Settings
The problem is that when I click on the pagination links (to move back and forward) or I try to change the number of results to be shown in each page, the link is pointing to localhost and not to the right portal domain.
I don't know if this could be useful but I have a web server in front of my portal and I have properly configured the following parameters:
- web.server.host
- web.server.http.port
- web.server.https.port
- web.server.protocol
Is there any configuration I'm missing?
Regards,
Pietro
Hi,
finally I fixed the issue which was not related with Liferay but with some configuration on FE Web Server.
In case other encounter the same problem...I have enabled "ProxyPreserveHost" within my Apache instance and now the pagination links are not pointing anymore to localhost.
Regards,
Pietro
Powered by Liferay™