Disable Wordpress uploads

by 4 replies
5
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?
#programming #disable #uploads #wordpress
  • Hey,
    Has he already hacked in? If not, can't you just change your password.
    ...
  • I think so, she sent me a report of things he was uploading.
  • 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.
    • [1] reply
    • CyberSEO is right just edit your .htaccess which you will find on the said folder

Next Topics on Trending Feed

  • 5

    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?