From a3f8187e7640efc389e9c0ad149b79fd210310c4 Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Wed, 6 Nov 2024 17:07:04 -0800 Subject: [PATCH] Add 5 custom canonical tags based on SEO agency recs (#11727) * Add 5 custom canonical tags based on SEO agency recs * Fix incorrect tag change --------- Co-authored-by: Alex Krawiec --- .../javascript/common/configuration/integrations/console.mdx | 1 + .../javascript/common/configuration/integrations/nodefetch.mdx | 1 + .../javascript/common/data-management/sensitive-data/index.mdx | 1 + docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx | 1 + .../tracing/trace-propagation/dealing-with-cors-issues/index.mdx | 1 + 5 files changed, 5 insertions(+) diff --git a/docs/platforms/javascript/common/configuration/integrations/console.mdx b/docs/platforms/javascript/common/configuration/integrations/console.mdx index aa56ad6c561f3..76a8ffd7aa19f 100644 --- a/docs/platforms/javascript/common/configuration/integrations/console.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/console.mdx @@ -1,6 +1,7 @@ --- title: Console description: "Capture console logs as breadcrumbs. (default)" +customCanonicalTag: "/platforms/javascript/guides/express/configuration/integrations/console/" supported: - javascript.node - javascript.aws-lambda diff --git a/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx b/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx index daeda95213ab1..15d0f1bc790f6 100644 --- a/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/nodefetch.mdx @@ -1,6 +1,7 @@ --- title: NodeFetch description: "Capture spans & breadcrumbs for node fetch requests. (default)" +customCanonicalTag: "/platforms/javascript/guides/nuxt/configuration/integrations/nodefetch/" supported: - javascript.node - javascript.aws-lambda diff --git a/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx b/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx index 7ae640f698c81..5099fbc97671e 100644 --- a/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx +++ b/docs/platforms/javascript/common/data-management/sensitive-data/index.mdx @@ -1,6 +1,7 @@ --- title: "Scrubbing Sensitive Data" description: "Learn about filtering or scrubbing sensitive data within the SDK, so that data is not sent with the event. You can also configure server-side scrubbing to ensure the data is not stored." +customCanonicalTag: "/platforms/javascript/guides/koa/data-management/sensitive-data/" sidebar_order: 100 keywords: - pii diff --git a/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx b/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx index b7c4d1323a774..c9205fa53c3d1 100644 --- a/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx +++ b/docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx @@ -2,6 +2,7 @@ title: Rollup description: "Upload your source maps with the Sentry Rollup Plugin." sidebar_order: 5 +customCanonicalTag: "/platforms/javascript/guides/koa/sourcemaps/uploading/rollup/" --- diff --git a/docs/platforms/native/common/tracing/trace-propagation/dealing-with-cors-issues/index.mdx b/docs/platforms/native/common/tracing/trace-propagation/dealing-with-cors-issues/index.mdx index 14cd5204c8090..e8d44502a5aa2 100644 --- a/docs/platforms/native/common/tracing/trace-propagation/dealing-with-cors-issues/index.mdx +++ b/docs/platforms/native/common/tracing/trace-propagation/dealing-with-cors-issues/index.mdx @@ -1,6 +1,7 @@ --- title: Dealing with CORS Issues sidebar_order: 80 +customCanonicalTag: "/platforms/javascript/guides/wasm/tracing/trace-propagation/dealing-with-cors-issues/" --- If your frontend and backend are hosted on different domains (for example, your frontend is on `https://example.com` and your backend is on `https://api.example.com`), and the frontend does XHR/fetch requests to your backend, you'll need to configure your backend [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) headers to ensure requests aren't blocked.