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

WordPress Site Search

Adding search functionality is a wonderful way to add functionality and pleasure to a visitors...

Not Receiving Form Email Through WordPress - SMTP

For anti-spam reasons be sure that the email address you are using to send from, exists in your...

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

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

WordPress error "The uploaded file could not be moved to"

WordPress Upload Error If you're getting the error message "The uploaded file could not be moved...

WordPress Error : Sorry, this file type is not permitted for security reasons

.svg and .xap files can result in the error "Sorry, this file type is not permitted for security...