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)

  • 171 Users Found This Useful

Was this answer helpful?

Related Articles

Unable to create directory uploads/ Is its parent directory writable by the server?

Unable to create directory... Is its parent directory writable by the server? This error can be...

Create Static Files with your WordPress Install

Reduce the processor and memory load of your site but publishing it into html files.Use the...

Do you have a WordPress plugin slowing you down?

Some WordPress plugins can really bog down your site's performance. Query Monitor can help in...

Wordpress Error Missing a temporary folder

The "Missing a temporary folder" error in WordPress is caused by incorrect PHP settings on your...

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

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