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

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...

CloudFlare for WordPress

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

Wordpress Error Missing a temporary folder

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

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...

JetPack says my website is offline

Sorry to hear that your website is offline. Here are some things you can do to troubleshoot the...