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

The problem of capital letters in link tags #19158

Open
mam4dali opened this issue Nov 9, 2022 · 1 comment
Open

The problem of capital letters in link tags #19158

mam4dali opened this issue Nov 9, 2022 · 1 comment

Comments

@mam4dali
Copy link

mam4dali commented Nov 9, 2022

  • [+ ] I've read and understood the contribution guidelines.
  • [+ ] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

Hello! Good time
I recently got an error in the google console:
Alternate page with proper canonical tag
After checking, I found that these errors are due to capital letters in the address
For example:
https://example.com/tag/Looper/
The plugin puts the canonical tag like this:
https://example.com/tag/looper/
So far everything is fine and the plugin is working fine
However, tags may be indexed in Google with capital letters

Please describe what you expected to happen and why.

In such cases, it is better to move the first address in uppercase letters to the second address in lowercase letters according to the value of the canonical tag

How can we reproduce this behavior?

  1. Put capital letters in the address tag

Used versions

  • WordPress version: 6.1
  • Yoast SEO version: 19.9
  • Classic Editor plugin version: 1.6.2
@mmikhan
Copy link
Member

mmikhan commented Nov 9, 2022

It looks like WordPress change the capital case to lower case string format in the slug itself. So, not sure how you are keeping the capital case in the tag slug.

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

No branches or pull requests

2 participants