{"id":286,"date":"2021-06-21T18:05:48","date_gmt":"2021-06-21T18:05:48","guid":{"rendered":"https:\/\/yegara.com\/en\/guide\/?p=286"},"modified":"2021-06-21T18:16:29","modified_gmt":"2021-06-21T18:16:29","slug":"how-to-remove-the-wp-at-the-end-of-my-wordpress-site","status":"publish","type":"post","link":"https:\/\/yegara.com\/en\/guide\/how-to-remove-the-wp-at-the-end-of-my-wordpress-site\/","title":{"rendered":"How to Remove The &#8220;wp&#8221; at the end of my WordPress site"},"content":{"rendered":"\n<p>If you have used softaclous to install your new WordPress site and forgot to remove the default value in the directory field, your website would be installed in a subdirectory called &#8220;wp&#8221; instead of your main domain. this means you will have to go to <strong>your-domain.com\/wp <\/strong>to access your website instead of <strong>your-domain.com <\/strong><\/p>\n\n\n\n<p>In order to fix this, you will have to Rename your website&#8217;s URL and move the content to the main directory. below I will show you how to. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">STEP 1: Rename URL<\/h2>\n\n\n\n<p>In your WordPress dashboard Go to <strong>Settings > General<\/strong> and remove the wp subdirectory from the end of the URL for both the WordPress Address and Site Address. <\/p>\n\n\n\n<p>Be sure you dont have a trailing slace ( \/ ) at the end <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"428\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/rename.png\" alt=\"\" class=\"wp-image-289\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/rename.png 784w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/rename-300x164.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/rename-768x419.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Move Your Files To the main Directory<\/h2>\n\n\n\n<p>Now you will need to MOVE all of the WordPress files from the wp subdirectory up one level to public_html folder\u00a0.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Login to your Cpanel and open the File Manager. Navigate to Public_html  > wp  Directory <\/li><li>Click on <strong>&#8220;Select All&#8221;<\/strong><\/li><li>Click on <strong>&#8220;Move&#8221;<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"855\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/image-3-1024x855.png\" alt=\"\" class=\"wp-image-290\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/image-3-1024x855.png 1024w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/image-3-300x250.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/image-3-768x641.png 768w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/image-3.png 1113w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Remove the &#8220;\/wp&#8221; at the end of the directory field<\/li><li>Click <strong>&#8220;Move File(s)&#8221;<\/strong> <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"687\" height=\"654\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/move.png\" alt=\"\" class=\"wp-image-291\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/move.png 687w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/06\/move-300x286.png 300w\" sizes=\"auto, (max-width: 687px) 100vw, 687px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Resave Permalink Structure<\/h2>\n\n\n\n<p>Log in to WordPress by going to your-domain.com\/wp-admin.<\/p>\n\n\n\n<p>Go to <strong>Settings > Permalinks<\/strong> and click &#8220;<strong>Save Changes<\/strong>&#8220;. This will rewrite your .htaccess file to remove the subdirectory from the page URLs.<\/p>\n\n\n\n<p>That is it, now you should be able to access your site Directly using your Domain name. <\/p>\n\n\n\n<p>If you have any questions or need help getting your website secured, please feel free to reach out to our team!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have used softaclous to install your new WordPress site and forgot to remove the default value in the directory field, your website would be installed in a subdirectory called &#8220;wp&#8221; instead of your main domain. this means you will have to go to your-domain.com\/wp to access your website instead of your-domain.com In order [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-286","post","type-post","status-publish","format-standard","hentry","category-how-to"],"_links":{"self":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/comments?post=286"}],"version-history":[{"count":4,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/286\/revisions"}],"predecessor-version":[{"id":296,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/286\/revisions\/296"}],"wp:attachment":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/media?parent=286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/categories?post=286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/tags?post=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}