zambala
Member
Posted 3 months 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...
christogeretz
Member
Posted 3 months ago #
An html file should work...? Of course, you won't be able to modify it or anything from the Dashboard, etc...
zambala
Member
Posted 3 months 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
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.
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.
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.