Liferay redirect from http to https not working correctlyLiferay redirect from http to https not working correctlyhttps://liferay.dev/c/message_boards/find_thread?p_l_id=119785333&threadId=1216720832024-03-29T00:57:26Z2024-03-29T00:57:26ZRE: Liferay redirect from http to https not working correctlyOlaf Kockhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1216778692023-03-23T09:36:56Z2023-03-23T09:36:55Z<p>Please check where exactly the redirect is coming from.</p>
<p>Places to look at:</p>
<ul>
<li>The browser's developer tools, network tab (is it a 301, 302 redirect?)</li>
<li>Is there a reverse proxy that might introduce some redirects?
Specifically on the http->https redirects, there might be
something off. Look at any rewrite/redirect rules configured there
(or try to reproduce without the reverse proxy, to know on which
side of the fence the problem is)</li>
<li>How is the reverse proxy configured? It might well introduce some
extra path in there, which might be wrong</li>
<li>Do you have any custom code deployed that might introduce a redirection?</li>
<li>For completeness, but not for you (as you're on 7.1, where this is
not yet available): Is there any redirection configured within
Liferay itself?</li></ul>
<p>Also, which <em>exact</em> version are you running? DXP? CE?
Which GA release/fixpack? (make sure it's the latest available). Also
consider upgrading to a current version (though that's not a
short-term fix) - but you might want to try reproducing on the latest
version without fully upgrading</p>
<p> </p>Olaf Kock2023-03-23T09:36:55ZLiferay redirect from http to https not working correctlyDaniel Medina Garcíahttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1216720822023-03-17T19:59:50Z2023-03-17T13:24:56Z<p>I currently have a portal created with Liferay 7.1 and when I copy a
url from http and paste it into the browser (converting it to https),
it concatenates an extra /es/web in the url, so it does not find the
resource and gives an error . Currently, in the configuration I have
set the url to show the selected language (in this case 'es' from
Spain) and also a /web. What can be happening? Is it a configuration
issue of the portal itself?</p>
<p>I hope to find out if it is a Liferay configuration problem, that due
to some parameter, it is concatenating these two words in an erroneous
way or, it is a matter of the access server.</p>Dan