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 "This file cannot be imported - It may be caused by file_uploads being disabled in your php ini"

The following error may be received if you attempt to upload a theme or file larger than the...

WordPress Error Establishing a Database Connection

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

PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file

When you try to update WordPress or install plugins, the downloader / installer page pops up, 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...