Techniqued- Technoloy, Review and Tutorials
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS
No Result
View All Result
Techniqued- Technoloy, Review and Tutorials
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS
No Result
View All Result
Techniqued- Technoloy, Review and Tutorials
No Result
View All Result

How to Protect your WordPress Theme Files

Nirmal by Nirmal
December 28, 2007
in Tips and Tricks, Wordpress
20
Share on FacebookShare on Twitter

There are 1000s of WordPress themes available for free download, but still you would like to have a unique theme for your blog or website. All you need is to modify or design a new theme based on an existing theme. Now what happens if someone steals your theme from your theme folder after all the hard work? One of my friends Arpit had problems with some people ripping off his beautiful theme, which he had made for his blog. So how to protect your blog theme?

By default everyone can view the theme folder in your blog (WordPress). The navigation path is http://www.yourwebsite.com/wp-content/themes. If you have a zipped version of your theme in this folder, everyone can just download your theme by clicking the zip file. In order to protect your can do this simple step.

1. Create a HTML page, which has a message like “You are not authorized to view this page” or something similar to it. Here is an example.

not-authorized.gif

2. Save this file as Index.html and upload this file to your themes folder, by default wp-content/themes. Thats it.

Now if you navigate to the same path, this file is displayed and no one can access your theme files. Alternatively you can just remove all the zipped versions of your theme, so that no one can download it directly from your folder or change the permissions set on this folder.

ShareTweetSendSend
Previous Post

Google Apps for Your Domain gets New features

Next Post

MS Office Tip: Stay Compatible with Compatibility Checker

Related Posts

Tips and Tricks

Can I Run Windows 11 without Activating

June 14, 2024
Social Networks

How to Change your Instagram Name

May 12, 2024
Social Networks

How To View Your Instagram Reels Watch History

May 11, 2024
Social Networks

How To Post Longer Videos On Instagram

May 6, 2024
Social Networks

How to Find Who Unfollowed you on Instagram

December 9, 2023
Social Networks

How to Download Instagram Reels [Official Method]

November 28, 2023

Comments 20

  1. Alfred says:
    17 years ago

    Creating an html file can block access from the browser, but tools like getright browser will still show the files.

    I think you need to use the Index Manager in your cpanel and set the no index option for these directories.

    Reply
  2. Techblissonline Dot Com says:
    17 years ago

    i agree with alfred…

    or you can have this in robots.txt for all bots…

    Disallow: /wp-content/

    Reply
  3. nirmaltv says:
    17 years ago

    @Alfred,
    Thanks for the info. 🙂

    @Rajesh,
    Adding in robots.txt will only prevent search engines I guess.

    Reply
  4. Arpit Jacob says:
    17 years ago

    Thanks Nirmal . I haven’t yet down to doing this. haven’t got time because of Christmas.

    Reply
  5. Techblissonline Dot Com says:
    17 years ago

    try it and see…even noindex is for search engines… 🙂

    Reply
  6. Techblissonline Dot Com says:
    17 years ago

    you will have several such directories exposed and having an index.html for every directory is not the right way to do it…

    Reply
  7. Vijay says:
    17 years ago

    I wonder who would be so careless as to store the zipped version in the theme dir! However, I ensure that my theme files are not accessible publicly! I am sure these tips can be useful to new users!

    Reply
  8. Shivaranjan says:
    17 years ago

    Good tip that can prevent you from simple geeks but as alfred said hackers would be easily bypass this.

    Reply
  9. Ronald says:
    17 years ago

    How if we set the .httaccess and addedd script like this : Options -Indexes ?

    Reply
  10. Logesh says:
    17 years ago

    I think using the .htaccess file is the best way. Because, as alfred has said some download managers could look into the directories, and adding robots.txt file will only protects from the search engines and not from the visitors. So i highly recommend to use a .htaccess file 🙂

    Reply
  11. Haris says:
    17 years ago

    Can’t we CHMOD the folder and prevent anyone else from getting in it?

    Reply
  12. nirmaltv says:
    17 years ago

    I feel from the comments above, writing a rule in .htaccess may be the best option.

    Reply
  13. Ronald says:
    17 years ago

    I think to protect that directory, you can use a PHP script or .httaccess + .htpasswd file to prevent someone else download your themes/plugins.

    Reply
  14. Garry Conn says:
    17 years ago

    This will thwart the attempts from many… but most people are after your CSS. They can get the rest of what is needed just by right clicking and viewing source and capturing your div tags and etc… The ultimate way to prevent theme theft is to figure out a way to prevent people from gaining access to your CSS.

    Reply
  15. nirmaltv says:
    17 years ago

    @Garry,
    I agree with you, there should be some way to prevent access to CSS files.

    Reply
  16. Garry Conn says:
    17 years ago

    Unfortunately, I don’t see how it is possible. Bloggers are all about having machine readable content. And unfortunately, bloggers are all about having this machine readable content looking pretty. CSS is nothing more than making regular text look styled and pretty.

    For bloggers that didn’t care about search engines and having their content machine readable, I wonder if it is possible to create a WordPress site written in Javascript?

    Reply
  17. EvoWRZ says:
    17 years ago

    Thanks for the tip, i did it in my blog.

    Reply
  18. WelpWhelp says:
    16 years ago

    Impressive Article , I thought it was grand

    I look ahead to more similar postings like this one. Does your website have a subscription I can subscribe to for new postings?

    Reply
    • Nirmal says:
      16 years ago

      @WelpWhelp,
      There is option to subscribe to RSS or through email, you can see the options on right sidebar

      Reply
  19. Angelina says:
    15 years ago

    interesting post and interesting comments

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Latest Articles

How to Fix “Installation can’t continue” when trying to Update Nvidia Graphics Drivers

Download Windows 11 24H2 ISO (Offline Installer)

Can I Run Windows 11 without Activating

How to Use Snapchat on PC

How to Delete YouTube Search and Watch History on iPhone

How to Use Energy Saver on Windows 11

Techniqued- Technoloy, Review and Tutorials

© 2021 Techniqued - Technology, Tips, Tricks and Reviews

Navigate Site

  • About Us
  • Advertise with us
  • Contact Us
  • Copyright Policy
  • Disclaimer

Follow Us

No Result
View All Result
  • Android
  • Freewares
  • Tutorial
  • Windows 11
  • macOS

© 2021 Techniqued - Technology, Tips, Tricks and Reviews

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.