On the server there is a static HTML page example.html
in my root folder of the WordPress install. Now when a user types www.example.com/example.html
I want WordPress to be smart and bypass all normal routing behavior and instead just display that static example.html
page.
This looks so easy to me concept-wise but I can't find a solution after looking for hours.
What exactly do I need to change in my .htaccess
file? Is it even that .httaccess
file or do I need to make such a change in the site available file?
Sorry for being a WordPress newbie :(
.htaccess
file. AFAIK, WordPress's default.htaccess
file will allow you to do what you're doing. (See, for example, thereadme.html
that's installed in the root of WordPress sites.)