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 Error Establishing a Database Connection

WordPress Error Establishing a Database Connection In a nutshell, you are getting this error...

Quickly Disable All WordPress Plugins via phpMyAdmin

Before beginning, be sure to have a backup of your database. You may backup your database by...

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

Create Static Files with your WordPress Install

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

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