{"id":6032,"date":"2020-09-28T13:21:03","date_gmt":"2020-09-28T13:21:03","guid":{"rendered":"https:\/\/truehost.co.ke\/support\/?post_type=ht_kb&#038;p=6032"},"modified":"2024-06-21T08:31:31","modified_gmt":"2024-06-21T08:31:31","password":"","slug":"how-to-move-wordpress-installation-from-a-folder-to-public_html","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/","title":{"rendered":"How to move WordPress installation from a folder to public_html"},"content":{"rendered":"\n<p>WordPress installation can be done using Softaculous Apps Installer in the cPanel. In this process, you may forget to remove the default WordPress installation directory known as <strong>wp<\/strong>, and thus end up installing WordPress on wp. In this case, if this was not your intention, your domain name may not be able to load your WordPress website unless you add &nbsp;<strong>\/wp<\/strong>&nbsp;&nbsp; in the url such as <strong>truehost.co.ke\/wp.<\/strong><\/p>\n\n\n\n<p>After doing that, you do not need to worry about starting a new installation, the following steps will guide you on how to move the installation out of the wp directory to public_html<\/p>\n\n\n\n<p><strong>Step I<\/strong><\/p>\n\n\n\n<p>Login to your cPanel, and navigate to the <strong>file manager<\/strong>, under the Files Section. In the file manager, click to open public_html folder on the left section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"212\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-45.png\" alt=\"\" class=\"wp-image-6034\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-45.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-45-300x102.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-45-50x17.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-45-600x204.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-45-320x109.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step II<\/strong><\/p>\n\n\n\n<p>Once you open public_html, identify the wp folder and click to open. Once it is open, use the <strong>Select All<\/strong> option to select files inside that folder.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"337\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-46.png\" alt=\"\" class=\"wp-image-6035\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-46.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-46-300x162.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-46-50x27.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-46-600x324.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-46-320x173.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step III<\/strong><\/p>\n\n\n\n<p>Move the files by clicking on the Move button, among the top menu. On the move dialogue box. Delete the <strong>\/wp<\/strong> end to remain with <strong>\/public_html.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"382\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-47.png\" alt=\"\" class=\"wp-image-6036\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-47.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-47-300x184.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-47-50x31.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-47-600x367.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-47-320x196.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step IV<\/strong><\/p>\n\n\n\n<p>Once you have deleted the \/wp in the directory name as shown below, click on the move button to move the files.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"338\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-48.png\" alt=\"\" class=\"wp-image-6037\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-48.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-48-300x163.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-48-50x27.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-48-600x325.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-48-320x173.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step V<\/strong><\/p>\n\n\n\n<p>Under the cPanel, navigate to Databases section an open phpMyAdmin, to display a list of databases on your hosting, then identify and click on the database on which your WordPress is running.<\/p>\n\n\n\n<p>It may open as follows<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"248\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-49.png\" alt=\"\" class=\"wp-image-6038\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-49.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-49-300x119.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-49-50x20.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-49-600x238.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-49-320x127.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step VI<\/strong><\/p>\n\n\n\n<p>Click on wp_options table to open the table columns.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"274\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-50.png\" alt=\"\" class=\"wp-image-6039\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-50.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-50-300x132.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-50-50x22.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-50-600x263.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-50-320x141.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step VII<\/strong><\/p>\n\n\n\n<p>On the Option_Value column of the Option table, double click on site url and remove the <strong>\/wp <\/strong>&nbsp;ending as shown below.Upon deletion of \/wp, click outside the field for the changes to be saved. Repeat the deletion for home url<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"292\" src=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-51.png\" alt=\"\" class=\"wp-image-6040\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-51.png 624w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-51-300x140.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-51-50x23.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-51-600x281.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2020\/09\/image-51-320x150.png 320w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p><strong>Step VIII<\/strong><\/p>\n\n\n\n<p>Exit, refresh your browser and load the domain to see the changes.<\/p>\n\n\n\n<p><strong>END<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress installation can be done using Softaculous Apps Installer in the cPanel. In this process, you may forget to remove the default WordPress installation directory known as wp, and thus end up installing WordPress on wp. In this case, if this was not your intention, your domain name may not be able to load your [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1838],"doc_tag":[],"class_list":["post-6032","docs","type-docs","status-publish","hentry","doc_category-wordpress"],"year_month":"2026-06","word_count":331,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"kenneth","author_nicename":"kenneth","author_url":"https:\/\/truehost.com\/support\/author\/kenneth\/"},"doc_category_info":[{"term_name":"WordPress","term_url":"https:\/\/truehost.com\/support\/docs-category\/wordpress\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to move WordPress installation from a folder to public_html -<\/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:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to move WordPress installation from a folder to public_html -\" \/>\n<meta property=\"og:description\" content=\"WordPress installation can be done using Softaculous Apps Installer in the cPanel. In this process, you may forget to remove the default WordPress installation directory known as wp, and thus end up installing WordPress on wp. In this case, if this was not your intention, your domain name may not be able to load your [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-21T08:31:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-45.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/\",\"name\":\"How to move WordPress installation from a folder to public_html -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.co.ke\\\/support\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/image-45.png\",\"datePublished\":\"2020-09-28T13:21:03+00:00\",\"dateModified\":\"2024-06-21T08:31:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.co.ke\\\/support\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/image-45.png\",\"contentUrl\":\"https:\\\/\\\/truehost.co.ke\\\/support\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/image-45.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-move-wordpress-installation-from-a-folder-to-public_html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to move WordPress installation from a folder to public_html\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to move WordPress installation from a folder to public_html -","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:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/","og_locale":"en_US","og_type":"article","og_title":"How to move WordPress installation from a folder to public_html -","og_description":"WordPress installation can be done using Softaculous Apps Installer in the cPanel. In this process, you may forget to remove the default WordPress installation directory known as wp, and thus end up installing WordPress on wp. In this case, if this was not your intention, your domain name may not be able to load your [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/","article_modified_time":"2024-06-21T08:31:31+00:00","og_image":[{"url":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-45.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/","name":"How to move WordPress installation from a folder to public_html -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-45.png","datePublished":"2020-09-28T13:21:03+00:00","dateModified":"2024-06-21T08:31:31+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/#primaryimage","url":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-45.png","contentUrl":"https:\/\/truehost.co.ke\/support\/wp-content\/uploads\/2020\/09\/image-45.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-move-wordpress-installation-from-a-folder-to-public_html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to move WordPress installation from a folder to public_html"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/6032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=6032"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/6032\/revisions"}],"predecessor-version":[{"id":6041,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/6032\/revisions\/6041"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=6032"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=6032"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=6032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}