Skip to content

{{ghost_head}} and accents #21999

Open
@cathysarisky

Description

Issue Summary

My client has moved from Ghost fairly recently. From his old import, he has some links like
/tag/sécurité incendie/page/5/

Note the accent (and also spaces). Ghost actually deals with this, serving up the tags page for securite-indendie instead. However, when it writes out the metadata <link rel="prev" href (and also "next"), it uses the unadjusted form of the tag.

The behavior may be exacerbating search engine crawlers trying to visit the wrong form of the URL.

Steps to Reproduce

Add some random accents and spaces to an existing tag. For example:
https://www.spectralwebservices.com/topic/advanc%C3%A9d%20topics/ (should be advanced-topics)

Ghost Version

5.106.1

Node.js Version

Ghost pro, also 20.

How did you install Ghost?

Ghost Pro, or ghost-cli install (Ubuntu)

Database type

MySQL 8

Browser & OS version

Chrome, Windows 10

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    needs:triage[triage] this needs to be triaged by the Ghost team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions