title: How to embed PHP powered blog in subdirectory of Rails 5 app?
body: <p>I have a Ruby on Rails powered website running on <code>www.myapp.com</code>.</p>
  
  <p>Now my boss asked me to add a <strong>blog</strong> to that website. The number of blog articles is expected to grow strongly over the next few years, possibly into the hundreds or even thousands.</p>
  
  <p>The problem: Our Rails app is not suited for content production or blogging at all!</p>
  
  <p>My boss has a <a href="http://www.getsymphony.com" rel="nofollow noreferrer">PHP / XML powered software</a> in mind that he wants me to install for the purpose of running the blog. But the software has nothing in common with Ruby on Rails and cannot be combined with it.</p>
  
  <p>Now we figured that setting up the blog under a subdomain like <code>blog.myapp.com</code> would be feasible. However, according to various sources this may come at the price of less search engine visibility when compared with running the blog in a subdirectory of our website such as <code>www.myapp.com/blog/</code> which would be our favourite solution.</p>
  
  <p>So to cut a long story short, is there a way to establish a PHP blog in a subdirectory of a Rails 5 app? If so, how?</p>
  
  <p>Thanks for any pointers.</p>