Title: arey's Replies | WordPress.org

---

# arey

  [  ](https://wordpress.org/support/users/arey/)

 *   [Profile](https://wordpress.org/support/users/arey/)
 *   [Topics Started](https://wordpress.org/support/users/arey/topics/)
 *   [Replies Created](https://wordpress.org/support/users/arey/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/arey/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/arey/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/arey/engagements/)
 *   [Favorites](https://wordpress.org/support/users/arey/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/users/arey/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/arey/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] [BUG] 502 Bad Gateway on Settings Export/Save WordPress Russian locale](https://wordpress.org/support/topic/bug-502-bad-gateway-on-settings-export-save-wordpress-russian-locale/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [1 month ago](https://wordpress.org/support/topic/bug-502-bad-gateway-on-settings-export-save-wordpress-russian-locale/#post-18884893)
 * Thank you, Yui. We hope the W3 Total Cache plugin developers will fix this issue
   in future versions.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] [BUG] 502 Bad Gateway on Settings Export/Save WordPress Russian locale](https://wordpress.org/support/topic/bug-502-bad-gateway-on-settings-export-save-wordpress-russian-locale/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [1 month ago](https://wordpress.org/support/topic/bug-502-bad-gateway-on-settings-export-save-wordpress-russian-locale/#post-18884883)
 * **[BUG] Root cause identified: HTTP header “Content-Disposition” is incorrectly
   marked as a translatable string**
 * **Root cause:**
   The string responsible for the export HTTP header is marked as
   translatable in the plugin:
 *     ```wp-block-code
       // Generic_AdminActions_Config.php:85
       msgid "Content-Disposition: attachment; filename=%1$s.json"
       ```
   
 * In the Russian translation file `w3-total-cache-ru_RU.l10n.php` (auto-generated
   by WordPress 6.5+ from the `.po` file), this becomes:
 *     ```wp-block-code
       'Content-Disposition: attachment; filename=%1$s.json' =>
       'Размещение содержимого: вложение; имя файла=%1$sjson'
       ```
   
 * As a result, PHP sends Nginx a response with a Cyrillic HTTP header name (`Размещение
   содержимого` instead of `Content-Disposition`). Since Nginx 1.21.1+, non-ASCII
   characters in header names are strictly rejected — causing a **502 Bad Gateway**.
 * This also explains why the exported file gets a `.htm` extension instead of `.
   json` in some configurations.
 * **The fix is straightforward:**
   In `Generic_AdminActions_Config.php:85`, the `
   Content-Disposition` header must be hardcoded and **not passed through any translation
   function**. HTTP protocol headers are not localizable strings.
 * **Workaround for users affected:**
   Manually edit `wp-content/languages/plugins/
   w3-total-cache-ru_RU.l10n.php` and replace:
 *     ```wp-block-code
       'Content-Disposition: attachment; filename=%1$s.json'=>'Размещение содержимого: вложение; имя файла=%1$sjson'
       ```
   
 * with:
 *     ```wp-block-code
       'Content-Disposition: attachment; filename=%1$s.json'=>'Content-Disposition: attachment; filename=%1$s.json'
       ```
   
 * Note: editing only the `.po` or `.mo` file is not sufficient in WordPress 6.5
   + — the `.l10n.php` file takes priority and must be updated directly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] W3 Total Cache WRONGLY clears the ENTIRE cache when using the Polylang plugin](https://wordpress.org/support/topic/w3-total-cache-wrongly-clears-the-entire-cache-when-using-the-polylang-plugin/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/w3-total-cache-wrongly-clears-the-entire-cache-when-using-the-polylang-plugin/#post-17925483)
 * Thank you.
 * This helped to solve the problem with erroneous clearing of the entire cache 
   when working with the Polylang plugin.
 * Please tell me, if I use this code, will automatic cache clearing in the W3 Total
   Cache plugin work as usual (after publishing/editing posts, as well as when deleting
   expired junk cache, etc.)?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cyr-To-Lat] В Редакторе тем исчезло описание шаблонов](https://wordpress.org/support/topic/%d0%b2-%d1%80%d0%b5%d0%b4%d0%b0%d0%ba%d1%82%d0%be%d1%80%d0%b5-%d1%82%d0%b5%d0%bc-%d0%b8%d1%81%d1%87%d0%b5%d0%b7%d0%bb%d0%be-%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%88%d0%b0%d0%b1%d0%bb/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/%d0%b2-%d1%80%d0%b5%d0%b4%d0%b0%d0%ba%d1%82%d0%be%d1%80%d0%b5-%d1%82%d0%b5%d0%bc-%d0%b8%d1%81%d1%87%d0%b5%d0%b7%d0%bb%d0%be-%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%88%d0%b0%d0%b1%d0%bb/#post-17130219)
 * Спасибо.
    1. Безусловно, на основной функционал плагина это никак не влияет. Но, если у Вас
       будет возможность, при следующих обновлениях плагина добавьте, пожалуйста, переводы
       для тех названий шаблонов, которые все-еще отображаются на английском:
       Stylesheet(
       style.css)Archives (archive.php)Comments (comments.php)Homepage (front-page.
       php)Sidebar (sidebar.php)
 * 2. Насколько мы понимаем, плагин Cyr-To-Lat для транслитерации использует таблицу
   символов из того языка, который соответствует языковой сборке Вордпресс… Подскажите,
   пожалуйста, имеется ли возможность корректной транслитерации УРЛ постов одновременно
   для двух языков (русский и украинский) при использовании плагина мультиязычности.
   Мы пробовали добавить недостающие символы из таблицы соответствия Cyr-To-Lat 
   одного языка в другой, однако с некоторыми символами, которые используются в 
   двух языках, возникает проблема. Например, для рус. и=i, а для укр. и=y. Возможно,
   Вы подскажите, как можно решить данную проблему?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cyr-To-Lat] В Редакторе тем исчезло описание шаблонов](https://wordpress.org/support/topic/%d0%b2-%d1%80%d0%b5%d0%b4%d0%b0%d0%ba%d1%82%d0%be%d1%80%d0%b5-%d1%82%d0%b5%d0%bc-%d0%b8%d1%81%d1%87%d0%b5%d0%b7%d0%bb%d0%be-%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%88%d0%b0%d0%b1%d0%bb/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/%d0%b2-%d1%80%d0%b5%d0%b4%d0%b0%d0%ba%d1%82%d0%be%d1%80%d0%b5-%d1%82%d0%b5%d0%bc-%d0%b8%d1%81%d1%87%d0%b5%d0%b7%d0%bb%d0%be-%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%88%d0%b0%d0%b1%d0%bb/#post-17108619)
 * Спасибо. Название шаблонов появилось в редакторе тем. Только жаль, что плагин
   Cyr-To-Lat почему-то отображает их только на английском языке. Если деактивировать
   плагин Cyr-To-Lat, то название шаблонов отображается корректно – на языке сборки
   Вордпресс. 
   Возможно, Вы сможете это исправить в следующих обновлениях плагина
   Cyr-To-Lat.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cyr-To-Lat] В Редакторе тем исчезло описание шаблонов](https://wordpress.org/support/topic/%d0%b2-%d1%80%d0%b5%d0%b4%d0%b0%d0%ba%d1%82%d0%be%d1%80%d0%b5-%d1%82%d0%b5%d0%bc-%d0%b8%d1%81%d1%87%d0%b5%d0%b7%d0%bb%d0%be-%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%88%d0%b0%d0%b1%d0%bb/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/%d0%b2-%d1%80%d0%b5%d0%b4%d0%b0%d0%ba%d1%82%d0%be%d1%80%d0%b5-%d1%82%d0%b5%d0%bc-%d0%b8%d1%81%d1%87%d0%b5%d0%b7%d0%bb%d0%be-%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%88%d0%b0%d0%b1%d0%bb/#post-17042605)
 * Отметили на скрине, что именно исчезает при активации плагина.
   Скрин – [https://ru.paste.pics/PBUA5](https://ru.paste.pics/PBUA5)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16916396)
 * XML Sitemaps Manager version 5.0 works fine even with Polylang, but only has 
   issues with lastmod.
 * We hope that XML Sitemaps Manager will work even better in the future.
 * XML Sitemaps Manager which multi-language plugin is 100% compatible with now?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16916280)
 * Polylang.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16916008)
 * We didn’t create the “Blog” page because we don’t use standard WordPress Posts,
   but only custom post types (each post type has its own archive).
 * > I will consider it a feature request: add an option to force the lastmod date
   > of static homepages to the last publication date.
 * A small clarification: it is possible that lastmod is automatically updated not
   for all static pages, but only for those pages that are set as main ones (there
   can be 2 main pages, since there are two language versions of the site). Alternatively,
   it would be nice if you could specify the id of static pages for which you need
   to update the lastmod after the publication of new posts on the site.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16915996)
 * We activated the default WordPress taxonomies (categories and tags) and added
   a new post – there is also an issue with lastmod.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16915168)
 * As the main page of the site in the WordPress settings, a static page is set (
   with widgets for the latest posts).
 * Here is a link to the [sitemap](https://test.moemisto.pp.ua/wp-sitemap.xml).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16914462)
 * Thank you. Now the plugin does not have a critical error now, but nothing has
   changed compared to version 0.5.
    1. lastmod for tags and categories (including parent categories), as before, is
       formed based on the date of creation/editing of tags and categories. It is necessary
       that the lastmod for taxonomies is formed based on the date of the last post
       added to the taxonomy.
    2. We also noticed that in version 0.6-alpha7 the lastmod for the main page of 
       the site is formed by the date of creation of this page, which is also not entirely
       correct, since announcements of the latest published posts are published on 
       the main page. It would be more correct for the lastmod for the main page to
       be formed based on the date of the last post published on the site or the lastmod
       for the main page of the site to NOT be displayed in the sitemap.
 * Are there ways to solve these problems?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemaps Manager] Last Modified data does not work correctly](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/last-modified-data-does-not-work-correctly/#post-16910728)
 * After installation, this version is added to the site with a critical error –
   screenshot.
   [https://ru.paste.pics/c6db047175ae0c60b02cb85c6224b1f9](https://ru.paste.pics/c6db047175ae0c60b02cb85c6224b1f9)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Changes in the Gutenberg editor](https://wordpress.org/support/topic/changes-in-the-gutenberg-editor/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/changes-in-the-gutenberg-editor/#post-16909849)
 * Unfortunately, the number of tags has not changed.
 * Perhaps you can suggest other ways to solve the problem?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemap & Google News] How to split posts into multiple pages in custom post types and tags](https://wordpress.org/support/topic/how-to-split-posts-into-multiple-pages-in-custom-post-types-and-tags/)
 *  Thread Starter [arey](https://wordpress.org/support/users/arey/)
 * (@arey)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/how-to-split-posts-into-multiple-pages-in-custom-post-types-and-tags/#post-16055193)
 * Thank you!

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/users/arey/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/arey/replies/page/2/?output_format=md)