From 17b278baccc28e20ebded691bea4affb87977f2c Mon Sep 17 00:00:00 2001 From: bdenham Date: Wed, 19 Feb 2025 09:31:45 -0500 Subject: [PATCH 1/2] wip: site indexing issue fixes --- astro.config.mjs | 2 +- .../{customize-checkout.astro => _customize-checkout.astro} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/pages/videos/{customize-checkout.astro => _customize-checkout.astro} (100%) diff --git a/astro.config.mjs b/astro.config.mjs index 5316f331a..2612e855f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -23,7 +23,7 @@ export default defineConfig({ image: { service: passthroughImageService(), }, - site: 'https://experienceleague.adobe.com', + site: 'https://experienceleague.adobe.com/developer/commerce/storefront/', base: basePath, markdown: { remarkPlugins: [remarkBasePathLinks] diff --git a/src/pages/videos/customize-checkout.astro b/src/pages/videos/_customize-checkout.astro similarity index 100% rename from src/pages/videos/customize-checkout.astro rename to src/pages/videos/_customize-checkout.astro From f3c420032b31827f48597d7cf3164341ed2f7ded Mon Sep 17 00:00:00 2001 From: bdenham Date: Mon, 24 Feb 2025 16:26:09 -0500 Subject: [PATCH 2/2] feat: allow Google to index all site pages --- public/robots.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/public/robots.txt b/public/robots.txt index f58dbcb2e..8cf43e028 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,3 @@ -# Example: Allow all bots to scan and index your site. -# Full syntax: https://developers.google.com/search/docs/advanced/robots/create-robots-txt User-agent: * -Allow: / +Disallow: +Sitemap: https://experienceleague.adobe.com/developer/commerce/storefront/sitemap-0.xml