Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Mads,

    Perhaps you can post your current rewrite rules here too so we can review that one and see if it needs any improvement with regards to the issue.

    Thread Starter Mads Phikamphon

    (@madsphi)

    Here’s one that disappears once in a while, i.e. the German version /de/p/.. stops working, while the English version /p/.. keeps working.

    add_rewrite_rule( 
       '^de/p/([^/]*)/?', 
       'index.php?products=$matches[1]', 
       'top'
    );

    German version (/de/p/..) isn’t a post, so that’s why the rewrite rule is needed. English version (/p/..) is a post (of a custom post type).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rewrite rules dropped at random intervals’ is closed to new replies.