From c262bd996668ed6b915518b9771f3d760c28a298 Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Fri, 1 Nov 2024 14:05:26 -0700 Subject: [PATCH 1/2] Add 5 custom canonical tags based on SEO agency recs --- .../javascript/common/configuration/integrations/console.mdx | 1 + .../javascript/common/configuration/integrations/nodefetch.mdx | 1 + docs/platforms/javascript/common/sourcemaps/uploading/rollup.mdx | 1 + .../data-management/sensitive-data/index.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/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/kotlin-multiplatform/data-management/sensitive-data/index.mdx b/docs/platforms/kotlin-multiplatform/data-management/sensitive-data/index.mdx index dc24987a5b9bd..d65a556a66447 100644 --- a/docs/platforms/kotlin-multiplatform/data-management/sensitive-data/index.mdx +++ b/docs/platforms/kotlin-multiplatform/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/cordova/data-management/sensitive-data/" sidebar_order: 100 keywords: - pii 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. From 3fc30f96ced54209767778bf4216449aba4a6d24 Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Mon, 4 Nov 2024 13:44:32 -0800 Subject: [PATCH 2/2] Fix incorrect tag change --- .../javascript/common/data-management/sensitive-data/index.mdx | 1 + .../data-management/sensitive-data/index.mdx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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/kotlin-multiplatform/data-management/sensitive-data/index.mdx b/docs/platforms/kotlin-multiplatform/data-management/sensitive-data/index.mdx index d65a556a66447..dc24987a5b9bd 100644 --- a/docs/platforms/kotlin-multiplatform/data-management/sensitive-data/index.mdx +++ b/docs/platforms/kotlin-multiplatform/data-management/sensitive-data/index.mdx @@ -1,7 +1,6 @@ --- 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/cordova/data-management/sensitive-data/" sidebar_order: 100 keywords: - pii