feat(seo): sitemap + robots.txt + meta OG/Twitter/canonical + site URL
- Installe @astrojs/sitemap ; integre dans astro.config.mjs avec filtre /api/ - Ajoute site: 'https://trans-former.fr' pour canonical absolues - BaseLayout : props ogImage + canonical + isArticle + articleDate ; meta description/canonical/robots/OG/Twitter Card complets ; suppression doublons - manifeste.astro : passe isArticle=true pour Schema.org Article - public/robots.txt : open index + GPTBot/ClaudeBot/Google-Extended/Applebot-Extended/PerplexityBot explicites
This commit is contained in:
19
public/robots.txt
Normal file
19
public/robots.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
User-agent: GPTBot
|
||||
Allow: /
|
||||
|
||||
User-agent: ClaudeBot
|
||||
Allow: /
|
||||
|
||||
User-agent: Google-Extended
|
||||
Allow: /
|
||||
|
||||
User-agent: Applebot-Extended
|
||||
Allow: /
|
||||
|
||||
User-agent: PerplexityBot
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://trans-former.fr/sitemap-index.xml
|
||||
Reference in New Issue
Block a user