SEO in Magento 2
Magento biedt uitgebreide SEO functionaliteit. Deze handleiding behandelt de belangrijkste optimalisaties.
Meta Tags optimaliseren
Product meta tags
- URL Key: product-naam (lowercase, hyphens)
- Meta Title: Unieke titel, max 60 karakters
- Meta Keywords: Keywords (minder belangrijk tegenwoordig)
- Meta Description: Unieke beschrijving, max 155 karakters
Categorie meta tags
- Zelfde velden als producten
CMS pagina meta tags
Templates voor meta tags
Stores > Configuration > Catalog > Catalog > Product Fields Auto-Generation
Templates voor automatische generatie:
- Meta Title:
{{name}} | {{store_name}} - Meta Description:
{{name}} - {{short_description}}
XML Sitemap
Configuratie
Stores > Configuration > Catalog > XML Sitemap
Generation Settings
- Enabled: Yes
- Start Time: 02:00 (rustige periode)
- Frequency: Daily
- Error Email Recipient: [email protected]
Sitemap Inhoud
- Categories: Maximum URL's, Priority, Frequency
- Products: Maximum URL's, Priority, Frequency
- CMS Pages: Maximum URL's, Priority, Frequency
Priority richtlijnen
- Homepage: 1.0
- Belangrijke categorieën: 0.8
- Producten: 0.5
- Info pagina's: 0.3
Sitemap genereren
In robots.txt
Voeg toe aan robots.txt:
``
Sitemap: https://jouwshop.nl/sitemap.xml
`
Canonical URLs
Wat zijn canonical URLs?
Canonical URLs vertellen zoekmachines welke URL de "officiële" is bij duplicate content.
Configuratie
Stores > Configuration > Catalog > Catalog > Search Engine Optimization
- Use Canonical Link Meta Tag For Categories: Yes
- Use Canonical Link Meta Tag For Products: Yes
Probleem: Producten in meerdere categorieën
Product bereikbaar via:
/product.html
/categorie-a/product.html
/categorie-b/product.html
Canonical tag wijst naar één versie.
Robots.txt
Bestand locatie
pub/robots.txt of root robots.txt
Standaard configuratie
Content > Design > Configuration > [Store] > Search Engine Robots
Aanbevolen inhoud
`
User-agent: *
Disallow: /checkout/
Disallow: /customer/
Disallow: /catalogsearch/
Disallow: /wishlist/
Disallow: /sendfriend/
Disallow: /review/
Sitemap: https://jouwshop.nl/sitemap.xml
`
Wat blokkeren?
- Checkout pages
- Customer account
- Zoekresultaten
- Vergelijkingspagina's
- Wishlist
Rich Snippets / Structured Data
Product structured data
Magento genereert automatisch basis product schema:
- Name
- Image
- Price
- Availability
Uitbreiden
Voor betere rich snippets, voeg toe:
- Reviews/ratings
- Brand
- SKU
- Description
Extensies
- Mageplaza SEO
- Amasty Rich Snippets
- MageWorx SEO Suite
Testen
Google Rich Results Test: https://search.google.com/test/rich-results
Pagina snelheid
Core Web Vitals
Google ranking factor:
- LCP (Largest Contentful Paint)
- FID (First Input Delay)
- CLS (Cumulative Layout Shift)
Magento optimalisaties
Enable caching: Varnish + Redis
Minify JS/CSS: Configuration > Developer
Merge JS/CSS: Configuration > Developer
Image optimization: WebP, lazy loading
CDN: Content Delivery Network
Hyvä theme
Beste performance keuze voor Magento frontend.
URL structuur
Best practices
- Lowercase
- Hyphens als separator
- Kort en beschrijvend
- Keywords opnemen
- Geen parameters indien mogelijk
Configuratie
Stores > Configuration > Catalog > Catalog > Search Engine Optimization
- Product URL Suffix:
.html of leeg
Category URL Suffix: .html` of leeg
Duplicate content voorkomen
Veelvoorkomende oorzaken
Oplossingen
Layered Navigation
Stores > Configuration > Catalog > Catalog > Storefront
- Use Canonical Link for Layered Navigation: Yes
Interne linking
Breadcrumbs
Enabled by default. Belangrijk voor navigatie en SEO.
Related Products
Configureer op productniveau voor cross-linking.
Category links
Gebruik anchor categories voor goede interne structuur.
Monitoring
Google Search Console
Essentieel voor:
- Indexatie status
- Search performance
- Errors en warnings
- Core Web Vitals
Google Analytics
Track:
- Organic traffic
- Landing pages
- Bounce rates
- Conversies
SEO tools
- Screaming Frog (site audit)
- Ahrefs/SEMrush (backlinks, rankings)
- PageSpeed Insights (snelheid)
Checklist nieuwe webshop
- [ ] Meta titles/descriptions voor alle belangrijke pagina's
- [ ] XML sitemap geconfigureerd en ingediend
- [ ] Robots.txt correct ingesteld
- [ ] Canonical tags enabled
- [ ] URL structuur geconfigureerd
- [ ] Schema markup aanwezig
- [ ] Pagina snelheid geoptimaliseerd
- [ ] HTTPS geconfigureerd
- [ ] Mobile-friendly (responsive)
- [ ] Google Search Console gekoppeld