{"id":17329,"date":"2012-04-16T07:49:16","date_gmt":"2012-04-16T11:49:16","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=17329"},"modified":"2016-02-22T05:21:17","modified_gmt":"2016-02-22T10:21:17","slug":"opencart-moving-from-sub-folder-to-root","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/opencart-moving-from-sub-folder-to-root.html","title":{"rendered":"OpenCart 1.5.x. Moving from sub-folder to root"},"content":{"rendered":"<p><br \/>\r\n<strong>When you want to move your store from sub-folder to root folder of your domain you need to do the following:<\/strong><\/p>\r\n<ol>\r\n<li>Backup your store files via FTP to your computer. Simply copy all the files and folders from your domain to your computer via FTP.<\/li>\r\n<li>Delete your store files on your domain (do NOT touch your database!)<\/li>\r\n<li>Transfer all the store files you have backed-up to the root of your domain.<\/li>\r\n<li>Edit the <strong>yourdomain\\config.php<\/strong> and <strong>yourdomain\\admin\\config.php<\/strong> files. You should remove subfolder name from all the URLs in these files.<\/li>\r\n<li>Verify the correct rights on your store folders and files. (Normally they are 644 for the files and 755 for the folders)<\/li>\r\n<li>Test your new store.<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/OpenCart\/opencart_move_from_sub-dir.htm\" target=\"blank\">OpenCart &#8211; moving from sub-folder to root<\/a><\/p>\r\n<p><br \/>\r\n<\/p>\r\n<p><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>When you want to move your store from sub-folder to root folder of your domain you need to do the following&#8230;<\/p>\n","protected":false},"author":38,"featured_media":17232,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1155,1156],"tags":[1182,1157],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/17329"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=17329"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/17329\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/17232"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=17329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=17329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=17329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}