Rewrite rules dropped at random intervals
-
I’m using rewrite rules to handle the multi-language part of my site, so for example product pages are available in English (default), German and 2-3 other languages.
Like this:
https://www.modeltrainprices.com/p/marklin-4430/ (English)
https://www.modeltrainprices.com/de/p/marklin-4430/ (German)
https://www.modeltrainprices.com/da/p/marklin-4430/ (Danish)Problem is that sometimes all the non-English versions stop working and their urls return a 404, which I guess is because the rewrite rules get dropped.
I then need to run my add_rewrite_rule() calls again, and after these calls, the non-English versions work again.
Has any of you seen something like this before, i.e. where the rewrite rules get dropped a random intervals?
If yes, did you find a way to fix it?
Thanks,
Mads
- The topic ‘Rewrite rules dropped at random intervals’ is closed to new replies.