Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Boumii opened this issue Nov 5, 2018 · 2 comments
Open

Comments

@Boumii
Copy link

Boumii commented Nov 5, 2018

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

@amenk
Copy link
Member

amenk commented Oct 17, 2019

Sounds like an interesting issue. Can you make a pull request?

@amenk
Copy link
Member

amenk commented Apr 4, 2020

@Boumii are yo still interested in this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants