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 properWP_HOME
andWP_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.