Buddypress group slugs in foreign language
I encountered an issue with Buddypress group slugs in foreign language.
When a user registers a BP group with a non-English name then the slug for this new group is created using %-encoding and lower-case characters like
The issue happens when some user agents and Google in particular are trying to access this URL.
When I try to fetch this URL as Googlebot from my Google Search Console, I see that Google is trying to access this same URL using upper-case characters like this:
The response Google is getting is:
HTTP/1.1 301 Moved Permanently Location: mysite.com/groups/%d1%80%d0%be%d1%81%d1%81%d0%b8%d1%8f/
But unfortunately Google is not following this redirect.
Apparently Google thinks that the URL is redirecting to itself and stops indexing it.
1. Does anyone know a solution for this issue?
2. Is’n it making sence to make Buddypress treat such URLs as equal and respond with a proper 200 response instead of 301-redirecting?
Buddypress behaviour in this case is quite different to how WordPress is handling this same problem. In the case of Worpress requesting a %-encoded URL always produce a 200-response regardless of the case.
Thanks a million in advance!
- You must be logged in to reply to this topic.