1 Answers
Different website host has different ways of doing it. I’ am going to tell you the steps you are going to take normally. For more information ask your hosting provider for assistance.
1. Take a full backup of your current WordPress website (IMPORTANT)
2. Create the subfolder where you want to move your current WordPress e.g. old-site
3. Move all the WordPress files and folder to the newly created sub-folder e.g. old-site
4. Go to your database via PHPMyAdmin and change the “siteurl “and “home“ from option_name in the options database table.
5. Check your site now and it’s be all good
If you hard-coded the URL inside the contents then all the links will be broken. It’s also safe now to delete your sub-domain.
Your Answer