WordPress.org

Ready to get started?Download WordPress

Forums

how to create non-wordpress pages (6 posts)

  1. zambala
    Member
    Posted 2 years ago #

    Hello,

    If in my root is installed wordpress - is it possible somehow create some non-wordpress pages?
    How to escape wordpress? I just need a few simple Test pages without wordpress templates or whatever , may be htm page, may be php....

    I created a new folder and were hoping I'll be outside wordpress, but I got again my wordpress template...

  2. christogeretz
    Member
    Posted 2 years ago #

    An html file should work...? Of course, you won't be able to modify it or anything from the Dashboard, etc...

  3. zambala
    Member
    Posted 2 years ago #

    Yes, that's what I'm asking - to put html test file anywhere in my file manager where it is not influenced by WP

  4. Nikki Blight
    Member
    Posted 2 years ago #

    I would just create a directory in your web root called 'static' and put your test pages there. If they're not implicitly hooking into wordpress, they're not going to be influenced by it.

  5. WraithKenny
    Member
    Posted 2 years ago #

    http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

    WordPress' htaccess rules only redirect urls that resolve to a php file, not an html file. An html file shouldn't be influenced by WordPress no matter where you put it (unless you've specifically activated a plugin or wrote code that does this on purpose).

    If you want a "WordPress free" php test page, you'll have to read up on htaccess rules and modify them (not recommended), or deactivate "pretty permalinks" temporarily.

  6. WordPress won't overwrite a .php file either with .htaccess either. foobar.php works just fine next to index.php :)

    If in my root is installed wordpress - is it possible somehow create some non-wordpress pages?

    Yes. Just put the files in place. It works. Ditto folders. WordPress is followed AFTER all the physical folders are checked. So if you make a folder /about and a page 'about', the folder should take precedence. If not, check your .htaccess for extra redirects.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.