-
Hello Rank Math team,
I’ve noticed a conflict between Rank Math SEO and Elementor when using the External CSS print method.
My site is using Elementor Pro with CSS set to load as external files (/wp-content/uploads/elementor/css/post-xxx.css).
I also use WP Hide & Security Enhancer, which rewrites asset paths (e.g. /wp-content/uploads/ → /pupeqef/).
When Rank Math is enabled, Elementor’s external CSS files are either not enqueued or resolve incorrectly, which causes the frontend styling to break.
When Rank Math is disabled, or if I switch Elementor to Internal Embedding, the problem goes away.
It seems that Rank Math’s frontend output buffering or another filter is interfering with Elementor’s external CSS enqueue (especially when combined with WP Hide rewrites).
Could you please confirm if there’s a way to:
Disable output buffering just for CSS/JS enqueues, or
Exclude Elementor’s CSS path (/wp-content/uploads/elementor/css/ or the rewritten /pupeqef/elementor/css/) from Rank Math’s processing?
This would help me keep using Elementor’s external CSS (for performance) without breaking styles when Rank Math is active.
Thanks for your help!
Best regards,
Jim Lee
You must be logged in to reply to this ticket.