Disable Wordpress uploads

4 replies
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?
#disable #uploads #wordpress
  • Profile picture of the author Jaspworld
    Hey,
    Has he already hacked in? If not, can't you just change your password.
    ...
    Signature

    {{ DiscussionBoard.errors[4939668].message }}
  • Profile picture of the author naturalskincare
    I think so, she sent me a report of things he was uploading.
    Signature
    Natural Skin Care- Best tips, tricks and advice on all natural anti aging treatments |Cheapest Insurance Rates- | New Tablets
    {{ DiscussionBoard.errors[4939711].message }}
  • Profile picture of the author CyberSEO
    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.
    Signature
    CyberSEO Pro - the ultimate all-in-one autoblogging WordPress plugin, powered by OpenAI GPT-4, Anthropic Claude, Google Gemini Pro, Midjourney, DALL-E 3 and Stable Diffusion XL
    {{ DiscussionBoard.errors[4940049].message }}

Trending Topics