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 10 years, 7 months ago by Laurent_C.