feat(seo): add SEO controller for robots.txt and sitemap.xml

- Implemented SeoController with methods for serving robots.txt and sitemap.xml.
- Updated robots.txt logic to disallow access to /admin and /api paths.
- Enhanced meta tags and Open Graph data in home.html.twig for better SEO.
- Added X-Robots-Tag header in SecurityHeadersSubscriber for /admin and /api routes.
This commit is contained in:
hamed
2026-06-28 22:28:07 +03:30
parent 89451e8d3b
commit 1bf9035f5f
10 changed files with 2368 additions and 1920 deletions
+21 -1
View File
@@ -644,5 +644,25 @@
"642": "Community 642",
"643": "Community 643",
"644": "Community 644",
"645": "Community 645"
"645": "Community 645",
"646": "Community 646",
"647": "Community 647",
"648": "Community 648",
"649": "Community 649",
"650": "Community 650",
"651": "Community 651",
"652": "Community 652",
"653": "Community 653",
"654": "Community 654",
"655": "Community 655",
"656": "Community 656",
"657": "Community 657",
"658": "Community 658",
"659": "Community 659",
"660": "Community 660",
"661": "Community 661",
"662": "Community 662",
"663": "Community 663",
"664": "Community 664",
"665": "Community 665"
}