On bitnami the htaccess.conf is used. It should be in a conf/htaccess.conf directory.
Really Simple SSL has a function that tries to detect this setup. What does the notice say exactly? (just to check if the notice has found the .conf setup)
Rogier,
Thanks for your reply.
I am getting the following notices:
“A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable.
Set your wp-config.php to writable and reload this page.”
&
“Cannot activate SSL due to system configuration.
Warning
The .htaccess redirect rules selected by this plugin failed in the test. Set manually or dismiss to leave on WordPress redirect.”
&
“To set the HttpOnly secure cookie settings, your wp-config.php has to be edited, but the file is not writable. Add the following lines of code to your wp-config.php.”
Thanks
Plugin Author
Mark
(@markwolters)
The siteurl/homeurl definition in the wp-config.php file can prevent the site from being moved to SSL. These can be removed if the wp-config.php file is writable. For detailed instructions on how to make the file writable see https://really-simple-ssl.com/knowledge-base/htaccess-wp-config-file-not-writable/. This will also fix the third notice.
In regards to the .htaccess redirect, you can try if manually adding one of the redirects from this article does allow the site to redirect to https://: https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/
I have checked the file permissions on the wp-config file in the bitnami/wordpress folder and it is set to 644.
Plugin Author
Mark
(@markwolters)
It could be there’s something else preventing the plugin from editing the wp-config.php file, for example a security configuration. Alternatively, you can manually remove the following lines from your wp-config.php file to allow the plugin to activate SSL:
define( ‘WP_HOME’, ‘http://example.com’);
define( ‘WP_SITEURL’, ‘http://example.com’);
You can also copy the secure cookie code from the notice and add it to the wp-config.php file manually.
-
This reply was modified 4 years, 9 months ago by
Mark.
Mark,
Thanks, what is the file path for the wp-config.php file please?
Thanks
-
This reply was modified 4 years, 9 months ago by
twistsd.
Plugin Author
Mark
(@markwolters)
The wp-config.php is located in the root directory of your site which is usually the public_html/ folder.
Hi @twistsdgmailcom,
Have you managed to activate SSL on this setup already, or can we provide any further assistance?
Just let us know.
Kind regards,
Jarno