sitemap.xml, missing base URL (when generating ResponsiveHTML5)

Contributor ,
Dec 16, 2021 Dec 16, 2021

Copy link to clipboard

Copied

I use FM19 to generate ResponsiveHTML5.

In the Publish Settings, I have checked the "Generate XML Sitemap" box, and the file sitemap.xlm is now generated.

However, I have also specified a "Base URL of the Help System" - but the generated sitemap.xlm does not include the URL that I specified. For example, an entry looks like:

 

<url><loc>/Manuals/SQL_standards/SQL_standards.htm</loc><lastmod>2021-12-16</lastmod><changefreq>monthly</changefreq></url>

 

I did expect the web site URL to be included here.

How can I include that part of the URL?

TOPICS
Publishing , Responsive HTML5

Views

46

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Dec 17, 2021 Dec 17, 2021
Problem solved.Yesterday I specified the Base URL with a trailing "/" (slash character), like "https://test.somewhere.com/", and no base URL was included in the sitemap.xlm file.Now I tested without that trailing slash, "https://test.somewhere.com", and now it works. The sitemap.xlm file now has the base URL: <url><loc>https://test.somewhere.com/Manuals/SQL_standards/SQL_standards.htm</loc><lastmod>2021-12-17</lastmod><changefreq>monthly</changefreq></url>

Likes

Translate

Translate
Contributor ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

LATEST

Problem solved.

Yesterday I specified the Base URL with a trailing "/" (slash character), like "https://test.somewhere.com/", and no base URL was included in the sitemap.xlm file.

Now I tested without that trailing slash, "https://test.somewhere.com", and now it works. The sitemap.xlm file now has the base URL:

 

<url><loc>https://test.somewhere.com/Manuals/SQL_standards/SQL_standards.htm</loc><lastmod>2021-12-17</lastmod><changefreq>monthly</changefreq></url>

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines