-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Ticket: [Feature] Add Canonical Link
Description:
This ticket proposes adding a canonical link to the <head> of all relevant pages within our Next.js project. A canonical link helps search engines understand the preferred version of a URL when multiple URLs exist with similar content, thus preventing duplicate content issues and consolidating link equity.
Acceptance Criteria:
- A
next/headcomponent (or equivalent) is used to dynamically add the canonical link to each page. - The
hrefattribute of the canonical link correctly reflects the absolute, canonical URL of the current page. - The implementation accounts for different environments (development, staging, production) to ensure correct URLs are generated.
- The canonical link is present on all public-facing, indexable pages where duplicate content might be an issue (e.g., product pages, blog posts, main content pages).
- The solution is tested to ensure it doesn't negatively impact client-side routing or initial page load performance.
Labels: feature, seo, nextjs
Reactions are currently unavailable