<?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>Change the URL when we hit "c/portal/login"</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=10557623" />
  <subtitle>Change the URL when we hit "c/portal/login"</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=10557623</id>
  <updated>2026-04-07T06:06:37Z</updated>
  <dc:date>2026-04-07T06:06:37Z</dc:date>
  <entry>
    <title>RE: Change the URL when we hit "c/portal/login"</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10569228" />
    <author>
      <name>Nisarg Parikh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10569228</id>
    <updated>2011-08-25T08:57:44Z</updated>
    <published>2011-08-25T08:57:44Z</published>
    <summary type="html">Hi All,&lt;br /&gt;&lt;br /&gt;I finally got the proper solution.&lt;br /&gt;&lt;br /&gt;in portal.properties there is one property.&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Enter a URL that will be used to login portal users whenever needed. By&lt;br /&gt;    # default, the portal&amp;#39;s login page is used.&lt;br /&gt;    #&lt;br /&gt;    #auth.login.url=/web/guest/home&lt;br /&gt;&lt;br /&gt;I just changed it to my community URL and it worked.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;-Nisarg</summary>
    <dc:creator>Nisarg Parikh</dc:creator>
    <dc:date>2011-08-25T08:57:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Change the URL when we hit "c/portal/login"</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10568977" />
    <author>
      <name>Nisarg Parikh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10568977</id>
    <updated>2011-08-25T07:55:40Z</updated>
    <published>2011-08-25T07:55:40Z</published>
    <summary type="html">Hi Abhed,&lt;br /&gt;&lt;br /&gt;Thanks for the information. That is the thing I want.&lt;br /&gt;&lt;br /&gt;-Nisarg</summary>
    <dc:creator>Nisarg Parikh</dc:creator>
    <dc:date>2011-08-25T07:55:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Change the URL when we hit "c/portal/login"</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10563940" />
    <author>
      <name>Abhed Dekavadiya</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10563940</id>
    <updated>2011-08-24T19:19:35Z</updated>
    <published>2011-08-24T19:19:35Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div class="quote-title"&gt;Nisarg Parikh:&lt;/div&gt;&lt;blockquote&gt;That is one solution BUT I want to change this URL or I want to redirect it to another page.&lt;br&gt;Is this possible?&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;&lt;br&gt;I am not exactly clear about your requirement.  But this url is generated from LoginAction.execute() method. When you hit /c/portal/login, it executes struts action '/portal/login'.&lt;br&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;action path="/portal/login" type="com.liferay.portal.action.LoginAction" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;You can modify the LoginAction class through ext.&lt;br&gt;I hope this could help you!&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Abhed Dekavadiya</dc:creator>
    <dc:date>2011-08-24T19:19:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Change the URL when we hit "c/portal/login"</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10562742" />
    <author>
      <name>Nisarg Parikh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10562742</id>
    <updated>2011-08-24T15:10:01Z</updated>
    <published>2011-08-24T15:10:01Z</published>
    <summary type="html">Hi Jay,&lt;br /&gt;&lt;br /&gt;Actually I have already tried it but I still have the same issue.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;-Nisarg</summary>
    <dc:creator>Nisarg Parikh</dc:creator>
    <dc:date>2011-08-24T15:10:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Change the URL when we hit "c/portal/login"</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10561443" />
    <author>
      <name>Jay Patel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10561443</id>
    <updated>2011-08-24T14:25:14Z</updated>
    <published>2011-08-24T14:25:14Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Nisarg Parikh:&lt;/div&gt;&lt;blockquote&gt;Hi All,&lt;br /&gt;&lt;br /&gt;When we have to login to portal we can hit &amp;#34;http://hostname:port/c/portal/login&amp;#34; and it will display the Sign In portlet&amp;#39;s page.&lt;br /&gt;At that time the URL becomes &amp;#34;http://hostname:port/home?p_p_id=58&amp;amp;p_p_lifecycle=0&amp;amp;p_p_state=maximized&amp;amp;p_p_mode=view&amp;amp;saveLastPath=0&amp;amp;_58_struts_action=%2Flogin%2Flogin&amp;#34;&lt;br /&gt;&lt;br /&gt;The same thing happens when we try to access the page which does not have Guest role.&lt;br /&gt;&lt;br /&gt;I have created a hook which changes the content of the Sign In page. That is one solution BUT I want to change this URL or I want to redirect it to another page.&lt;br /&gt;Is this possible?&lt;br /&gt;&lt;br /&gt;Please help me.&lt;br /&gt;&lt;br /&gt;Thanks in Advance.&lt;br /&gt;&lt;br /&gt;-Nisarg&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hi Nisarg,&lt;br /&gt;&lt;br /&gt;You may check out in Control Panel -&amp;gt; Portal -&amp;gt; Settings -&amp;gt; General -&amp;gt; Default Landing &amp;amp; Logout page.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jay.</summary>
    <dc:creator>Jay Patel</dc:creator>
    <dc:date>2011-08-24T14:25:14Z</dc:date>
  </entry>
  <entry>
    <title>Change the URL when we hit "c/portal/login"</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10557622" />
    <author>
      <name>Nisarg Parikh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10557622</id>
    <updated>2011-08-24T08:39:47Z</updated>
    <published>2011-08-24T08:39:47Z</published>
    <summary type="html">Hi All,&lt;br /&gt;&lt;br /&gt;When we have to login to portal we can hit &amp;#34;http://hostname:port/c/portal/login&amp;#34; and it will display the Sign In portlet&amp;#39;s page.&lt;br /&gt;At that time the URL becomes &amp;#34;http://hostname:port/home?p_p_id=58&amp;amp;p_p_lifecycle=0&amp;amp;p_p_state=maximized&amp;amp;p_p_mode=view&amp;amp;saveLastPath=0&amp;amp;_58_struts_action=%2Flogin%2Flogin&amp;#34;&lt;br /&gt;&lt;br /&gt;The same thing happens when we try to access the page which does not have Guest role.&lt;br /&gt;&lt;br /&gt;I have created a hook which changes the content of the Sign In page. That is one solution BUT I want to change this URL or I want to redirect it to another page.&lt;br /&gt;Is this possible?&lt;br /&gt;&lt;br /&gt;Please help me.&lt;br /&gt;&lt;br /&gt;Thanks in Advance.&lt;br /&gt;&lt;br /&gt;-Nisarg</summary>
    <dc:creator>Nisarg Parikh</dc:creator>
    <dc:date>2011-08-24T08:39:47Z</dc:date>
  </entry>
</feed>
