Removing the full path on the canonical tag for urls with filter parameters for SEO.

pull/16426/head
bdiniscia 2 years ago
parent 64bc263488
commit 9a29800981

@ -94,7 +94,7 @@ router.afterEach(to => {
if (!to.meta.titleInComponent) { if (!to.meta.titleInComponent) {
document.title = to.meta.title(to); document.title = to.meta.title(to);
} }
addCanonical(`https://carto.com/spatial-data-catalog/browser${to.fullPath}`); addCanonical(`https://carto.com/spatial-data-catalog/browser${to.path}`);
}); });
}); });

Loading…
Cancel
Save