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

subdomain.mysite.com

in the root folder there is a sub directory called

/subdomain-static

folder structure looks like something like below

www
|
|- static-content
|    |....
|
|-wp-content
|-wp-admin
|... 

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

subdomain.mysite.com/demo/static/subdomain-static/....

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

 
discard

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

Browse other questions tagged or ask your own question.