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

feat: all posts link end with / #246

Merged
merged 2 commits into from
Jan 25, 2024
Merged

feat: all posts link end with / #246

merged 2 commits into from
Jan 25, 2024

Conversation

ccbikai
Copy link
Contributor

@ccbikai ccbikai commented Jan 24, 2024

Both the canonical and RSS article URLs end with "/", for consistency with the standard, it is best to use "/" at the end of the article URL.

Otherwise, there will be an additional 308 redirect.
CleanShot 2024-01-24 at 13 17 08@2x

@satnaing
Copy link
Owner

Yes.
You're right.
Besides your updates, I found that other links also need to have trailing slash in order to prevent unnecessary redirects.
Thanks for pointing this out.

@satnaing satnaing merged commit b3a1d9d into satnaing:main Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants