There is a wordpress site with buddypress as one of the parts of the site. URLs on the site are Russian. Nginx server. Configured exactly as specified in wordpress codex about nginx.

If you go to any group buddypress, using the menu items, buttons and links on the site, then everything is OK.

But if you copy the group url to the clipboard and then paste it into the address bar in a new browser window, you get an error 404 not found.

Links look like this:

site.com/группы/название-группы 

All pages in the buddypress settings are set as necessary.

Where to repair? In nginx? In wordpress? In buddypress?

The same happens with the pages of the participants and the ribbon.

    1 answer 1

    1. if this happens only in one browser, then probably the reason is in it.
    2. if it happens in any browser, then perhaps the reason is incorrect http-headers related to the page encoding (in particular, content-type ): the encoding may be transferred incorrectly or not transmitted at all.

      and the encoding can also be specified in the meta tag . and the information transmitted in the meta html tag , of course, should not contradict the information in the http header content-type .

      and if there is a discrepancy (or absence) of information, then the browser, when sending the url to the clipboard, recodes , for example, the слово not in (for example) %d1%81%d0%bb%d0%be%d0%b2%d0%be (t . e., from utf8 ), and in (for example) %f1%eb%ee%e2%ee (i.e., from cp1251 ). accordingly, the result is not the url that is required.