htaccess always unwritable
-
Hello,
I’ve just installed this plugin with a clean WordPress. I have given all directories 775 permissions and all files 664. The user ownership is also setup properly. Indeed, I can install plugins through the dashboard, and edit .htaccess through certain plugins directly.
However, in the RSSL debug log it says my .htaccess is not writable. I don’t understand why as it says the same even with 777 permissions.
Although my SSL does work, I would still like it to work with the .htaccess solution. The log:
Options: * htaccess redirect * WordPress redirect * Mixed content fixer SERVER: apache SSL is enabled for this site ** Detecting configuration ** plugin version: 3.1.5 Already on SSL, start detecting configuration SSL type: SERVER-HTTPS-ON ** Configuring SSL ** testing htaccess rules... test page url, enter in browser to check manually: https://x.xxx.xx.177/wp-content/plugins/really-simple-ssl/testssl/serverhttpson/ssl-test-page.html htaccess rules test failed with error: cURL error 51: SSL: certificate subject name 'xxxxxxxxx.nl' does not match target host name 'x.xxx.xx.177' checking if .htaccess can or should be edited... .htaccess does not contain default Really Simple SSL redirect .htaccess not writable. converting siteurl and homeurl to httpsThanks in advance
-
Hi @nikecow,
This might be related to the user that has the permissions. The plugin simply uses the PHP function is_writable() function to check if the path is writable.
You can always manually add the needed code in the .htaccess file as well:
https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/
The topic ‘htaccess always unwritable’ is closed to new replies.