.htacces file not writeable
-
Hi,
I’m using this great plugin and some features have to write the .htaccess file. I want to block some IP’s and that one also has to write the .htaccess file.
I always first grant access to wwwroot via cpanel when I’m editting something on my website. I think my host is not a linux based server.
When I try to block some IP, I get the next error: “The plugin was unable to write to the .htaccess file. Please edit file manually.”
That makes sense, because I don’t have any .htaccess file (yet)…
I did not have any .htaccess file in my wwwroot/ directory. So, I made one by myself and uploaded to wwwroot via Filezilla (cpanel doesn’t). After that, it still giving the same error. After that I deleted the .htaccess file. When I did try to upload again later, I couldn’t! Also not when I change name of .htaccess file before uploading..
So, I did read a lot about the .htaccess file and just saw that WP makes automaticly a .htaccess file (if you don’t have one) when you change your permalink settings to the “year, month, day and name” option. I just did that, but than it says: “permalink structure updated. Remove write access on web.config file!” When I look, I see nothing changed. WP still uses postnames for url’s.
However, when I did want to block IP adresses I met this problem with the .htaccess file (and also web.config file). How can I resolve this? Anyone any ideas? Thank you!
Sef.
https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/
- The topic ‘.htacces file not writeable’ is closed to new replies.