Robots-Meta-Steuerung für Shop-Seiten (#22) #65
No reviewers
Labels
No labels
Area/API
Area/CI
Area/Frontend
Area/Katalog
Area/SEO
Area/Warenkorb
Kind/Bug
Kind/Chore
Kind/Docs
Kind/Feature
Phase/10 Shop-Widgets
Phase/1 Grundgerüst
Phase/2 Katalog
Phase/3 Shop-Seiten
Phase/4 Shop-SEO
Phase/5 Warenkorb
Phase/6 Checkout-Übergabe
Phase/7 Domain-Switcher
Phase/8 Analytics und QA
Phase/9 Release
Priority/High
Priority/Low
Priority/Normal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Sulu-Bundles/wsc_sulubundle_syliusheadless!65
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/robots-meta"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
RobotsResolver/RobotsDirective(src/Seo/) resolving the<meta name="robots">value for product, variant and category pages through three levels: an optional Sylius product attribute (wsc_seo_robots) for the main product, an optional per-webspace global default (robots_default), and a built-in fallback (index,followfor the product,noindex,followfor a variant address since it already carries a canonical to the main product).wsc_swplugin_aiseotools, module 3), documented indocs/architecture.md.ListingQuery::isNarrowed()) staysnoindex,followregardless of any configured default.index,follow— an absent tag means the same thing per browser default, but not every crawler reads that reliably as a deliberate choice.Test plan
RobotsResolverTest(11 cases covering every level and combination)ProductPageRenderTestextended with 3 real-template cases (built-in default, built-in variant default, main-product override applied to both product and variant address)BundleConfigurationTestupdated for the newrobots_defaultconfig keyindex,follow), variant address (noindex,follow), unnarrowed/narrowed category listing, and the globalrobots_defaultoverridewsc_seo_robotsproduct-attribute override itself (would require creating the attribute in the Sylius admin) — covered by mocked unit/render tests only🤖 Generated with Claude Code