Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a WP multisite installation on the root folder. one of the sites have a subdomain


in the root folder there is a sub directory called


folder structure looks like something like below

|- static-content
|    |....

I want to rewrite urls for the content in subdomain-static so it would look like


I've tried the following

RewriteRule ^/subdomain-static/(.*)$ http://subdomain.mysite.com/demo/static/$1 [R=301,L]

also few simillar things without no luck any help is appreciates

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.