Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 169539

Rewrite rules don’t get flushed after language change in WordPress Settings

$
0
0

Replies: 0

Say we have a shop in English. All is looking good, but then we switch the language to another language, that WooCommerce has a translation for. Good chance is the product base slug is also translated, which would lead to a change in the addresses of all products, the store itself and everything else. 404 will be the error to come for anyone trying to access the pages with the new (translated) structure.

Quickfix would be to click “Save” on wp-admin -> Settings -> Permalinks, but it would be better to force rewrite rules flush upon language change of the website.


Viewing all articles
Browse latest Browse all 169539

Trending Articles