Home Forums WordPress Plugins Hide My WP >> WP & HWP errors

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #756
    Laurent_C
    Active
    Post count: 19

    I configure http://easy1er.fr
    I install wp 3.9.1
    I configure multisite mode
    I copy and modify wp_config file and htaccess,
    I install Hide my wordpress and my web site is break WHY ???

    Thank you

    htaccess and wp-config :

    .htaccess :
    # BEGIN Hide My WP

    RewriteRule ^lib/(.*) /wp-includes/$1 [QSA,L]
    RewriteRule ^file/(.*) /wp-content/uploads/$1 [QSA,L]
    RewriteRule ^modules/(.*) /wp-content/plugins/$1 [QSA,L]
    RewriteRule ^template/([_0-9a-zA-Z-]+)/main.css /index.php?style_wrapper=true&template_wrapper=$1 [QSA,L]
    RewriteRule ^template/(.*) /wp-content/themes/$1 [QSA,L]
    RewriteRule ^user_submit\.php /wp-comments-post.php [QSA,L]
    RewriteRule ^do_ajax\.php /wp-admin/admin-ajax.php [QSA,L]
    RewriteRule ^(wp-content/themes/twentyfourteen/screenshot\.png|readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /nothing_404_404 [QSA,L]

    # END Hide My WP

    wp-config.php

    <?php
    define(‘DB_NAME’, ‘secret’);
    define(‘DB_USER’, ‘secret’);
    define(‘DB_PASSWORD’, ‘secret’);
    define(‘DB_HOST’, ‘localhost:3306’);
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘easy1er.fr’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    define(‘AUTH_KEY’, ‘secret’);
    define(‘SECURE_AUTH_KEY’, ‘secret’);
    define(‘LOGGED_IN_KEY’, ‘secret’);
    define(‘NONCE_KEY’, ‘secret’);
    define(‘AUTH_SALT’, ‘secret’);
    define(‘SECURE_AUTH_SALT’, ‘secret’);
    define(‘LOGGED_IN_SALT’, ‘secret’);
    define(‘NONCE_SALT’, ‘secret’);

    $table_prefix = ‘wp_’;
    define (‘WPLANG’, ‘fr_FR’);
    define (‘FS_METHOD’, ‘direct’);
    define(‘WP_DEBUG’, false);
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
    require_once(ABSPATH . ‘wp-settings.php’);
    define( ‘AUTOMATIC_UPDATER_DISABLED’, true );
    ?>

    • This topic was modified 9 years, 10 months ago by Laurent_C.
    #778
    Hassan
    Post count: 955

    Oh one month delay! Sorry about it.

    You shouldn’t delete htaccess but you should paste the code in the right place.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.