If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

OpenCart 1.5.x. Moving from sub-folder to root

When you want to move your store from sub-folder to root folder of your domain you need to do the following:

  1. Backup your store files via FTP to your computer. Simply copy all the files and folders from your domain to your computer via FTP.
  2. Delete your store files on your domain (do NOT touch your database!)
  3. Transfer all the store files you have backed-up to the root of your domain.
  4. Edit the yourdomain\config.php and yourdomain\admin\config.php files. You should remove subfolder name from all the URLs in these files.
  5. Verify the correct rights on your store folders and files. (Normally they are 644 for the files and 755 for the folders)
  6. Test your new store.

Feel free to check the detailed video tutorial below:

OpenCart – moving from sub-folder to root