Your HostICan Community  


Go Back   Your HostICan Community > SEO (Search Engine Optimization) & Marketing > Blogging
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Blogging From hobbyists to The New York Times, blogging is the way to go to express your thoughts online. This forum is designed to discuss the entire subject, including picking the best software, creating themes, getting hits and, most important of all, posting your commentaries. Hard programming issues, though, should be discussed in our PHP / MySQL Assistance forum.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-19-2007, 05:28 PM
lnxcode's Avatar
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 1,666
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default WordPress Protection

[Advanced Users Only]

The below code is a update for your .htaccess file - it can help against attacks using wordpress against wordpress.

Just add the few lines into your .htaccess file:

Code:
SetEnvIfNoCase User-Agent "^WordPress" bad_bot 

<Limit GET POST> 
Order Allow,Deny 
Allow from all 
Deny from env=bad_bot 
</Limit>
Please note that the above code works on seeing the browser. If you have Wordpress signature in your browser (a referring agent) then it will be shown as a 403.
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #2 (permalink)  
Old 12-19-2007, 05:31 PM
lnxcode's Avatar
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 1,666
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Quote:
Originally Posted by lnxcode View Post
[Advanced Users Only]

The below code is a update for your .htaccess file - it can help against attacks using wordpress against wordpress.

Just add the few lines into your .htaccess file:

Code:
SetEnvIfNoCase User-Agent "^WordPress" bad_bot 

<Limit GET POST> 
Order Allow,Deny 
Allow from all 
Deny from env=bad_bot 
</Limit>
Please note that the above code works on seeing the browser. If you have Wordpress signature in your browser (a referring agent) then it will be shown as a 403.
One such attack today:


212.24.63.241 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=640 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
212.24.48.138 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=703 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
212.24.62.166 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=1102 HTTP/1.1" 403 2931 "-" "WordPress 1.9"
62.213.115.1 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=530 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
212.24.32.233 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=1384 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
62.213.115.1 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=530 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
62.213.71.245 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=119 HTTP/1.1" 403 2931 "-" "WordPress 1.9"
62.213.117.194 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=4190 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
62.213.113.233 - - [19/Dec/2007:17:14:19 -0500] "POST /wp-trackback.php?p=2837 HTTP/1.1" 403 2931 "-" "WordPress/1.9"
62.213.71.246 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=639 HTTP/1.1" 403 2931 "-" "WordPress 2.1.2"
212.24.48.72 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3352 HTTP/1.1" 403 2931 "-" "WordPress/2.1.2"
212.24.48.142 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=199 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
217.23.133.25 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3246 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
62.213.115.2 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3533 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
62.213.71.247 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=1427 HTTP/1.1" 403 2931 "-" "WordPress 2.1.2"
62.213.115.2 - - [19/Dec/2007:17:14:20 -0500] "POST /wp-trackback.php?p=3533 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
62.213.116.116 - - [19/Dec/2007:17:14:21 -0500] "POST /wp-trackback.php?p=3484 HTTP/1.1" 403 2931 "-" "WordPress/2.0"
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #3 (permalink)  
Old 12-19-2007, 05:50 PM
lnxcode's Avatar
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 1,666
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default

Yet another update: Does WordPress scrape sites? | ExpressionEngine Community Forums
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #4 (permalink)  
Old 12-20-2007, 06:08 AM
Scott's Avatar
Senior Member
 
Join Date: Sep 2007
Location: hostican-coupon.com
Posts: 1,139
Default

Hmmm thanks for the tip.
__________________
HostICan Discount - New customer? Save $50 on your HostICan hosting purchase!
HostICan Hosting Reviews - See what other customers say about HostICan.
Simple Hosting - Web Hosting Made Simple!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Wordpress be a Perfect CMS ? james Blogging 5 01-16-2008 09:56 PM
WordPress Blog & high load warning? lnxcode Blogging 3 01-08-2008 01:24 PM
wordpress 2.4 on its way on Jan 24th james Blogging 2 11-17-2007 07:29 PM
Need Someone to Help You with Wordpress Site and Theme Setup? I'm FREE Scott Blogging 25 11-01-2007 05:59 PM
.htaccess and wordpress 406 error db3000 PHP / MySQL Assistance 33 09-25-2007 09:19 PM


All times are GMT -4. The time now is 11:26 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Copyright © 2003 - 2008 HostICan. All Rights Reserved.