<?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>Sitemap.xml generation with multilingual option</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=56708278" />
  <subtitle>Sitemap.xml generation with multilingual option</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=56708278</id>
  <updated>2026-04-11T11:56:58Z</updated>
  <dc:date>2026-04-11T11:56:58Z</dc:date>
  <entry>
    <title>RE: Sitemap.xml generation with multilingual option</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=56721486" />
    <author>
      <name>Bijan Vakili</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=56721486</id>
    <updated>2015-07-25T01:06:41Z</updated>
    <published>2015-07-25T01:06:41Z</published>
    <summary type="html">I see you found related LPS : &lt;a href="https://issues.liferay.com/browse/LPS-30767?jql=text%20~%20%22sitemap%20language%22"&gt;LPS-30767&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please create a new LPS ticket; and include the property for portal: &amp;#34;portal.ctx&amp;#34;  (Login to portal as Administrator -&amp;gt; Control Panel -&amp;gt; Server Administration -&amp;gt; Properties -&amp;gt; search for portal.ctx)&lt;br /&gt;&lt;br /&gt;If it&amp;#39;s blank, then this is likely a bug;  though support should get back to you on that; in the meantime, you can debug yourself (that is, are you developer yourself?):&lt;br /&gt;&lt;br /&gt;Set a breakpoint for the following line:&lt;br /&gt;&lt;br /&gt;com.liferay.portal.util.PortalImpl line 991&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/liferay/liferay-portal/blob/6.2.1-ga2/portal-impl/src/com/liferay/portal/util/PortalImpl.java#L991"&gt;https://github.com/liferay/liferay-portal/blob/6.2.1-ga2/portal-impl/src/com/liferay/portal/util/PortalImpl.java#L991&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And step through to see why wrong one is made; let us know if this method works for you; the site URLs are correct for me; so I&amp;#39;m not sure why happening to yours.&lt;br /&gt;&lt;br /&gt;PS. Here&amp;#39;s an old article on debugging: &lt;a href="https://www.liferay.com/web/raymond.auge/blog/-/blogs/debugging-liferay-in-eclipse"&gt;https://www.liferay.com/web/raymond.auge/blog/-/blogs/debugging-liferay-in-eclipse&lt;/a&gt;&lt;br /&gt;Note it&amp;#39;s just jdb and you can use command-line or any other IDE that supports debugging.</summary>
    <dc:creator>Bijan Vakili</dc:creator>
    <dc:date>2015-07-25T01:06:41Z</dc:date>
  </entry>
  <entry>
    <title>Sitemap.xml generation with multilingual option</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=56708277" />
    <author>
      <name>Graciela Analuisa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=56708277</id>
    <updated>2015-07-24T22:26:03Z</updated>
    <published>2015-07-24T22:26:03Z</published>
    <summary type="html">Hello.&lt;br /&gt;&lt;br /&gt;I use Liferay Portal Community Edition 6.2 CE GA2 and when I generate the sitemap.xml there are errors. We use two languages: english and spanish.&lt;br /&gt;&lt;br /&gt;For example, we have the web page &amp;#34;la-ups&amp;#34; and in the sitemap.xml it appears as you can see bellow:&lt;br /&gt;&amp;lt;url&amp;gt;&lt;br /&gt;&amp;lt;loc&amp;gt;http://www.ups.edu.ec/la-ups&amp;lt;/loc&amp;gt;&lt;br /&gt;&amp;lt;changefreq&amp;gt;daily&amp;lt;/changefreq&amp;gt;&lt;br /&gt;&amp;lt;lastmod&amp;gt;2015-07-03T11:56:46-05:00&amp;lt;/lastmod&amp;gt;&lt;br /&gt;&amp;lt;link href=&amp;#34;http://www.ups.edu.ec/la-ups/en&amp;#34; hreflang=&amp;#34;en-US&amp;#34; rel=&amp;#34;alternate&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;link href=&amp;#34;http://www.ups.edu.ec/la-ups/es&amp;#34; hreflang=&amp;#34;es-ES&amp;#34; rel=&amp;#34;alternate&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;link rel=&amp;#34;alternate&amp;#34; hreflang=&amp;#34;x-default&amp;#34; href=&amp;#34;http://www.ups.edu.ec/la-ups&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;/url&amp;gt;&lt;br /&gt;&amp;lt;url&amp;gt;&lt;br /&gt;&amp;lt;loc&amp;gt;http://www.ups.edu.ec/la-ups/en&amp;lt;/loc&amp;gt;&lt;br /&gt;&amp;lt;changefreq&amp;gt;daily&amp;lt;/changefreq&amp;gt;&lt;br /&gt;&amp;lt;lastmod&amp;gt;2015-07-03T11:56:46-05:00&amp;lt;/lastmod&amp;gt;&lt;br /&gt;&amp;lt;link href=&amp;#34;http://www.ups.edu.ec/la-ups/en&amp;#34; hreflang=&amp;#34;en-US&amp;#34; rel=&amp;#34;alternate&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;link href=&amp;#34;http://www.ups.edu.ec/la-ups/es&amp;#34; hreflang=&amp;#34;es-ES&amp;#34; rel=&amp;#34;alternate&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;link rel=&amp;#34;alternate&amp;#34; hreflang=&amp;#34;x-default&amp;#34; href=&amp;#34;http://www.ups.edu.ec/la-ups&amp;#34;/&amp;gt;&lt;br /&gt;&amp;lt;/url&amp;gt;&lt;br /&gt;&lt;br /&gt;The following links are wrong:&lt;br /&gt;http://www.ups.edu.ec/la-ups/en&lt;br /&gt;http://www.ups.edu.ec/la-ups/es&lt;br /&gt;&lt;br /&gt;The links should look like this:&lt;br /&gt;http://www.ups.edu.ec/en/la-ups&lt;br /&gt;http://www.ups.edu.ec/es/la-ups&lt;br /&gt;&lt;br /&gt;You can see these errors here-&amp;gt; http://www.ups.edu.ec/sitemap.xml?groupId=10184&amp;amp;privateLayout=false&lt;br /&gt;&lt;br /&gt;Please, help me.</summary>
    <dc:creator>Graciela Analuisa</dc:creator>
    <dc:date>2015-07-24T22:26:03Z</dc:date>
  </entry>
</feed>
