{"id":2611,"date":"2016-03-27T11:48:57","date_gmt":"2016-03-27T11:48:57","guid":{"rendered":"https:\/\/www.milesweb.com\/hosting-faqs\/?p=2611"},"modified":"2022-02-19T18:32:32","modified_gmt":"2022-02-19T13:02:32","slug":"how-to-change-opencart-installation-folder","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/","title":{"rendered":"How to Change OpenCart Installation Folder?"},"content":{"rendered":"<p>Let&#8217;s assume that you have installed the OpenCart at https:\/\/www.myopencartstore.com\/shop and you want to move it to https:\/\/www.myopencartstore.com\/eshop<\/p>\n<p>To move the OpenCart from one folder to other, you will have to edit the following two files.<\/p>\n<p><code>http:\/\/www.myopencartstore.com\/shop\/configure.php<\/code><\/p>\n<p>and<\/p>\n<p><code>http:\/\/www.myopencartstore.com\/shop\/admin\/configure.php<\/code><\/p>\n<p>In both these files, you will find following lines that should be modified:<\/p>\n<p><strong>\/\/ HTTP<\/strong><\/p>\n<p><code>define('HTTP_SERVER', 'http:\/\/myopencartstore.com\/newfolder');<\/code><\/p>\n<p><code>define('HTTP_IMAGE', 'http:\/\/myopencartstore.com\/newfolder\/image\/');<\/code><\/p>\n<p><code>define('HTTP_ADMIN', 'http:\/\/myopencartstore.com\/newfolder\/admin\/');<\/code><\/p>\n<p><strong>\/\/ HTTPS<\/strong><\/p>\n<p><code>define('HTTPS_SERVER', 'http:\/\/myopencartstore.com\/newfolder\/');<\/code><\/p>\n<p><code>define('HTTPS_IMAGE', 'http:\/\/myopencartstore.com\/newfolder\/image\/');<\/code><\/p>\n<p><strong>\/\/ DIR<\/strong><\/p>\n<p><code>define('DIR_APPLICATION', '\/home\/username\/public_html\/newfolder\/catalog\/');<\/code><\/p>\n<p><code>define('DIR_SYSTEM', '\/home\/username\/public_html\/newfolder\/system\/');<\/code><\/p>\n<p><code>define('DIR_DATABASE', '\/home\/username\/public_html\/newfolder\/system\/database\/');<\/code><\/p>\n<p><code>define('DIR_LANGUAGE', '\/home\/username\/public_html\/newfolder\/catalog\/language\/');<\/code><\/p>\n<p><code>define('DIR_TEMPLATE', '\/home\/username\/public_html\/newfolder\/catalog\/view\/theme\/');<\/code><\/p>\n<p><code>define('DIR_CONFIG', '\/home\/username\/public_html\/newfolder\/system\/config\/');<\/code><\/p>\n<p><code>define('DIR_IMAGE', '\/home\/username\/public_html\/newfolder\/image\/');<\/code><\/p>\n<p><code>define('DIR_CACHE', '\/home\/username\/public_html\/newfolder\/system\/cache\/');<\/code><\/p>\n<p><code>define('DIR_DOWNLOAD', '\/home\/username\/public_html\/newfolder\/download\/');<\/code><\/p>\n<p><code>define('DIR_LOGS', '\/home\/username\/public_html\/newfolder\/system\/logs\/');<\/code><\/p>\n<p>In the above lines replace myopencartstore.com with your domain name, username with cPanel username and new folder with the directory name where your OpenCart is installed.<\/p>\n<p><strong>Related:\u00a0<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/changing-url-of-your-opencart-shopping-store\/\">Changing URL Of Your OpenCart Shopping Store<\/a><\/strong><\/p>\n<p>If you are not able to change the folder, <a href=\"https:\/\/www.milesweb.in\/contact.php\">contact us<\/a> our team will fix it for you.<\/p>\n<p>If you are looking for a <a href=\"https:\/\/www.milesweb.in\/apps\/opencart-hosting\">quality OpenCart hosting<\/a> provider, visit <strong><a href=\"https:\/\/www.milesweb.in\/\">MilesWeb<\/a>.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s assume that you have installed the OpenCart at https:\/\/www.myopencartstore.com\/shop and you want to move it to https:\/\/www.myopencartstore.com\/eshop To move the OpenCart from one folder to other, you will have to edit the following two files. http:\/\/www.myopencartstore.com\/shop\/configure.php and http:\/\/www.myopencartstore.com\/shop\/admin\/configure.php In both these files, you will find following lines that should be modified: \/\/ HTTP define(&#8216;HTTP_SERVER&#8217;, [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[240],"tags":[],"class_list":["post-2611","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-opencart-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change OpenCart Installation Folder?<\/title>\n<meta name=\"description\" content=\"In this article explains, how to change OpenCart installation folder?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change OpenCart Installation Folder?\" \/>\n<meta property=\"og:description\" content=\"In this article explains, how to change OpenCart installation folder?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-27T11:48:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-19T13:02:32+00:00\" \/>\n<meta name=\"author\" content=\"Paul Rodricks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Rodricks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\"},\"author\":{\"name\":\"Paul Rodricks\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283\"},\"headline\":\"How to Change OpenCart Installation Folder?\",\"datePublished\":\"2016-03-27T11:48:57+00:00\",\"dateModified\":\"2022-02-19T13:02:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\"},\"wordCount\":133,\"commentCount\":0,\"articleSection\":[\"OpenCart FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\",\"name\":\"How to Change OpenCart Installation Folder?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2016-03-27T11:48:57+00:00\",\"dateModified\":\"2022-02-19T13:02:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283\"},\"description\":\"In this article explains, how to change OpenCart installation folder?\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change OpenCart Installation Folder?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283\",\"name\":\"Paul Rodricks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17d1211436866108df21fc72c2927325db1ee824723b142ad3c461ebebc51bb4?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17d1211436866108df21fc72c2927325db1ee824723b142ad3c461ebebc51bb4?s=96&d=blank&r=g\",\"caption\":\"Paul Rodricks\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change OpenCart Installation Folder?","description":"In this article explains, how to change OpenCart installation folder?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/","og_locale":"en_US","og_type":"article","og_title":"How to Change OpenCart Installation Folder?","og_description":"In this article explains, how to change OpenCart installation folder?","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2016-03-27T11:48:57+00:00","article_modified_time":"2022-02-19T13:02:32+00:00","author":"Paul Rodricks","twitter_misc":{"Written by":"Paul Rodricks","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/"},"author":{"name":"Paul Rodricks","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283"},"headline":"How to Change OpenCart Installation Folder?","datePublished":"2016-03-27T11:48:57+00:00","dateModified":"2022-02-19T13:02:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/"},"wordCount":133,"commentCount":0,"articleSection":["OpenCart FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/","name":"How to Change OpenCart Installation Folder?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2016-03-27T11:48:57+00:00","dateModified":"2022-02-19T13:02:32+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283"},"description":"In this article explains, how to change OpenCart installation folder?","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Change OpenCart Installation Folder?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283","name":"Paul Rodricks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/17d1211436866108df21fc72c2927325db1ee824723b142ad3c461ebebc51bb4?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17d1211436866108df21fc72c2927325db1ee824723b142ad3c461ebebc51bb4?s=96&d=blank&r=g","caption":"Paul Rodricks"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=2611"}],"version-history":[{"count":10,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2611\/revisions"}],"predecessor-version":[{"id":16360,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2611\/revisions\/16360"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=2611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=2611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=2611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}