Site Navigation  
   
  Home  
     
  10 Must Use Plugins to Improve Your WordPress Security  
  Essential Plugins to Harden Your WordPress Security  
  How to Use a Password Service to Protect from a WordPress Security Breech  
  How to Prevent Hacking of Your WordPress Site  
  WordPress Site and Dangerous Hackers  
  How You Can Protect Your WordPress Site from Hackers  
  5 Changes to htaccess to Improve Your WordPress Security  
  Using a Password Service to Protect Your WordPress Site  
  Htacces Protects Your WordPress Website  
  Its Easy to Protect Your WorePress Website Against Security Breaches  
  Making Sure Your WordPress is Securely Installed  
  Say No to WordPress Hackers With Better Security  
  WordPress Security Tips to Protect Your WordPress Site from Danger  
  Things You Can do to Secure Your WordPress Site  
  Avoid Lock Outs and Protect Yourself from WordPress Hackers  
  Discover Just How Hackers Will Determine Your Password  
  How to Protect Your Website from Plagiarism  
     
     
  Top Selling Products  
 
WordPress Success
"At Last! The Most Comprehensive WordPress Course Is Finally Here" Discover The Blueprint For Creating Profitable And High-Converting Websites...
Install SEO  Wordpress
WordPress Training From Domain Name All The Way To WP Tools + 4 "Extras" ...
SEO Tips For Wordpress
Discover a proven strategy for driving laser targeted traffic to your websites... Master The Power of SEO to Gain Floods of Traffic to...
Wordpress Plugin Creator
Fill In A Few Blanks, Push A Button And Out Pops A Fully Functional Wordpress Plugin That You Can Sell As Your Own Creates random phrase type...
WordPress Optimization Secrets
"Get All The Support And Guidance You Need To Permanently STOP The Poor Performance Of Your Wordpress Site!" This Book Is One Of The Most Valuable...

 
     

   
  5 Changes to htaccess to Improve Your WordPress Security  
 

Improving your WordPress security is an integral part of keeping hackers at bay and while there are a number of things you can do, we’re going to look at 5 changes to htaccess you can make to improve your WordPress security.

#1 Ban Bad Users
If you continuously have the same IP address attempting to access your site or attempting to use brute force to access your admin pages, you can ban them by putting this little snippet of code in your .htaccess.

    <Limit GET POST>
    order allow,deny
    deny from 202.090.21.1
    allow from all
    </Limit>
They will no longer have access to your site. You can easily add more by just repeating the deny line. Here’s an example:
<Limit GET POST>
order allow,deny
deny from 202.090.21.1
deny from 204.090.21.2
allow from all
</Limit>

#2 Stop Access To wp-content
The wp-content folder contains images, plug-ins and themes. It is one of the key folders within your WordPress install so you will want to prevent access by outsiders.
This needs its own .htaccess file which you will need to add to the wp-content folder, it lets users see images, CSS etc... but it will protect the key PHP files:
    Order deny,allow
    Deny from all
    <Files ~ ".(xml|css|jpe?g|png|gif|js)$">
    Allow from all
    </Files>

#3 No Directory Browsing
Because of the popularity of WordPress too many people now know the WordPress install structure and where to find the plug-ins that might give away too much information about your WordPress site. You can stop that by preventing directory browsing.
    # directory browsing
    Options All –Indexes


#4 Individual File Protection
There are some files you you want o make sure are protected on an individual bases rather than having to block the entire folder they reside in. The snippet example below shows you how to prevent access to the .htaccess file and doing this will throw a 403 if anyone accesses. You can change the filename c to whatever file you want to protect:
    # Protect the .htaccess
    <files .htaccess="">
    order allow,deny
    deny from all
    </files>

#5 Protect .htaccess
We are so busy worrying about whether we are using the correct plug-ins or whether we’ve installed all the updates for fixes, that we overlook that the .htaccess file is open for attack.
The snippet below will stop others from seeing any file on your site that starts with "hta", so this will protect your site and make it safer.

    <Files ~ "^.*\.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
    </Files>

This is by no means all of the ways you can improve your security with htaccess, but gives you a good start so get busy.






Subscribe to Our Newsletter to Receive Information About Updates, Improvements and Developments That Will Maximize Your Earning Potential.
Name:
Email:

WordPress Success

"At Last! The Most Comprehensive WordPress Course Is Finally Here" Discover The Blueprint For Creating Profitable And High-Converting Websites Using WordPress! [...]

Category:

Internet Marketing

Install SEO  Wordpress

WordPress Training From Domain Name All The Way To WP Tools + 4 "Extras" [...]

Category:

Internet Marketing

Move Your WordPress Site

5 Videos Teaching You How To Move Your WordPress Site To A New Domain & Since It's A Steve Dougherty Production (fellow UMer) It's A PLEASURE To Watch & Learn :-) [...]

Category:

Internet Marketing

Simple Ways To Speed Up WordPress Sites

This Video From Tim Carter Shows You Simple Ways To Speed Up WordPress Sites [...]

Category:

Internet Marketing

SEO Tips For Wordpress

Discover a proven strategy for driving laser targeted traffic to your websites... Master The Power of SEO to Gain Floods of Traffic to Your Business! [...]

Category:

Internet Marketing

An Introduction To WordPress Child Themes

This Video From Tim Carter Will Show How To Use WordPress Child Themes [...]

Category:

Internet Marketing

WordPress 4 Basics

"How To Create Your First WordPress Site In 24 Hours Or Less" ...By Easily Unlocking The Power of WordPress with These Easy To Follow Step-By-Step Videos (Even If You Don't Have A Technical Bone In Your Body) [...]

Category:

Internet Marketing

Email Your Registered WP Users From Within WordPress

This Video From Tim Carter Will Show You How To Email Your Registered WP Users From Within WordPress [...]

Category:

Internet Marketing

Wordpress Plugin Creator

Fill In A Few Blanks, Push A Button And Out Pops A Fully Functional Wordpress Plugin That You Can Sell As Your Own Creates random phrase type plugins for Wordpress. These simple plugins add content to the end of posts such as "Thought of the [...]

Category:

Internet Marketing

Wordpress Plugin Powerpack

Includes: Earn Per Click Widget - Show Your Upcoming Posts WP Plugin - Registered Users WP Plugin - Move "Featured Image" To The Top WP Plugin [...]

Category:

How-To