View Issue Details

IDProjectCategoryView StatusLast Update
0035523mantisbtfeaturepublic2025-04-03 02:30
Reporterraspopov Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
PlatformMicrosoftOSWindows ServerOS Version2022
Product Version2.27.0 
Summary0035523: Sitemap support
Description

MantisBT content, even with public access, tends to be poorly indexed by search engines due to the lack of a global list of issues. To solve this problem, we can try using Sitemap technology.

Follows discussion in forums: https://mantisbt.org/forums/viewtopic.php?p=81300

Additional Information

According to the description of sitemap, this file should be located in the root relative to the indexed files contained in it, so the implementation of this functionality in the form of a plugin is apparently impossible.

There is also the problem of publishing the sitemap file. It is assumed that the webmaster will do the initial publishing of the file manually, using the search engine console. There also seems to be an HTML5 tag <link rel=“sitemap”> that allows you to publish the sitemap file directly from the page. And there is a way, described in the official Google help, to do this using the Sitemap: instruction of the robots.txt file.

TagsNo tags attached.

Relationships

related to 0009991 closedvboctor Skip search engines indexing of login page, sign up page, and forgot password 

Activities

raspopov

raspopov

2025-02-28 12:38

reporter   ~0069934

PR (draft): https://github.com/mantisbt/mantisbt/pull/2111

raspopov

raspopov

2025-03-19 12:09

reporter   ~0070002

I need to get links to the pages used by MantisBT, and to do that I need to pull the sidebar code from layout_api.php, for example, as a separate API.

raspopov

raspopov

2025-03-20 12:48

reporter   ~0070009

Last edited: 2025-03-20 12:51

There is another issue with page caching in MantisBT. In order for the browser and search engines to work properly, the "Last-Modified" and "If-Modified-Since" headers must be set and handled correctly. However, MantisBT pages use collapsible widgets that stop working if the page is not refreshed every time, because the state is stored in cookies, which is a strange choice...

And cookies are ignored for anonymous users (including search engines), and accordingly widgets stop minimizing...