# Feature COMMS-707 - Add canonical URL meta tags to Project and WP pages for crawler optimization

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-707

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 17.6.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Tom Hykel |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a search engine or bot  
**I want to** know the canonical URL of the page I am currently browsing  
**so that** I don't punish duplicate content

**Background**

We're introducing new project-based semantic project & work package IDs, which will also be used in URLs. The "old" database-ID based URLs should also still work, so that users can still access their bookmarks etc. For performance reasons we decided against doing redirects when accessing such a page.

**Acceptance criteria**

  - A `rel="canonical"` `link` element contains the current canonical URL (slug + numeric ID in classic mode, current semantic identifiers in semantic mode)

  - This link is always part of the page, even if it already was accessed via a URL using the database ID

  - This applies only for project and work package show pages / routes

**Technical notes**

  - 
    <br>

**Permissions and visibility considerations**

  - Visibility of pages does not change

**Translation considerations**

  - Nothing to translate

**Out of scope**

  - 
    <br>
