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

Canonical links for tags and categories incorrect #54

Closed
rhuddlestone opened this issue Nov 2, 2022 · 2 comments
Closed

Canonical links for tags and categories incorrect #54

rhuddlestone opened this issue Nov 2, 2022 · 2 comments

Comments

@rhuddlestone
Copy link

Hi

Thanks for the great theme.

I have noticed that the tag and category Canonical links are incorrect. They are https://sitename/category-categoryname instead of https://sitename/category/gategoryname (the canonical tag links are the same). So it looks like the theme is stripping the / after category and replacing it with a -.

Thanks

Robert

@prototypa
Copy link
Contributor

Hello @rhuddlestone

Thank you very much for writing to us and for finding this bug. I hadn't noticed.

I just solved it: bacbb86

I was incorrectly using the functions to generate the permalink for tags and categories.

@rhuddlestone
Copy link
Author

Wow, that was fast ;)

Thanks so much

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

No branches or pull requests

2 participants