Hide and protect your WP plug-ins and themes folder

This item was filled under [ Webmaster, Wordpress ]

Thanks for visiting! If you're new here, you may want to subscribe to my Rss Feed. This blog posts regular Internet news, updates for apps, security, ideas, hacks, quick fixes and everything about hi-tech. Go ahead, Subscribe to our Feed or Register for Free!

image

You are in a Wordpress site and want to know what plug-ins is using that site or what themes? This is very simply do to, just browse websitename.ltd/wp-content/plugins and you will see a similar screen-shot as a made above the post. The same for themes /wp-content/plugins and wala! All the files and all the themes name.

But if you are a webmaster and you want to hide this or "protect"?! In two simply ways I want to show you how to add some hacks to your Wordpress plug-ins and theme folder.

First Method index file: For the first method you have to create a html blank page called index.html


Open your FTP program and login to your host/server. Browse to yourbog/wp-content/plugins and upload the file that your create index.html. And the same for the other folders where an index file is missing.
tips:

If you prefer you can add a redirect code in you index file:

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/">

so every time that someone is trying to browse your web folders will be redirect to blog homepage

Second method .htaccess: Open a text editor like notepad++ or crimson editor and create a file called .htaccess

Type the following code replacing your domain:

Redirect 301 / http://www.example.com/

Upload the file where index file is missing in your host files.

That’s all! Hope you enjoy this short guide. Comment what your think or if need any help!

Popularity: 525 reading
If you like this entry, consider bookmarking or help us promote it. Thank You!
Interesting Articles:

Related post to "Hide and protect your WP plug-ins and themes folder"

  • Wordpress Download Managers

    Again with Wordpress and for this time with some nice plug-ins to manage our downloads in the blog. The fist plug-in that I want to speak is...


  • Change the default Wordpress Mail Address

    When we receive mail from our Wordpres blog, we see that the default mail is wordpress@yourdomain.com! Times ago I searched on Wordpress...


  • Is your blog ready for 3G iPhone?

    Now iPhone is available in more countries and many users will use iPhone to search on the net, play and read our blog. But is you WP Blog ready...


  • Wordpress - Prevent Google From Indexing Your Images

    A tip from hackwordpress.com to stop google indexing our images in wordpress. There are two simply ways to do this. The first adding this code...


  • Hide and protect your WP plug-ins and themes folder
    Top Wordpress Plugins I Use

    Here is a list of my favourite wordpress plugins that power Quick Online Tips. * Google Sitemaps - This generator will create a...


  • Spicebird All In One Software

    Spicebird is a free and open source collaboration client from Synovel. Spicebird simplifies communication for users by providing integrated...


  • Add your Blog to WordPress Showcase

    Before I go ahead with WP showcase, I want to communicate that Wordpress 2.7 Beta 3 is now available for download. You can get Wordpress 2.7...


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Comments on “Hide and protect your WP plug-ins and themes folder”

  • 30 September, 2008, 22:47

    which method do you think would make my plugins more secure? I haven’t done much with htaccess but I would if it is necessary or better.

  • 1 October, 2008, 18:18

    if you find .htaccess complicated just follow the first method with an index.html file inside your plugin folder.

  • 1 November, 2008, 10:15

    htaccess is better way, however not all hosting providers will support it, the easiest is to copy index.php from wp-content “” and paste to themes and plugins folder. The above code is to show you what is in that index.php page.
    Mike

Leave a Comment