• Resolved Just Here

    (@sefaarslan88gmailcom)


    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/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Estou com o mesmo problema com o .htaccess , Mensagem ” The plugin was unable to write to the .htaccess file. Please edit file manually. ”

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @just Here, I have replied to your other support thread.

    I’m having this problem with the plugin “All In One WP Security” when configured appears message “The plugin was unable to write to the .htaccess file. Please edit file manually.” .htaccess, But I’m having trouble editing manually, I wonder if even not writing in .htaccess the plugin continues to protect my website.

    Thread Starter Just Here

    (@sefaarslan88gmailcom)

    Hi mbrsolution,

    Thank you, but do you also have anything to say at this topic? I need help also in this topic.

    Regards,

    Sef.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @just Here, I am sorry but I don’t run a Windows server and therefore cannot provide any information that can help you with your current issue except what I suggested in your other support thread.

    Regards

    Thread Starter Just Here

    (@sefaarslan88gmailcom)

    Okay, guys,

    My host did enable url rewrite function by editting the web.config file. I don’t know why, but ok…

    They also did make a .htaccess file. It is there now under my wwwroot folder!
    But still, when I want to block any IP, the plugin gives an error and sais the .htaccess file couldn’t be editted…

    Any help? Idea?

    TY,

    Sef

    I have the same problem, I can not write in the .htaccess, my doubt is if the IPs are blocked even not writing in .htaccess

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @marcos Monteiro are you still having problems with this option?

    Yes mbrsolution, continue with this problem also can not change the permanent links to change the URL “https://sapolina.com.br/?page_id=300”

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @marcos Monteiro have you spoken to your host about this issue?

    Hello mbrsolution, my hosting is uolhost and is very good in terms of security and stability, but the service is very bad, but I’m waiting for them to answer a new call after I post here what they said to do, if you can help me I’m glad

    Thread Starter Just Here

    (@sefaarslan88gmailcom)

    @ Marcos Any updates?

    Hello, I solved the problem by putting this code in the .htaccess file

    <RewriteEngine On>

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^ index \ .php $ – [L]
    RewriteCond% {REQUEST_FILENAME}! -f
    RewriteCond% {REQUEST_FILENAME}! -d
    RewriteRule. /index.php [L]
    </ IfModule>

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @just Here does @marcos Monteiro suggestion help you?

    Thread Starter Just Here

    (@sefaarslan88gmailcom)

    Thank you for asking.

    I’m not good at pro coding, I don’t know what those codes are, but I don’t have any other option, so I will try that.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘.htacces file not writeable’ is closed to new replies.