{"id":2611,"date":"2016-03-27T11:48:57","date_gmt":"2016-03-27T11:48:57","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=2611"},"modified":"2022-02-19T13:04:04","modified_gmt":"2022-02-19T13:04:04","slug":"how-to-change-opencart-installation-folder","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/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>If you are not able to change the folder, <a href=\"https:\/\/www.milesweb.co.uk\/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.co.uk\/apps\/opencart-hosting\">quality OpenCart hosting<\/a> provider, visit <a href=\"https:\/\/www.milesweb.co.uk\/\">www.milesweb.co.uk<\/a><\/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 v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Change OpenCart Installation Folder? - Web Hosting FAQs by MilesWeb<\/title>\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.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change OpenCart Installation Folder? - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"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(&#039;HTTP_SERVER&#039;, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/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:04:04+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=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/\",\"name\":\"How to Change OpenCart Installation Folder? - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2016-03-27T11:48:57+00:00\",\"dateModified\":\"2022-02-19T13:04:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change OpenCart Installation Folder?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283\",\"name\":\"Paul Rodricks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/309a61d73b54aaf8a8aa53493163b934?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/309a61d73b54aaf8a8aa53493163b934?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.co.uk\/hosting-faqs\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change OpenCart Installation Folder? - Web Hosting FAQs by MilesWeb","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.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/","og_locale":"en_GB","og_type":"article","og_title":"How to Change OpenCart Installation Folder? - Web Hosting FAQs by MilesWeb","og_description":"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('HTTP_SERVER', [&hellip;]","og_url":"https:\/\/www.milesweb.co.uk\/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:04:04+00:00","author":"Paul Rodricks","twitter_misc":{"Written by":"Paul Rodricks","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/","name":"How to Change OpenCart Installation Folder? - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2016-03-27T11:48:57+00:00","dateModified":"2022-02-19T13:04:04+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283"},"breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-change-opencart-installation-folder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Change OpenCart Installation Folder?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/041f1139856179da28035e1234bff283","name":"Paul Rodricks","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/309a61d73b54aaf8a8aa53493163b934?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/309a61d73b54aaf8a8aa53493163b934?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.co.uk\/hosting-faqs\/author\/paul\/"}]}},"views":1380,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=2611"}],"version-history":[{"count":8,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2611\/revisions"}],"predecessor-version":[{"id":13892,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2611\/revisions\/13892"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=2611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=2611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=2611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}