From accd0e60dfe1e6f9cd310fefc62d6e3aa7d89172 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 27 Jul 2026 05:25:33 +0000 Subject: [PATCH] Fix Open Graph: configure site URL and stop blocking all crawlers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit public/_robots.txt disallowed every user-agent from the entire site in every environment, which stops LinkedIn's crawler (and all other bots) from ever fetching the page to read its Open Graph tags. Removing it lets @nuxtjs/seo manage indexability via site config instead, as the module itself recommends. Also add the `site` config (url/name/description) that @nuxtjs/seo needs to generate absolute og:image and og:url values — without it, prerendered OG tags could be relative/incorrect, which LinkedIn's scraper rejects. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_018f2wzgJosMytSkL6AxNUwK --- nuxt.config.ts | 7 +++++++ public/_robots.txt | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 public/_robots.txt diff --git a/nuxt.config.ts b/nuxt.config.ts index 52b2a5a..304fbce 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -15,6 +15,13 @@ export default defineNuxtConfig({ css: ['~/assets/css/main.css'], + site: { + url: 'https://godden.dev', + name: 'Morgan Godden - Software Engineer', + description: 'Portfolio of Morgan Godden, a Software Engineer based in the United Kingdom specializing in user-centered digital experiences.', + defaultLocale: 'en' + }, + content: { experimental: { sqliteConnector: 'native' diff --git a/public/_robots.txt b/public/_robots.txt deleted file mode 100644 index e8d9aed..0000000 --- a/public/_robots.txt +++ /dev/null @@ -1,3 +0,0 @@ - -User-agent: * -Disallow: / \ No newline at end of file