Skip to content

Sitemap.xml: Redirected categories still as categories in sitemap.xml #9

@Boumii

Description

@Boumii

Situation:
Store has a main categorie with subcategories in main navigation:
-MainCat
--SubCat01
--SubCat02
-- ...
I use your addon to link SubCat01 to a custom page Page01. The link becomes domain.tdl/page01 and is shown in sitemap.xml, thats fine!

Issue:
Although SubCat01 is redirected to a "page", sitemap.xml still lists this entry:
domain.tld/maincat/page01.html, which seems to come from category generation. This link leads to no content due to CategoryRedirect.

Solution:
It would be great, if your addon could influence sitemap generation in a way, that categories redirected by your addon, would be skipped in sitemap 'category' generation, but take place in 'page' generation process.

Respecfully Boumii

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions