I have some static HTML pages that I uploaded to a server that has Wordpress installed and when I call those static pages, I get the Wordpress 404 error - I did not want to create these pages with Wordpress - does anyone know a way around that to allow my pages to load without moving Wordpress outside my root? Followng is my htaccess: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Code (markup): Thanks!
I found a quick fix to just create a subdomain that holds all the static pages, but if someone has a work around to house them on my root domain that they can share, I would appreciate it!
Untested, and mod_rewrite isn't my strong point - but this should work: RewriteRule html-file.html html-file.html [L] RewriteRule html-file2.html html-file2.html [L] RewriteRule html-file3.html html-file3.html [L] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Code (markup):