The dashboard is a client-rendered SPA, so the HTML served for / contained an empty <div id="root"> and nothing else. Googlebot renders JavaScript and saw the real landing page; GPTBot, ClaudeBot and PerplexityBot do not, and measured the homepage as zero characters of text. That is why the site ranks #1 in Google for its own name and is absent from AI answers. Verified: curl with a GPTBot UA returned 13,651 bytes of markup and 0 characters of body text. vite-plugin-seo.js fixes it at build time, with no runtime cost and no change to how the app mounts: - Injects crawler-visible homepage content into #root. React replaces it on mount, so users get the app unchanged. Homepage now serves 7,524 characters of text instead of 0. - Emits eight standalone static pages: four "X alternative" comparisons plus free-ai-clip-generator, open-source-video-clipper, how-openshorts-works and an /alternatives hub. Commercial-investigation prompts are answered almost entirely out of comparison content, and informational pages are cited far more than product pages. - Generates sitemap.xml (was one hand-written URL with a stale lastmod) and llms.txt from the same page list so the three cannot drift. Also corrects three things that were actively misinforming engines: - canonical pointed at the apex, which 302s to www. It named a URL that only ever redirects. Now www everywhere, matching what is served. - The schema declared one SoftwareApplication at price 0. That is true of the self-hosted edition and false of the hosted one, so the whole product read as free. Split into SoftwareApplication (MIT, $0) and Service (Cloud, real AggregateOffer of $12-59), and the FAQ answers now name both prices together. - Opus Clip was described as "$15-228/month" and the Cloud tier as a "3-day free trial". Both are stale. Competitor pricing now lives in seo/data.js with the date it was checked rendered next to it on the page. nginx: try_files gains $uri.html before $uri/, so the generated pages resolve at their clean path with a 200. Resolving them as directories makes nginx 301 to a trailing slash, which would point every canonical at a redirect. Verified against the production nginx config in a container: all 12 routes 200, no redirects, all 9 JSON-LD graphs parse, React mounts with a clean console.
69 lines
1.1 KiB
Text
69 lines
1.1 KiB
Text
# robots.txt for OpenShorts
|
|
# Search crawlers and AI crawlers are both welcome. Note that the AI crawlers
|
|
# below do not execute JavaScript, so what they read is the static HTML shipped
|
|
# by the build (the injected homepage content plus the standalone pages under
|
|
# /alternatives and friends), never the hydrated app.
|
|
|
|
User-agent: *
|
|
Allow: /
|
|
|
|
# Search engines
|
|
User-agent: Googlebot
|
|
Allow: /
|
|
|
|
User-agent: Bingbot
|
|
Allow: /
|
|
|
|
User-agent: DuckDuckBot
|
|
Allow: /
|
|
|
|
# AI training and grounding crawlers
|
|
User-agent: GPTBot
|
|
Allow: /
|
|
|
|
User-agent: OAI-SearchBot
|
|
Allow: /
|
|
|
|
User-agent: ChatGPT-User
|
|
Allow: /
|
|
|
|
User-agent: PerplexityBot
|
|
Allow: /
|
|
|
|
User-agent: Perplexity-User
|
|
Allow: /
|
|
|
|
User-agent: ClaudeBot
|
|
Allow: /
|
|
|
|
User-agent: Claude-User
|
|
Allow: /
|
|
|
|
User-agent: Claude-SearchBot
|
|
Allow: /
|
|
|
|
User-agent: anthropic-ai
|
|
Allow: /
|
|
|
|
User-agent: Google-Extended
|
|
Allow: /
|
|
|
|
User-agent: Applebot
|
|
Allow: /
|
|
|
|
User-agent: Applebot-Extended
|
|
Allow: /
|
|
|
|
User-agent: Amazonbot
|
|
Allow: /
|
|
|
|
User-agent: Bytespider
|
|
Allow: /
|
|
|
|
User-agent: meta-externalagent
|
|
Allow: /
|
|
|
|
User-agent: CCBot
|
|
Allow: /
|
|
|
|
Sitemap: https://www.openshorts.app/sitemap.xml
|