Conversation
supportWe found a compatibility issue between “Headers Security Advanced & HSTS WP” and Polylang Pro. Environment: WordPress + Polylang Pro “Hide URL language information for default language” enabled Pretty permalinks enabled Issue: After certain plugin updates, static pages start resolving to empty archive pages until: Polylang → Settings → URL modifications → Save We traced the issue to the headers plugin triggering rewrite rule flushes during plugin update operations. Relevant stack trace: headers-security-advanced-hsts-wp.php -> flush_rules() WP_Rewrite->flush_rules() This appears to rebuild Polylang rewrite rules incorrectly or in the wrong order. Symptoms: static multilingual pages resolve incorrectly archive routing takes precedence over pages manually saving Polylang URL settings immediately fixes the issue Removing the headers plugin stops the issue. Could you review whether rewrite flushing during update/htaccess operations is necessary, or whether it can be delayed/avoided for Polylang compatibility?
No comments were stored for this source.