Elementor External CSS Not Loading When Rank Math SEO is Active

#1093985
  • Jim Lee
    Rank Math free

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with Elementor’s external CSS not loading when Rank Math SEO is active. This can indeed be frustrating, especially when it affects your site’s styling.

    Currently, there isn’t a specific setting in Rank Math to disable output buffering just for CSS/JS enqueues or to exclude certain paths from processing. However, we recommend checking the following:

    1. Check for Conflicts: Since you are using WP Hide & Security Enhancer, ensure that there are no conflicts between this plugin and Rank Math. You might want to temporarily disable WP Hide to see if the issue persists.

    2. Debugging: You can enable debugging in WordPress to see if any errors are being logged that might give more insight into the conflict.

    3. Custom Code: If you’re comfortable with adding custom code, you could potentially create a filter in your theme’s functions.php file to dequeue Rank Math’s output buffering for specific scripts or styles. However, this requires a good understanding of WordPress hooks and may not be straightforward.

    4. Professional Setup Service: If you would like a more comprehensive solution, we recommend considering our Rank Math professional setup service. This service is designed to ensure your plugin setup is fully correct and adheres to the latest SEO standards, which may help resolve conflicts like the one you’re experiencing.

    If you continue to have issues, please reply to this ticket with your site URL so that our support team can assist you further.

    Thank you for bringing this concern to our attention! We’re here to help you resolve it as quickly as possible.

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    We released a minor update (v1.0.252.1) that resolves an incompatibility with inline CSS when the Slack Enhanced Sharing option is enabled.

    Could you please update to the latest version and see if that fixes the issue?

    If you are unable to see an update, please clear Rank Math’s transients from WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients: https://rankmath.com/kb/rank-math-status-and-tools/#rank-math-transients

    Please clear the caches, server, and WordPress after updating.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this ticket.