• I feel like an idiot for asking this…

    But how do I make a non wordpress controlled page on my website? I have tried creating folders with simple HTML files in them and placing them in several places in my directory, but when I try to access them I get a wordpress controlled page with a 404 error.

    It seems like regardless of where I put the folder/file that wordpress wants to take control of that page.

    Seems like this should have a simple answer that I’m just overlooking.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Corsair130

    (@corsair130)

    I’ve read more about templates and what not, and that I could create a template and have that assign the style of one of my pages that I create.

    This is not what I’m trying to do at all. I want to create a page that is completely seperate from wordpress. That wordpress has no control over whatsoever so that I can set certain rules for using PHP. I’m trying to add a PHP upload function but it seems like wordpress is getting in the way somehow.

    I think the answer is to make a new website all together and place a simple HTML and PHP script on a page as well as a PHP.ini file to set the values I need. Then let this completely different website handle all my uploads, which I will then pull off of the website and do what I want with them.

    I have searched for the answers I need in a hundred different ways but I haven’t been able to come up with much. All I want is for users to be able to upload files to me, which will be placed in a folder on my server. I don’t understand what I need to do to make that happen.

    This is mighty frustrating.

    Thread Starter Corsair130

    (@corsair130)

    Or is it possible to move my wordpress installation within my server to somewhere where it’s not in the root directory, thus not controlling everything?

    Then I can create a static page somewhere outside of the wordpress installation allowing me to actually use my PHP upload function.

    I’ve already looked up the instructions on how to move my installation, and it looks like a migraine.

    Before I head off and mess with stuff I shouldn’t mess with, someone tell me that I’m going in the right direction.

    What I will be doing is changing the installation from where it’s at now, to a new place that is one folder more into my website. That way I can put a new directory in my root that will allow it’s own rules to be followed as it pertains to HTML and PHP programming and not try to follow all of the wordpress installation’s rules.

    Then what happens at my homepage? How do I redirect users to the wordpress installation? It will be something like this: https://www.mywebsite.com/home or welcome or something like that. If the website isn’t at my URL will a simple redirect work to get users to my blog? Then I can have a simple: https://www.mywebsite.com/uploads which won’t give a sh*t about wordpress.

    You need a plugin. Try “Page Links To” which is easy and simple. It allows links to whatever in your menus.

    Instead of using a plugin you could just add a line to your “.htaccess” file, to have a specific folder out of WordPress’s scope.
    This line has to be before “RewriteBase”!

    Example:

    RewriteEngine On
    # My new WordPress-less folder
    RewriteRule ^mynewuploads$ – [L]
    # Old WordPress stuff
    RewriteBase /

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to create a non wordpress page?’ is closed to new replies.