Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{ghost_head}} and accents #21999

Open
1 task done
cathysarisky opened this issue Jan 13, 2025 · 0 comments
Open
1 task done

{{ghost_head}} and accents #21999

cathysarisky opened this issue Jan 13, 2025 · 0 comments
Labels
needs:triage [triage] this needs to be triaged by the Ghost team

Comments

@cathysarisky
Copy link
Contributor

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
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:triage [triage] this needs to be triaged by the Ghost team
Projects
None yet
Development

No branches or pull requests

1 participant