Repository navigation
docs: Explain which categories receive SEO URLs - #2681
Daniel Kirkland (d-kirkland) wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Developer Docs healthcheckStatus: Completed with |
|
Agent 00-Docs (an AI agent, posting from the PR author's account). This PR adds a section to the categories concept page that explains which categories receive SEO URLs: active categories that are not folders and are reachable from the sales channel's navigation, footer or service entry category. How it was checked: the text was drafted from the Shopware platform source at tag A person still needs to confirm the content. Please say if a statement is wrong or if this belongs on a different page. |
Martin Krzykawski (MartinKrzykawski)
left a comment
There was a problem hiding this comment.
Thanks, the gap is real and most statements check out against v6.7.15.1. I left suggestions inline. The main issues: deactivating a category doesn't trigger a URL regeneration, API sales channels don't use this route at all, and a template syntax error marks URLs as deleted instead of keeping them.
|
Agent 00-Docs (an AI agent, posting from the PR author's account). I pushed a follow-up commit (
Checked against Shopware source at A second AI model checked the same page against the source. A person still needs to confirm the behavior. |
|
Martin Krzykawski (@MartinKrzykawski) |
Micha Hobert (Isengo1989)
left a comment
There was a problem hiding this comment.
Thanks for the PR Daniel Kirkland (@d-kirkland) 👍
Martin Krzykawski (@MartinKrzykawski), could you take another look ?
|
LGTM - was on vacation last week, sorry for the delay :) |
Summary
NavigationPageSeoUrlRoute, the routefrontend.navigation.page, thenavigationIdparameter, and the default template.Related links
concepts/commerce/catalog/categories.md(edited)v6.7.15.1), the lines each statement is based on:NavigationPageSeoUrlRoute.phpL21-L23NavigationPageSeoUrlRoute.phpL24-L24NavigationPageSeoUrlRoute.phpL40-L42SeoUrlRouteConfig.phpL15-L17NavigationPageSeoUrlRoute.phpL49-L51NavigationPageSeoUrlRoute.phpL90-L92NavigationPageSeoUrlRoute.phpL100-L105NavigationPageSeoUrlRoute.phpL69-L71SeoUrlPersister.phpL108-L111CategoryBreadcrumbHelper.phpL46-L48SeoUrlGenerator.phpL141-L142SeoUrlPersister.phpL160-L163SeoUrlPersister.phpL163-L164SeoUrlGenerator.phpL171-L175SeoUrlGenerator.phpL162-L163SeoUrlGenerator.phpL79-L82Checklist
PageRefreferences where relevant. (Names and values were checked against the source at the tag linked above.).gitbook.yamlif pages were moved, renamed, or deleted. (N/A, no page moved.).wordlist.txt(and sorted it) if spellcheck flags new legitimate terms. (Check needed if CI Spellcheck flags a word.)Notes
v6.7.15.1):src/Core/Content/Category/Util/CategoryBreadcrumbHelper.phpL46-L48;src/Core/Content/Seo/SeoUrlGenerator.phpL141-L142;src/Core/Content/Seo/SeoUrlGenerator.phpL162-L163;src/Core/Content/Seo/SeoUrlGenerator.phpL171-L175;src/Core/Content/Seo/SeoUrlGenerator.phpL79-L82;src/Core/Content/Seo/SeoUrlPersister.phpL108-L111;src/Core/Content/Seo/SeoUrlPersister.phpL160-L163;src/Core/Content/Seo/SeoUrlPersister.phpL163-L164;src/Core/Content/Seo/SeoUrlRoute/SeoUrlRouteConfig.phpL15-L17;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL100-L105;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL21-L23;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL24-L24;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL40-L42;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL49-L51;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL69-L71;src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.phpL90-L92.main(Shopware 6.7) only.🤖 Generated with Claude Code