Adding wordpress Blog in a Rails application

后端 未结 4 1291
独厮守ぢ
独厮守ぢ 2021-01-15 23:56

I have Rails application deployed on my home root directory of a domain and symlinked with my public_html/applicationname.com/. I wanted to install wordpress in applicationn

相关标签:
4条回答
  • 2021-01-16 00:11

    You should put your blog into the rails' public directory.
    That's the place for static files (and php ones are).

    0 讨论(0)
  • 2021-01-16 00:24

    This article may be useful to anyone looking to solve this problem: http://www.spotscore.com/blog/2009/11/22/how-to-host-wordpress-and-phusion-passenger-rails-app-on-the-same-domain/

    0 讨论(0)
  • 2021-01-16 00:30

    Check the post :

    http://joomlist.com/2011/10/php-in-subdirectory-of-rubyonrails/. it worked using passenger with apache.

    0 讨论(0)
  • 2021-01-16 00:33

    If you are deploying your rails app using Passenger then you can disable Passenger for a particular location. See section 5.8 of the documentation, which has an example for WordPress.

    0 讨论(0)
提交回复
热议问题