• Hi,
    I have a multi domain name setting.
    nginx server.

    Problem is 404 pages when I try to access a subcategory.
    No problem on my main site.
    Problem only on the other lang.

    permalink structure is /%category%/%postname%/

    mysite.fr/cat1/subcat1/ OK
    mysite.de/catDE1/ OK
    mysite.de/catDE1/subcatDE1/ NOT OK

    Anyone can help?
    Thank you!

    https://wordpress.org/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • did you can fix your probem?

    Thread Starter Benjamin Pongy AXOME

    (@redpik)

    unfortunately, I only found 1 solution.
    it’s not perfect, but it works.

    I call these lines if $_GET[‘custom_empty_cache’] is equal to 1:

    
    delete_transient('pll_languages_list');
    flush_rewrite_rules();
    delete_option( 'rewrite_rules' );
    wp_redirect('http://www.MYWEBSITE.fr/wp-admin/?lang=all');
    
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘404 on subcategories pages’ is closed to new replies.