Have a subfolder not controlled by wordpress - wordpress

I have wordpress installed on the root of my website (say example.com/), but there is a folder of the website that i want to directly build in php/html not controlled by wordpress - basically I want it to be its own separate entity, but with the url being example.com/folder/, so it sits under wordpress in the url hierarchy, but is completely independant... Is that possible? I have done some research but cant find a solution or any reference to this.
Thanks very much for your help!

Just make the folder in the root directory of the wordpress install. Any files inside of that folder that does not declare the wp-load.php file will not be controlled by wordpress.

Related

Location and folder name of wp-bakery

I wanted to to move and start my wordpress site localy.
I can't recognize wp-bakery folder and actually I don't know is the folder of plugin in plugin folder or inside the theme (I have truemag theme)
Best Regards,
Daryush
WPBakery Page Builder plugin directory is: wp-content/plugins/js_composer
The normal location for plugins are wp-content/plugins. I guess you can find your plugin files in wp-content/plugins/pluginname

Add new non-wordpress website under same domain in Wordpress

Is it possible to add new non-wordpress website under same domain in Wordpress?
My domain is http://7deal.com/ and I want to access my non-wordpress website using http://7deal.com/merchant/. I already upload my new files and tried it and it display page can't be found.
Thanks for any help.
In the main directory where your web files are stored you will just need to make a folder called "merchant". Then add all of your new website files in there.
NOTE: wordpress's .htaccess file may cause some issues depending on what the other website is!
Try to delete or rename wordpress root .htaccess.

Putting a custom directory inside wordpress

I have a simple HTML microsite, which I want to put inside my wordpress website. For example: Wordpress website is: abc.com
I want to put my microsite inside this wordpress site. So URL becomes:
abc.com/microsite/
But, wordpress treats any url as its own. How can put "abc.com/microsite/" urls to Wordpress Ignore list. So that any pages inside microsite folder executes independently.
just put you folder 'microsite' in root(Where you find wp-admin,wp-content and wp-include folder). and
you are able to access the folder
"abc.com/microsite/ by this url
If you are still having issues with accessing the subfolder, try renaming the .htaccess to .htaccess-bak in order for WordPress to regenerate the file again. Understand that your website might temporarily go down.
I've found this solution to help in some cases, but I don't know exactly why, ergo I am not sure it will work. And if you feel uncomfortable editing the .htaccess file I suggest you learn more about it (as should I). It is a very powerful file and WordPress uses it a good deal.
P.S. The file is located in the same folder, WordPress' root folder where you find /wp-admin/, /wp-content/, etc. It is hidden by some hosting providers, but I've always been able to find them through FTP with the hosting companies I've used before.

Addition for a folder at Wordpress default permalink structure

My website is hosted at root directory (public_html) for hosting so the URL format is as follows:
http://www.example.com
I want the homepage to be open as it is on main domain but to add a custom folder directory (directory name 'wp') to all my inner pages and posts. For example currently I have the page structure like this:
http://www.example.com/?p=123
But I want it to be open like this with 'wp':
http://www.example.com/wp/?p=123
What are the necessary steps needs to be taken for this?
Thanks in advanced!
You would need to create a folder in your root directory called "wp" and install wordpress there.

Is it possible and if so how do install wordpress as a secondary site on 1 domain

Basically I have a website that I built in html and don't want to touch but what I would like to do if its possible is install Wordpress in a sub directory on the same site sort of like a holding area to showcase a wordpress site I am working on! I tried simply adding a new directory to the domain and copying over the wordpress folder but this didnt work so im just wondering if anyone knows how to do what im looking for can they help me out please!
Any help is much appreciated!
Edit: The original website is not a wordpress site, its just a normal HTML website its not a blog or anything, I already have other HTML websites in subdirectories im just looking to have one subdirectory that uses wordpress.
For example:
main site = www.mywebsite.com (Built in html)
1st subsite = www.mywebsite.com/siteb (built in html)
2nd subsite = www.mywebsite.com/sitec (using wordpress)
WordPress can be install in a subdirectory - by default the download will unzip into a folder called wordpress which you can rename if you would like. If you run the install from the subdirectory it should set the proper WP_HOME and WP_SITEURL values, but if not or if you currently have WordPress installed in the root and want to move it to a subdirectory, you can follow this guide to Giving WordPress Its Own Directory.

Resources