sitemap и тд

This commit is contained in:
Georgiy Syralev
2025-11-01 12:29:46 +03:00
parent 727785c7a0
commit d45baf2260
80 changed files with 9811 additions and 748 deletions

View File

@@ -0,0 +1,7 @@
RewriteEngine On
RewriteBase /
# Если файл или папка существует — отдать как есть
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Иначе — отдать index.html
RewriteRule ^ index.html [L]

View File

@@ -0,0 +1,24 @@
User-agent: *
Allow: /
Allow: /about
Allow: /tariffs
Allow: /login
Allow: /register
Allow: /terms
Disallow: /dashboard
Disallow: /api/
Disallow: /admin
Disallow: /private
Sitemap: https://ospab.host/sitemap.xml
# Yandex
User-agent: Yandexbot
Allow: /
Crawl-delay: 0
# Google
User-agent: Googlebot
Allow: /
Crawl-delay: 0