how to setup wordpress in root directory while domain is pointed to subdirectory
-
I’m looking for advice on how to best set up a wordpress website in my root folder while the domain name is being pointed to a sub-directory where my old website is now relocated. I took the old website from a different account (subdomain) and created a new hosting account for it. I thought it best to place the website in a sub-directory and point the domain name (pjnphoto.com) to the sub-directory by modifying the htcaccess file to keep it live while I build the new root-level website using wordpress.
Here’s the problem: In the “new under-contruction root-level wordpress site” any pages or posts I create point to the sub-directory because the address contains pjnphoto.com. How can I design the new root level site and temporarily modify the address so it’s not pointing to the sub-directory? Also will any of these modifications be permanent when I switch the htcaccess file so the domain name pjnphoto.com now points to the root? Note: Under settings>general – I tried to set the wordpress website (URL) to the ip – https://66.147.244.61/~pjnphoto but this didn’t work and I see all the permalinks have the pjnphoto.com in their address.
- The topic ‘how to setup wordpress in root directory while domain is pointed to subdirectory’ is closed to new replies.