Rewrite rule

I find EE useful tool. Now I would like to hide WP urls. (for example rewrite wp-contenet/themes to template etc…) I wanted to use the “Hide my wp” plugin to rewrite the wp urls. I got some nginx rewrite rules by this plugin after setup. I created a new conf file “/etc/nginx/mydomain-rewrite.conf” which is linked by /etc/nginx/available-sites/mydomain file, like “include /mydomain-rewrite.conf”, and this contains the new rewrite rules. One of this rwrite rule is: “rewrite ^/t/mainstyle.css /wp-content/themes/twentyfourteen/style.css last” But unfortunately the generated wp urls are wrong, because there is missing “http://” tags for google fonts and there are additional “/” in the links of css file, as well plugins, themes directory urls.
I tried to find where is the nginx conf file for multisite subdomain to add additional rules, but I did not find any special rewrite rules in “/etc/nginx/common/”. Could you help me. Do you have any idea that could solve this? Thank you.

Attachment Link(s):

http://rtcamp.com/wp-content/uploads/rtMedia/topics/68214/2014/07/rewrite-rules.png

You can edit nginx config for your site using ee site edit something.com
and for url hiding create nginx rule using following

  
location = / {  
     rewrite ^ something.com permanent;  
}  

Hello @kojak105,

I hope your query is resolved. I am closing this support ticket for now.

Feel free to create a new support ticket if you have any queries further. :slight_smile: