Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Darrel

    (@johndarrel)

    Hey Stacy,

    If the plugin can not add the config because wp-config.php or .htaccess aren’t writable, you’ll see the code you have to add manually after you click Save.

    The backup if for safety. In case of an issue, you’ll know how to fix it in just a minute.

    Regards,
    John

    Thread Starter Stacy (non coder)

    (@functionmunchkin)

    Adding to line 2 for multisite makes lines 1-2 the following.

    <?php
    RewriteRule ^admin/(.*) /wp-admin/$1 [QSA,L]
    /**
    * The base configuration for WordPress

    Got
    “Parse error: syntax error, unexpected ‘.’ in /home/site/public_html/wp-config.php on line 2”

    Added it to line 3 as

    <?php
    /**
    RewriteRule ^admin/(.*) /wp-admin/$1 [QSA,L]
    * The base configuration for WordPress

    Got
    “Fatal error: Call to a member function is_404() on null in /home/site/public_html/wp-content/plugins/wp-hide-security-enhancer/include/wph.class.php on line 450”

    Thread Starter Stacy (non coder)

    (@functionmunchkin)

    After removing file changes, my network link goes to /admin/network which says Oops page not found. Had to manually type in /wp-admin/network.

    The plugins settings menu did not show. I network deactivated the plugin where it then asked
    “/home/site/public_html/wp-config.php is not writable. Open the file and write:
    on line 2
    Okay, I set it up
    .htaccess file is not writable. If you added a different admin path before, please remove it in order to work without errors.
    Okay, I set it up
    Click here when you’re done.”

    I clicked Done.
    It took me to the plugin’s settings page on my main blog with the url wp-admin/admin. Still have to manually type in the wp-admin/network to go to the network dashbaord where the plugin’s settings do not show. Trie network deactivating again , got Internal Server Error (as i did somewhere before) and the url is admin/network/plugins.php instead of /wp-admin/network.

    Deleted plugin file from cpanel. Back to normal.

    Plugin Author John Darrel

    (@johndarrel)

    The free version of the plugin doesn’t work for Wp multisite.

    I will check why it let you set it up.

    John

    Thread Starter Stacy (non coder)

    (@functionmunchkin)

    Should I try changing the permissions before using this and then set it up on one site only? I guess writable is either 755, 775, and 777.

    Plugin Author John Darrel

    (@johndarrel)

    Hey Stacy,

    You can change wp-config.php and .htaccess to 664 while you set Hide My Wp and put them back to 600 for safety.

    Regards,
    John

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