I have wordpress blog in root folder. and static website in a subfolder.

in apache config: root folder points to blog.mysite.com and subfolder points to mysite.com.

For both urls blog.domain.com and domain.com root folder files get executed.

I want subfolder files to execute for domain.com. and root folder files to execute for blog.domain.com

Is it possible?

  • This would depend on what you can control with your hosting control panel, and doesn't have anything to do with WordPress. I suggest contacting your host. – Jacob Peattie Jun 15 '19 at 7:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.