<?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>Getting parent url inside my a href tag</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120656916" />
  <subtitle>Getting parent url inside my a href tag</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120656916</id>
  <updated>2026-04-06T15:03:33Z</updated>
  <dc:date>2026-04-06T15:03:33Z</dc:date>
  <entry>
    <title>RE: Getting parent url inside my a href tag</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120657713" />
    <author>
      <name>Dejan Obradovic</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120657713</id>
    <updated>2021-03-03T10:43:51Z</updated>
    <published>2021-03-03T10:43:51Z</published>
    <summary type="html">&lt;p&gt;Hi Mohammed, &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;That was fix! &lt;/p&gt;
&lt;p&gt;I don't understand how it worked without http:// ? After the last
  publsh from stagging to live, it happend? &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks for respone&lt;/p&gt;
&lt;pre id="tw-target-text"&gt;
 &lt;/pre&gt;
&lt;pre id="tw-target-rmn"&gt;
 &lt;/pre&gt;</summary>
    <dc:creator>Dejan Obradovic</dc:creator>
    <dc:date>2021-03-03T10:43:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Getting parent url inside my a href tag</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120656966" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120656966</id>
    <updated>2021-03-03T10:41:49Z</updated>
    <published>2021-03-02T12:02:58Z</published>
    <summary type="html">&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;If test.com is seperate domian/website then you may need
  to prepend http://( https:// - if ssl enabled) &lt;/p&gt;
&lt;p&gt;Ex. &amp;lt;a href=&amp;quot;http://test.com/help&amp;quot;&amp;gt; &lt;/p&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2021-03-02T12:02:58Z</dc:date>
  </entry>
  <entry>
    <title>Getting parent url inside my a href tag</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120656915" />
    <author>
      <name>Dejan Obradovic</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120656915</id>
    <updated>2021-03-02T11:30:17Z</updated>
    <published>2021-03-02T11:30:16Z</published>
    <summary type="html">&lt;p&gt;In my widget template inside my script any of links - ahref tags
  having parent url before my url that I put in link tag?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For example: &amp;lt;a href=&amp;quot;test.com/help&amp;quot;&amp;gt; - getting:
  www.parent-url/test.com/help&amp;quot;. I want just to redirect to the
  page test.com&lt;/p&gt;
&lt;pre id="tw-target-text"&gt;I don't know why thi happend at all?&lt;/pre&gt;
&lt;p&gt;Any help would be nice, thanks. &lt;/p&gt;</summary>
    <dc:creator>Dejan Obradovic</dc:creator>
    <dc:date>2021-03-02T11:30:16Z</dc:date>
  </entry>
</feed>
