Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Disable Wordpress uploads (https://www.warriorforum.com/programming/476321-disable-wordpress-uploads.html)

naturalskincare 26th October 2011 09:26 AM

Disable Wordpress uploads
 
Hi, I hope this is the correct place to put this. Apparently one of my wordpress sites, someone is trying to hack into it. My webhost says they are trying to upload things from the admin? She asked that I disable uploads from wordpress. How do I do that?

Jaspworld 26th October 2011 09:35 AM

Re: Disable Wordpress uploads
 
Hey,
Has he already hacked in? If not, can't you just change your password.
...

naturalskincare 26th October 2011 09:44 AM

Re: Disable Wordpress uploads
 
I think so, she sent me a report of things he was uploading.

CyberSEO 26th October 2011 10:37 AM

Re: Disable Wordpress uploads
 
I'd suggest you to protect the admin area by IP. Simple put the following .htaccess file into your /wp-admin folder:

Code:

AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "WP Control Panel"
AuthType Basic
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
allow from YYY.YYY.YYY.YYY

Where XXX.XXX.XXX.XXX and YYY.YYY.YYY.YYY your IP addresses. So no one with a different IP will be able to login even if he knows your username/pass.

kayetaylor 28th October 2011 06:23 AM

Re: Disable Wordpress uploads
 
CyberSEO is right just edit your .htaccess which you will find on the said folder


All times are GMT -6. The time now is 03:39 AM.