Skip to content

Commit 62d5026

Browse files
AdSense: fix robots /dashboards/ typo, add Privacy Policy to footer, remove dashboard sub-pages from sitemap
1 parent 06bedd1 commit 62d5026

3 files changed

Lines changed: 12 additions & 16 deletions

File tree

app/robots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function robots(): MetadataRoute.Robots {
88
// /lp/ is intentionally NOT blocked so SEO landing pages can rank
99
userAgent: '*',
1010
allow: '/',
11-
disallow: ['/api/', '/dashboard/', '/admin/', '/preview'],
11+
disallow: ['/api/', '/dashboards/', '/admin/', '/preview', '/tools/workspace'],
1212
},
1313

1414
// ── Google crawlers ───────────────────────────────────────────────

app/sitemap.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
7979
'/services',
8080
'/portfolio',
8181
'/blog',
82-
'/dashboards',
82+
'/dashboards', // Dashboard index — kept (editorial overview content)
83+
// Individual dashboard sub-pages excluded: JS-rendered charts are thin content for crawlers
84+
// They are blocked in robots.ts under /dashboards/
8385
'/about',
8486
'/contact',
8587
'/privacy',
@@ -110,6 +112,7 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
110112
'/tools/mermaid-forge',
111113
'/tools/bi-roi-calculator',
112114
'/tools/prompt-auditor',
115+
// /tools/workspace excluded — app interface, blocked in robots.ts
113116
'/infrastructure',
114117
'/knowledge/taxonomy',
115118
'/knowledge/standards',
@@ -120,20 +123,12 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
120123
'/knowledge/rfc/002-execution-chains',
121124
'/knowledge/rfc/003-intent-mapping',
122125
'/knowledge/comparisons',
123-
'/dashboards/global-sales-intelligence',
124-
'/dashboards/collection-intelligence',
125-
'/dashboards/revenue-intelligence',
126-
'/dashboards/interactive',
127-
'/dashboards/blinkit-sales',
128-
'/dashboards/sales-pipeline',
129-
'/dashboards/surgical-ai',
130126
].map((route) => ({
131127
url: `${baseUrl}${route}`,
132128
lastModified: baselineDate,
133-
changeFrequency: route.startsWith('/dashboards/') || route.startsWith('/tools/') ? 'weekly' as const : 'monthly' as const,
129+
changeFrequency: route.startsWith('/tools/') ? 'weekly' as const : 'monthly' as const,
134130
priority: route === '' ? 1.0
135131
: route === '/tools' ? 0.9
136-
: route.startsWith('/dashboards/') ? 0.85
137132
: route.startsWith('/tools/') ? 0.85
138133
: 0.7,
139134
}));

components/Footer.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ const NAV_LINKS: NavSection[] = [
6060
{
6161
heading: 'Explore',
6262
links: [
63-
{ label: 'Live Feed', href: '/analytics-live', icon: Activity },
64-
{ label: 'Technical Blog', href: '/blog', icon: BookOpen },
65-
{ label: 'AI Glossary', href: '/glossary', icon: Search },
66-
{ label: 'Disclaimer', href: '/disclaimer', icon: Shield },
67-
{ label: 'Sitemap', href: '/sitemap.xml', icon: Globe, external: true },
63+
{ label: 'Live Feed', href: '/analytics-live', icon: Activity },
64+
{ label: 'Technical Blog', href: '/blog', icon: BookOpen },
65+
{ label: 'AI Glossary', href: '/glossary', icon: Search },
66+
{ label: 'Privacy Policy', href: '/privacy', icon: Shield },
67+
{ label: 'Disclaimer', href: '/disclaimer', icon: Shield },
68+
{ label: 'Sitemap', href: '/sitemap.xml', icon: Globe, external: true },
6869
],
6970
},
7071
{

0 commit comments

Comments
 (0)