How can I stop WordPress from catching URL’s for static pages that I save on my server

Richard

To be honest I think you are asking How can I stop WordPress from responding to URL's for static pages that I save in other directories on my server

Basically its in 2 files

  • your VHOST (which maps mydomain.com to www/some_folder/ )
  • your .htaccess file which manages redirects

So you can do 2 things …
1. get a new VHOST for subdomain so something-mydomain.com maps to another a folder on your server – or –
2. update your .htaccess file to include redirect urls

your .htaccess file will pick up any requests for urls BEFORE WordPress gets involved.

so you can have mydomain.com and WordPress will manage all requests and then create a rule that says mydomain.com/this_page.html is in www/some_folder/this_page.html

here is an example of code for a redirect to a static page that you can add to your .htaccess file:

#static page redirects here
redirectMatch 301 ^/this_page(.*)$ /this_folder/this_page.htm'