Static HTML Files Not Being Displayed with WordPress

Static HTML Files Not Being Displayed with WordPress

 

This can occur when WordPress's .htaccess rewrites take place over the static html file. 

Place the following command early in your .htaccess file to not apply further rewrite rules:

RewriteRule ^thefile\.htm$ -[PT,L]

(replace thefile with your file name)

  • 167 Users Found This Useful

Was this answer helpful?

Related Articles

Elementor - Critical Error with both Elementor and Elementor Pro plugins enabled

Running Elementor and Elementor Pro simultaneously can be memory-intensive. Elementor and...

WordPress Security

Even with many layers of server security, if a WordPress install is not constantly updated and...

504 error - Are you sure you want to do this?

In wordpress if you receive either of the following errors when trying to upload a theme... 504...

How to disable WordPress comments, pingbacks, and trackbacks

There are a few ways to disable comments, pingbacks and trackbacks in WordPress:   Go to...

CloudFlare for WordPress

The Cloudflare plugin for WordPress is a free plugin that allows you to connect your WordPress...