{"id":4248,"date":"2022-04-27T16:49:12","date_gmt":"2022-04-27T13:49:12","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=4248"},"modified":"2022-09-01T11:33:31","modified_gmt":"2022-09-01T08:33:31","slug":"how-to-hide-my-themes-details-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-hide-my-themes-details-in-wordpress\/","title":{"rendered":"How to Hide My Theme&#8217;s Details in WordPress"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Thanks to WordPress themes, you no longer need to hire a web designer and a developer to launch a new website.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Instead, you can choose between thousands of different designs and layouts. You can use a theme as a framework, and with the <\/span><b>customization options<\/b><span style=\"font-weight: 400;\">, you can build a unique look for your website. All this <\/span><b>without writing even a single line of code<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">What worries some people is that it&#8217;s usually pretty easy to see whether a WordPress site is using <\/span><b>an off-the-shelf theme<\/b><span style=\"font-weight: 400;\">. Today, we&#8217;ll see what we can do to make it harder.<\/span><b><\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Why Do I Need to Hide My WordPress Theme Details?<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">There are a couple of reasons for hiding the name of the theme you&#8217;re using. First, it makes your website look more professional. If visitors know that you&#8217;re using an off-the-shelf design, they may assume that you haven&#8217;t put enough effort into the project and will be <\/span><b>less likely to interact with it<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you convince them that they&#8217;re looking at <\/span><b>a bespoke product<\/b><span style=\"font-weight: 400;\">, you have a better chance of boosting your image as a trustworthy business partner.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Removing visible traces of your theme&#8217;s name also <\/span><b>improves your site&#8217;s security<\/b><span style=\"font-weight: 400;\">. Like any other software product, a <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/best-wordpress-themes\/\"><b>WordPress theme<\/b><\/a><span style=\"font-weight: 400;\"> can have <\/span><b>bugs and vulnerabilities<\/b><span style=\"font-weight: 400;\">. Hackers are aware of these vulnerabilities, and they know how to exploit them.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Hiding your theme&#8217;s details won&#8217;t necessarily stop the more determined cybercriminals, but it will definitely <\/span><b>make their lives harder<\/b><span style=\"font-weight: 400;\">. If they can&#8217;t see your theme&#8217;s name straight away, they won&#8217;t know which security hole to target, so they&#8217;ll be more likely to move on to the next target.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It definitely makes sense to hide your theme&#8217;s name, but before you do, there are a couple of things you might want to take care of.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">First, have a look at the theme&#8217;s documentation and find out whether <\/span><b>the licensing agreement<\/b><span style=\"font-weight: 400;\"> allows you to edit the design. This shouldn&#8217;t be a problem if you&#8217;re using an <\/span><b>open-source theme<\/b><span style=\"font-weight: 400;\">, but some premium templates have rules that shouldn&#8217;t be infringed.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The second thing you need to do is create <\/span><b>a backup of the entire site<\/b><span style=\"font-weight: 400;\">. You will be modifying some key files and folders, so it&#8217;s important to have a means of restoring everything back to its original state should something go wrong. Once you&#8217;re sure you&#8217;re ready to proceed, you can take a look at the options.<\/span><b><\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Hiding Your Theme&#8217;s Details With a Plugin<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Not surprisingly, you can find <\/span><b>WordPress plugins that hide the theme&#8217;s details for you<\/b><span style=\"font-weight: 400;\">. You have many options, all offering <\/span><b>a range of different features and tools<\/b><span style=\"font-weight: 400;\">. One of the first add-ons that appear on the WordPress official repository is the <\/span><a href=\"https:\/\/wordpress.org\/plugins\/hide-my-wp\/\"><span style=\"font-weight: 400;\">Hide My WP Ghost Security Plugin<\/span><\/a><span style=\"font-weight: 400;\">. It has over <\/span><b>100 thousand active installations<\/b><span style=\"font-weight: 400;\"> and quite a few five-star reviews, so it&#8217;s clear many people like it. Let&#8217;s see how it can hide the theme&#8217;s name.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">After you install the plugin, open the <\/span><b>Hide My WP <\/b><span style=\"font-weight: 400;\">menu from the navigation bar on the right and go to <\/span><b>Change Paths<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"163\" height=\"336\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/1-1.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Hiding Your Theme&#8217;s Details With a Plugin\" class=\"wp-image-4249\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/1-1.png 163w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/1-1-146x300.png 146w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">At the top, you&#8217;ll see three buttons denoting different <\/span><b>levels of security<\/b><span style=\"font-weight: 400;\"> promised by the Hide My WP Ghost plugin. Click <\/span><b>Lite mode<\/b><span style=\"font-weight: 400;\"> and confirm your choice.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The plugin sets up some <\/span><b>rewrite rules<\/b><span style=\"font-weight: 400;\"> to make the paths to some of the <\/span><b>core WordPress resources <\/b><span style=\"font-weight: 400;\">inaccessible to the outside world. WP Hide Ghost <\/span><b>won&#8217;t change the actual file paths<\/b><span style=\"font-weight: 400;\">, but it will prevent hackers from easily guessing your theme after a brief look at the source code.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"463\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/2-1-1024x463.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Hiding Your Theme&#8217;s Details With a Plugin 2\" class=\"wp-image-4250\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/2-1-1024x463.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/2-1-300x136.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/2-1-768x347.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/2-1.png 1428w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Next, go to <\/span><b>Theme Security<\/b><span style=\"font-weight: 400;\"> and confirm that the <\/span><b>Hide theme names<\/b><span style=\"font-weight: 400;\"> toggle switch is enabled. If it is, Hide My WP Ghost will attribute random names to your themes. You can also configure your custom theme and theme style paths on this page.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/3-1-1024x559.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Hiding Your Theme&#8217;s Details With a Plugin 3\" class=\"wp-image-4251\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/3-1-1024x559.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/3-1-300x164.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/3-1-768x419.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/3-1.png 1448w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><b>Manually Hiding Your Theme&#8217;s Details<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Manually hiding your theme&#8217;s name is not an overly complicated process, but you need to bear a couple of things in mind. The process involves renaming your theme&#8217;s directory and editing its main stylesheet. This <\/span><b>may affect your site&#8217;s search engine rankings<\/b><span style=\"font-weight: 400;\">, and it will definitely <\/span><b>stop WordPress from automatically updating the modified theme<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If these things don&#8217;t present a problem, you can make all modifications <\/span><b>via <\/b><a href=\"https:\/\/www.scalahosting.com\/kb\/ssh-access\/\"><b>SSH<\/b><\/a><span style=\"font-weight: 400;\"> and through <\/span><b>an <\/b><a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-setup-ftp-using-filezilla\/\"><b>FTP client like FileZilla<\/b><\/a><span style=\"font-weight: 400;\">. However, because it can edit files and folders on the spot, your hosting account&#8217;s <\/span><b>File Manager<\/b><span style=\"font-weight: 400;\"> is arguably the most convenient option.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">You need to navigate to your site&#8217;s document root folder (if it&#8217;s hosted under your main domain, it will be the <\/span><b>public_html<\/b><span style=\"font-weight: 400;\"> directory) and go to <\/span><b>wp-content\/themes<\/b><span style=\"font-weight: 400;\">. This is where you&#8217;ll see the folders of all the themes currently installed on your site.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Right-click on the folder you want to modify and click <\/span><b>Rename<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"616\" height=\"205\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/4-1.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Manually Hiding Your Theme&#8217;s Details\" class=\"wp-image-4252\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/4-1.png 616w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/4-1-300x100.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Your next job is to edit the <\/span><b>style.css<\/b><span style=\"font-weight: 400;\"> file in the theme folder. After you open it, one of the first lines will be <\/span><b>Theme Name<\/b><span style=\"font-weight: 400;\">. The name you set here will appear in <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-login-to-wordpress-sites-wp-admin-access\/\"><b>WP admin<\/b><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"770\" height=\"96\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/5-1.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Manually Hiding Your Theme&#8217;s Details 2\" class=\"wp-image-4253\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/5-1.png 770w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/5-1-300x37.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/5-1-768x96.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><b>Removing the Theme&#8217;s Name From the Footer<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Your site&#8217;s footer may contain the theme&#8217;s name or a message like &#8220;<\/span><b>Powered by WordPress<\/b><span style=\"font-weight: 400;\">.&#8221; You need to double-check the licensing agreement to make sure you&#8217;re allowed to remove them. If you are, you have a couple of options.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">You can do it <\/span><b>from the WordPress dashboard<\/b><span style=\"font-weight: 400;\">. If you&#8217;re using a block theme, you get access to the <\/span><b>Editor <\/b><span style=\"font-weight: 400;\">(which is still in beta at the time of writing). It&#8217;s basically <\/span><b>a what-you-see-is-what-you-get<\/b><span style=\"font-weight: 400;\"> interface allowing you to edit your website&#8217;s look. All you need to do to remove text from the footer is click on it and press <\/span><b>Delete<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"499\" height=\"148\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/6-1.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Removing the Theme&#8217;s Name From the Footer\" class=\"wp-image-4254\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/6-1.png 499w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/6-1-300x89.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">If you&#8217;re using a traditional theme, you can use the <\/span><b>Theme File Editor<\/b><span style=\"font-weight: 400;\">. It gives you access to the source code, and what you need to do is select the <\/span><b>footer.php<\/b><span style=\"font-weight: 400;\"> file from the menu on the right and remove the code you don&#8217;t need.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"485\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/7-1024x485.png\" alt=\"How to Hide My Theme&#8217;s Details in WordPress, Removing the Theme&#8217;s Name From the Footer 2\" class=\"wp-image-4255\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/7-1024x485.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/7-300x142.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/7-768x364.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/7-1536x727.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/04\/7.png 1903w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Bear in mind, however, that if you update the theme, you will lose the<\/span> <a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-customize-your-wordpress-theme\/\"><b>modifications you&#8217;ve made<\/b><\/a><span style=\"font-weight: 400;\">. To avoid this, set up <\/span><b>a child theme<\/b><span style=\"font-weight: 400;\">, copy the <\/span><b>footer.php<\/b><span style=\"font-weight: 400;\"> template file, and edit out the code you don&#8217;t need.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The child theme allows you to install all the latest updates without losing any modifications you make to the site&#8217;s appearance.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to WordPress themes, you no longer need to hire a web designer and a developer to launch a new website. Instead, you can choose between thousands of different designs and layouts. You can use a theme as a framework, and with the customization options, you can build a unique look for your website. All [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-4248","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/4248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=4248"}],"version-history":[{"count":6,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/4248\/revisions"}],"predecessor-version":[{"id":5063,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/4248\/revisions\/5063"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=4248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=4248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=4248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}