WordPress – Moving wordpress installation to subfolder
After installing wordpress into home directory (ie public_html ) I realised it is not as clean as one would want when working with numerous addon domains. Far better, in my opinion, to have the wordpress folders and files in a separate sub-folder for the sake of tidyness.
Sites I used for this information were:
The steps I took are:
-
- Create sub-folder to use
- Move wordpress folders & files to new sub-folder
- Logged into the wordpress console using the url with the sub-folder included (ie example.com/sub-folder/wp-admin)
- Specify sub-folder in wordpress’s general settings:
Steps taken to move from home folder to separate sub-folder: