Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

docs: Explain which categories receive SEO URLs - #2681

Open
Daniel Kirkland (d-kirkland) wants to merge 3 commits into
mainfrom
docs/category-seo-url-scope
Open

Daniel Kirkland (d-kirkland) wants to merge 3 commits into
mainfrom
docs/category-seo-url-scope

Conversation

@d-kirkland

@d-kirkland Daniel Kirkland (d-kirkland) commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds a section called "Which categories receive SEO URLs" under "SEO and URLs" on the categories concept page. It is for developers and merchants who want to know why a category has no SEO URL.
  • Names NavigationPageSeoUrlRoute, the route frontend.navigation.page, the navigationId parameter, and the default template.
  • Explains the scope rules: only active categories, no folder categories, and the category must be the sales channel's navigation, footer, or service entry category or sit below one. It also explains why the entry category itself gets no URL with the default template.
  • Explains when existing URLs are marked as deleted, that a template error is logged as a warning and leaves the category without a new URL, and the external-storefront domain condition for API sales channels.

Related links

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant. (Names and values were checked against the source at the tag linked above.)
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted. (N/A, no page moved.)
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms. (Check needed if CI Spellcheck flags a word.)
  • Any required dependent changes in downstream modules have already been merged and published. (N/A)
  • This pull request is ready for review.

Notes

  • This PR was fully AI generated (Claude Code) and requires human review. It has not been merged, approved or reviewed by the AI session. Please verify the claims and the changed text against the source before merging.
  • Type: documentation gap, an addition to an existing page. The gap was found by testing the Shopware developer-docs chatbot with AI-generated questions. It was not reported by developers.
  • Codebase files this text was checked against (tag v6.7.15.1): src/Core/Content/Category/Util/CategoryBreadcrumbHelper.php L46-L48; src/Core/Content/Seo/SeoUrlGenerator.php L141-L142; src/Core/Content/Seo/SeoUrlGenerator.php L162-L163; src/Core/Content/Seo/SeoUrlGenerator.php L171-L175; src/Core/Content/Seo/SeoUrlGenerator.php L79-L82; src/Core/Content/Seo/SeoUrlPersister.php L108-L111; src/Core/Content/Seo/SeoUrlPersister.php L160-L163; src/Core/Content/Seo/SeoUrlPersister.php L163-L164; src/Core/Content/Seo/SeoUrlRoute/SeoUrlRouteConfig.php L15-L17; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L100-L105; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L21-L23; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L24-L24; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L40-L42; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L49-L51; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L69-L71; src/Storefront/Framework/Seo/SeoUrlRoute/NavigationPageSeoUrlRoute.php L90-L92.
  • How it was written and checked: drafted by an AI model from the platform source with every statement mapped to a quoted source line, each quote re-checked mechanically, every sentence re-checked by a second AI model against the source. Please check the cited lines yourself before merging.
  • Deliberately not covered because the source does not settle it: Whether existing SEO URL rows of a category with a mapping error still resolve in the storefront; Whether visibility rules, hide-in-navigation, or customer groups affect SEO URL generation; How link-type categories behave when their generated URL is opened; Whether a custom template can give the entry category a usable URL.
  • No other open pull request changes these pages (checked against all open pull requests on 2026-11-02, including the merge test).
  • Scope: main (Shopware 6.7) only.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@d-kirkland Daniel Kirkland (d-kirkland) added Undocumented Feature Feature which is not documented yet and is considered for documentation Improvement PR created to append/modify info in the existing article Concept Concepts section of dev docs labels Nov 2, 2026
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 3bb97d3
Preview: https://developer-documentation-kmr115rm2-shopware-frontends.vercel.app
Workflow run: #5961

@d-kirkland

Copy link
Copy Markdown
Contributor Author

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 v6.7.15.1 with every statement mapped to a quoted source line, and the quotes were re-checked mechanically. A second AI model then checked every sentence against the source, and a third AI check that saw only the final text found the supporting source line for each statement itself. Where those checks found a statement broader than the source allows, the text was narrowed and checked again. The docs lint (rumdl) and the style rules pass, and no other open pull request changes these pages.

A person still needs to confirm the content. Please say if a statement is wrong or if this belongs on a different page.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread concepts/commerce/catalog/categories.md Resolved
Comment thread concepts/commerce/catalog/categories.md Resolved
Comment thread concepts/commerce/catalog/categories.md Resolved
@d-kirkland

Daniel Kirkland (d-kirkland) commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Agent 00-Docs (an AI agent, posting from the PR author's account). I pushed a follow-up commit (fe79107).

  • Clarified per-sales-channel SEO template configuration, the storefront and headless routes, and the sales-channel requirements.
  • Specified the category's own active state, folder and link behavior, entry-category boundary, and that children of inactive categories are not excluded.
  • Explained regeneration triggers and deletion behavior: deactivation or changing to folder alone does not regenerate URLs; per-category rendering errors preserve existing URLs, while a Twig syntax error marks all IDs requested for that run as deleted.

Checked against Shopware source at v6.7.15.1. The PageRef check, rumdl 0.2.67, full Markdown spellcheck, and asset filename checks passed. The warning-level LanguageTool check exited successfully with one punctuation warning at line 86.

A second AI model checked the same page against the source. A person still needs to confirm the behavior.

@d-kirkland

Copy link
Copy Markdown
Contributor Author

Martin Krzykawski (@MartinKrzykawski)
Hey Martin, thank you for your review and comments. If you would, please take a look at the latest changes, based on your change requests. And please be a bit patient with this PR. The PR was generated out of an analysis of responses from a chatbot that has been developed for dev docs. The analysis found a gap in the docs, and another agentic pipeline generated this PR. Any comments and observations that you make are really helpful to be able to make refinements to the docs generation pipeline which needs some refinement.

@Isengo1989 Micha Hobert (Isengo1989) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR Daniel Kirkland (@d-kirkland) 👍

Martin Krzykawski (@MartinKrzykawski), could you take another look ?

@MartinKrzykawski

Copy link
Copy Markdown
Contributor

LGTM - was on vacation last week, sorry for the delay :)

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

Labels

Concept Concepts section of dev docs feedback-required Improvement PR created to append/modify info in the existing article Undocumented Feature Feature which is not documented yet and is considered for documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants