Some SEO plugins (such as Rank Math and SEOPress) monitor your site for 404 errors and may intercept the dynamic CSS files generated by Complianz, such as:
/wp-content/uploads/complianz/css/banner-{banner_id}-{type}.css?v=29454These files are generated dynamically by Complianz and should not be indexed by search engines or monitored by SEO plugins as permanent URLs. The version number at the end changes constantly, which creates false positive 404 errors in tools like Google Search Console.
Solution 1 – robots.txt (Universal)
The most effective and immediate fix is to add a Disallow rule to your robots.txt file to prevent the entire Complianz folder from being crawled and indexed.
Add the following lines to your robots.txt:
User-agent: *
Disallow: /wp-content/uploads/complianz/How to edit your robots.txt: from your WordPress dashboard, go to the SEO plugin you use (Rank Math or SEOPress) → look for the “robots.txt” or “SEO Tools” section → open the robots.txt editor.
Solution 2 – Rank Math: Exclude the Path from 404 Monitoring
If you use Rank Math, you can exclude the path from the 404 error monitor without disabling monitoring for the rest of your site.
Path: Rank Math → 404 Monitor → Settings
-
Go to Rank Math in your WordPress sidebar.
-
Click on “404 Monitor”.
-
Open the Settings tab.
-
Find the “Exclude Paths” field, this corresponds to section 5.3.1 of the official Rank Math documentation.
-
Enter the path to exclude:
/wp-content/uploads/complianz/
-
Save your settings.
From now on, Rank Math will ignore any 404 errors coming from that path.
Official reference: Rank Math – Monitor 404 Errors (section 5.3)
Solution 3 – SEOPress: Exclude the Path via PHP Hook
If you use SEOPress PRO, you can exclude the path from 404 monitoring by adding a PHP hook to your theme’s functions.php file (or to a custom plugin).
Add the following code:
add_filter( 'seopress_404_exclude', 'my_seopress_404_exclude' );
function my_seopress_404_exclude( $array ) {
$array[] = '/wp-content/uploads/complianz/';
return $array;
}Where to add this code: go to Appearance → Theme Editor → functions.php of your child theme, or use a plugin like Code Snippets to safely add PHP snippets without editing theme files directly.
Important: always use a child theme or a dedicated plugin to add custom PHP code. Do not modify the functions.php of a parent theme directly, your changes will be lost every time the theme is updated.
Official reference: SEOPress – Exclude URL from 404 monitoring
Your SEO Plugin Is Not Listed?
If you are using a different SEO plugin that is not covered in this guide, feel free to open a support ticket at complianz.io/support and let us know which plugin you use. We will review it and add a dedicated section to this guide.