Forum Replies Created

Viewing 1 replies (of 1 total)
  • I’m experiencing this 404 issue with Polylang Pro 3.5.1, multisite and custom post types.

    How to reproduce the issue:

    • visit custom post type’s page (works)
    • visit permalinks page
    • visit again custom post type’s page (404)

    How to fix (temporarily)

    Run this WP cli command wrapped in bash script loop (for each subsite).

    for site_url in $(wp site list --field=url --allow-root); do wp eval 'flush_rewrite_rules(false);' --url=$site_url --allow-root; done

    I’ve downgraded to Polylang Pro 3.4.6, where this issue doesn’t happen and waiting for a patch fix.

Viewing 1 replies (of 1 total)