Home › Forums › WordPress Plugins › Hide My WP › Multisite does not work
- This topic has 13 replies, 2 voices, and was last updated 9 years, 10 months ago by live.
-
AuthorPosts
-
November 6, 2014 at 1:42 pm #1364
HI,
Multisite open, the child site is not displayed correctly.htaccess add the following code:
RewriteEngine On
RewriteBase /
RewriteRule ^ index \ .php $ – [L]# Add a trailing slash to / wp-admin
RewriteRule ^ wp-admin $ wp-admin / [R = 301, L]# BEGIN Hide My WP
RewriteRule ^ other /(.*) / wp-includes / $ 1 [QSA, L]
RewriteRule ^ file /(.*) / wp-content / uploads / $ 1 [QSA, L]
RewriteRule ^ ext / 83538fcd /(.*) / wp-content / plugins / wordpress-mu-domain-mapping / $ 1 [QSA, L]
RewriteRule ^ ext /(.*) / wp-content / plugins / $ 1 [QSA, L]
RewriteRule ^ skin / ([_ 0-9a-zA-Z -] +) / main.css /index.php?style_wrapper=true&template_wrapper=$1 [QSA, L]
RewriteRule ^ skin /(.*) / wp-content / themes / $ 1 [QSA, L]
RewriteRule ^ ajax /wp-admin/admin-ajax.php [QSA, L]
RewriteRule ^ (readme \ .html | license \ .txt | wp-content / debug \ .log | wp-includes / $) / nothing_404_404 [QSA, L]
RewriteRule ^ (((wp-content | wp-includes) / ([A-Za-z0-9 -_ /] *)) | (wp-admin / (?! network /) ([A-Za-z0- . 9 -_ /] +))) (\ txt | /) $ / nothing_404_404 [QSA, L]# END Hide My WP
RewriteCond% {REQUEST_FILENAME} -f [OR]
RewriteCond% {REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^ (wp- (content | admin |. Includes) *) $ 1 [L]
RewriteRule ^ (. * \. Php) $ $ 1 [L]
RewriteRule. Index.php [L]I ask how to solve?
Thank you very much!November 6, 2014 at 1:44 pm #1365This reply has been marked as private.November 19, 2014 at 3:19 am #1452This reply has been marked as private.November 19, 2014 at 3:32 am #1453This reply has been marked as private.November 19, 2014 at 3:54 am #1454This reply has been marked as private.November 21, 2014 at 4:00 pm #1472HassanPost count: 955Hi Live ,
Sorry for delay,
Firstly, You should consider that HMWP didn’t be tested with Nginx and Multisite at the same time yet. I already noticed it here: http://codecanyon.net/item/hide-my-wp-no-one-can-know-you-use-wordpress/4177158/faqs/14735
It’s helpful to know the only real difference between single and MU installs is theme paths. So try Nginx configuration first to see whether New Include Path (wp-include, e.g. lib) works or not. If it works this means you configured Nginx correctly. If not you may need to change location of HMWP codes for example inside location / { … } block.
As I said, main difference is related to themes. So you can use Nginx configs and only translate the line related to new theme path. There many other htaccess to Nginx convertors just Google to find them.
This is my idea for that line:
rewrite ^/skin/([_0-9a-zA-Z-]+)/main.css /?style_wrapper=true&template_wrapper=$1 last;
Another thing, create another subdomain blog and try changes on it. That’s because you may experience issue with Domain Mapping configuration.
Hope it help!
Let me know the result.November 25, 2014 at 1:14 am #1482This reply has been marked as private.November 27, 2014 at 1:52 am #1484This reply has been marked as private.November 27, 2014 at 1:54 am #1485This problem has troubled many days!
Please give pointers to the next, I do not know where is the problem!
Thank you very much!December 1, 2014 at 4:56 pm #1494HassanPost count: 955It’s not related to WP itself, you need root access to server files in order to update Nginx config file. It’s usually not possible by FTP.
As I said before, first make sure Nginx configured correctly by testing one line, Add one line (for example rewrite wp-include -> other) and then check out source code, click on jquery.js path to make sure it loaded. (You can also use tools.pingdom.com to find which URLs -files with css, js, jpg files- are loaded and which are not )
Do not try to translate all of rules. Just use Nginx Configurations rules provided by HMWP and remove rules related to themes. Then we can go to next step.
January 25, 2015 at 8:32 am #1685This reply has been marked as private.January 25, 2015 at 8:36 am #1688This reply has been marked as private.January 25, 2015 at 8:58 am #1690This reply has been marked as private.January 31, 2015 at 3:36 am #1721Hi,
Please help solve,!
thank you very much! -
AuthorPosts
You must be logged in to reply to this topic.