0

We are using a WP multisite install.

3 subsites use the same theme, using a custom taxonomy which is defined inside the theme code.

The issue we have is that the archive page for this custom taxonomy does work on 1 subsite but not on 2 others.

Our question:

  • Is it possible that the permalink structure causes this although all 3 sites use different domain names?
  • In case the above can't be the problem does anyone have suggestions on possible causes of this issue? Or suggestions on where and how to start debugging?
  • Have you flushed rewrite rules on all sites after activating the theme? – Krzysiek Dróżdż Jun 22 '15 at 14:57
  • Good point...i did try to flush by changing permalink structure but not sure if this is sufficient. Will look into that today – sc11423 Jun 23 '15 at 8:04
  • It should be sufficient, but you have to do this on every single site/blog in your network. – Krzysiek Dróżdż Jun 23 '15 at 10:43
0

SOLVED:

This is issue was solved by correctly flushing rewrite rules:

global $wp_rewrite;
$wp_rewrite->init(); //important...
$wp_rewrite->flush_rules();
  • You don't do this flushing on every page view, I hope... – Krzysiek Dróżdż Jun 23 '15 at 10:44
  • No, just a one time script I executed – sc11423 Jun 23 '15 at 10:48
  • OK, so everything's fine :) – Krzysiek Dróżdż Jun 23 '15 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.