<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay redirect from http to https not working correctly</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121672083" />
  <subtitle>Liferay redirect from http to https not working correctly</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121672083</id>
  <updated>2026-04-04T02:56:58Z</updated>
  <dc:date>2026-04-04T02:56:58Z</dc:date>
  <entry>
    <title>RE: Liferay redirect from http to https not working correctly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121677869" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121677869</id>
    <updated>2023-03-23T09:36:56Z</updated>
    <published>2023-03-23T09:36:55Z</published>
    <summary type="html">&lt;p&gt;Please check where exactly the redirect is coming from.&lt;/p&gt;
&lt;p&gt;Places to look at:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;The browser's developer tools, network tab (is it a 301, 302 redirect?)&lt;/li&gt;
  &lt;li&gt;Is there a reverse proxy that might introduce some redirects?
    Specifically on the http-&amp;gt;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)&lt;/li&gt;
  &lt;li&gt;How is the reverse proxy configured? It might well introduce some
    extra path in there, which might be wrong&lt;/li&gt;
  &lt;li&gt;Do you have any custom code deployed that might introduce a redirection?&lt;/li&gt;
  &lt;li&gt;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?&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Also, which &lt;em&gt;exact&lt;/em&gt;​​​​​​​ 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&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2023-03-23T09:36:55Z</dc:date>
  </entry>
  <entry>
    <title>Liferay redirect from http to https not working correctly</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121672082" />
    <author>
      <name>Daniel Medina García</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121672082</id>
    <updated>2023-03-17T19:59:50Z</updated>
    <published>2023-03-17T13:24:56Z</published>
    <summary type="html">&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</summary>
    <dc:creator>Daniel Medina García</dc:creator>
    <dc:date>2023-03-17T13:24:56Z</dc:date>
  </entry>
</feed>
