I posted a question about whether it's possible to add a Page in WordPress without headers and footers.

Here's that question: Add a Page without header and menus?

So how can I create a static page with none of the WordPress stuff that appears on all the other pages of my WordPress site, and add html at that url?

How would I do that?

  • It's not clear what you're asking, showing arbitrary html at a URL is already possible using page templates or just raw post markup and a page template. – Tom J Nowell Jul 28 '12 at 19:13
  • 1
    It also looks like rather than clarifying your question and editing it, you've just created a new one that's asking the same thing =/ – Tom J Nowell Jul 28 '12 at 19:14
  • 3
    the answers you got on that question gave you the answer to this one. – pcarvalho Jul 28 '12 at 19:15
  • I answered at the original question. No need for this duplicate. – JTP - Apologise to Monica Jul 29 '12 at 1:01


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'  
  • Nice interpretation, seems legit :) If revealed correct, either you or @Richard should edit the Q to make this clear. Anyway, the Q really deserves some clarification... – brasofilo Jul 28 '12 at 22:00
  • @brasofilo cheers for that :) – Damien Jul 28 '12 at 22:02
  • @richard did that work? – Damien Jul 29 '12 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.