• Resolved jorgevargas

    (@jorgevargas)


    Hi,
    I can not install WPNF. I get the following message:

    Your WordPress directory (/home/my-site/public_html/) is different from your website document root (/home/my-site/public_html//). Because it is possible to install WordPress into a subdirectory, but have the blog exist in the site root, NinjaFirewall needs to know the exact location of the site root.

    Please edit the path below only if you have manually modified your WordPress root directory as described in the Giving WordPress Its Own Directory article.

    Most users should not change this value.

    Path to WordPress site root directory:/home/my-site/public_html/

    I upgraded WordPress version 4.3.1 and now appears: “Error: I can not download the security rules from ww.wp.xz.cn Please try again in a few minutes”
    —-
    WHY double slash (/home/my-site/public_html//)?

    I appreciate if you could help me solve this problem. Thank you

    https://ww.wp.xz.cn/plugins/ninjafirewall/

Viewing 1 replies (of 1 total)
  • Plugin Author nintechnet

    (@nintechnet)

    When you install the firewall, it will connect to the ww.wp.xz.cn repo to download the latest security rules.
    Either you have connection issues or maybe your server does not support HTTPS (it connects to ww.wp.xz.cn over HTTPS)?
    You can try to edit your wp-config.php script and add this line:

    define('NFW_DONT_USE_SSL', 1);

    The firewall will not use HTTPS.

    Regarding the double slash (//), it means you have an error in your server vhost configuration, the $_SERVER[‘DOCUMENT_ROOT’] variable ends with a trailing slash. But you can safely ignore it.

Viewing 1 replies (of 1 total)

The topic ‘ERROR: I cannot download the security rules from ww.wp.xz.cn’ is closed to new replies.