Add sitemap and robots.txt, update home page stats to static values, and fix prayer language detection
- Create sitemap.xml with internationalized routes and proper SEO attributes - Create robots.txt with appropriate crawling rules for public/private content - Update home page stats to show static values (1,416 Bible versions, 17M+ verses) - Remove live stats API calls to eliminate loading delays - Add /api/stats endpoint for potential future use - Fix Romanian prayers incorrectly tagged as English in database - Add missing AZURE_OPENAI_DEPLOYMENT to .env.example - Update translation keys for Bible versions stat - Add sample English prayer requests to populate prayer wall 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
39
public/robots.txt
Normal file
39
public/robots.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Allow access to public pages
|
||||
Allow: /en/
|
||||
Allow: /ro/
|
||||
Allow: /en/bible
|
||||
Allow: /ro/bible
|
||||
Allow: /en/prayers
|
||||
Allow: /ro/prayers
|
||||
Allow: /en/search
|
||||
Allow: /ro/search
|
||||
Allow: /en/contact
|
||||
Allow: /ro/contact
|
||||
|
||||
# Disallow admin pages
|
||||
Disallow: /admin/
|
||||
|
||||
# Disallow private user pages
|
||||
Disallow: /*/dashboard
|
||||
Disallow: /*/profile
|
||||
Disallow: /*/settings
|
||||
Disallow: /*/bookmarks
|
||||
|
||||
# Disallow API endpoints
|
||||
Disallow: /api/
|
||||
|
||||
# Disallow authentication pages from indexing
|
||||
Disallow: /*/login
|
||||
Disallow: /*/auth/
|
||||
|
||||
# Allow static assets
|
||||
Allow: /_next/static/
|
||||
Allow: /favicon.ico
|
||||
Allow: /images/
|
||||
Allow: /icons/
|
||||
|
||||
# Sitemap location
|
||||
Sitemap: https://biblicalguide.com/sitemap.xml
|
||||
116
public/sitemap.xml
Normal file
116
public/sitemap.xml
Normal file
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<!-- English routes -->
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en/bible</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.9</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/bible" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/bible" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en/prayers</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.8</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/prayers" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/prayers" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en/search</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/search" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/search" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en/contact</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/contact" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/contact" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en/login</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.5</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/login" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/login" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/en/auth/login</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.5</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/auth/login" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/auth/login" />
|
||||
</url>
|
||||
|
||||
<!-- Romanian routes -->
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro/bible</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.9</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/bible" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/bible" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro/prayers</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.8</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/prayers" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/prayers" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro/search</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/search" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/search" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro/contact</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/contact" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/contact" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro/login</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.5</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/login" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/login" />
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://biblicalguide.com/ro/auth/login</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.5</priority>
|
||||
<xhtml:link rel="alternate" hreflang="ro" href="https://biblicalguide.com/ro/auth/login" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://biblicalguide.com/en/auth/login" />
|
||||
</url>
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user