• Resolved vytaulla51

    (@vytaulla51)


    Hi:
    I have spent 3 days trying to get an SSL working on this site. The host is Network Solutions and I have been given conflicting directions from Tech Support. Their last instruction was to install your plugin and activate it. I did and get this message:

    Your wp-config.php has to be edited, but is not writable. Set your wp-config.php to writable and reload this page. To safely enable SSL on your server configuration, you should add the following line of code to your wp-config.php.
    //Begin Really Simple SSL Server variable fix
    ?? $_SERVER["HTTPS"] = "on";
    //END Really Simple SSL


    1. Am I being told to do one thing or two things? Does adding the code make the wp-config writable? Or am I supposed to somehow make it writable, and if so, how? Where?
    2. After it is writable, do I then need to add the above code and if so, WHERE in the wp-config? before or after Happy Publishing?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @vytaulla51,

    You can either set it to writable so the plugin can add the lines, or you can add the lines yourself.

    You can add the lines right after the <?php tag.

    For more details on setting it to writable, see this article:

    https://really-simple-ssl.com/manual/editing-htaccess/

    Thread Starter vytaulla51

    (@vytaulla51)

    Let me add: Network Solutions keeps telling me the SSL is working. Inside the wp admin the Site URL and WordPress URL are still http, not https. IF Real Simple SSL begins to work, will the urls change or do I need to change them manually? I have had different experiences with different hosting companies where none of this has been a problem.

    Thread Starter vytaulla51

    (@vytaulla51)

    Thank you for replying. Are you saying that adding:

    //Begin Really Simple SSL Server variable fix
    $_SERVER["HTTPS"] = "on";
    //END Really Simple SSL

    after the opening <php will make the wp-config.php writable?

    Thread Starter vytaulla51

    (@vytaulla51)

    Checked the article you provided: The htaccess has permissions at 644, and has owner: read & write checked already. The wp-config.php had owner: read & write: yes already, and permissions at 600. Tried changing the wp-config to 644 – still getting the “not writable” message in wp admin (reloaded page). Tried 640, which is still the setting. Still getting Real Simple message that wp-config is not writable.

    Top of the wp-config.php current has this:

    /Begin Really Simple SSL session cookie settings
    @ini_set('session.cookie_httponly', true);
    @ini_set('session.cookie_secure', true);
    @ini_set('session.use_only_cookies', true);
    //END Really Simple SSL cookie settings
    define( 'WP_CACHE', true );
    /**
    

    Which seems like the wp-config IS writable.
    ?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @vytaulla51 if setting the wp-config.php to writable (644) does not resolve the notice, I would recommend to add the suggested lines manually to the wp-config.php file.

    As the notices are cached, you may need to visit the SSL settings page (in settings/ssl) to clear that cache.

    Thread Starter vytaulla51

    (@vytaulla51)

    HI: it worked!
    I added the code to wp-config.php after the opening php and then the plugin’s “activate” button became live and I could proceed.

    The admin was all plain text in the meantime – that got resolved.
    Thank you very much for your assistance!

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Great!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP-config.php is not writable’ is closed to new replies.