Deploying wordpress blog inside Ruby on Rails application

To Enable WordPress blogging system in Ruby on Rails application is now pretty easy and tension less. Just follow the steps…

1.First of all make sure that your server can parse both php and rails application.

2. Make a blog directory in side the public folder of rails application.

3. Deploy all WordPress content inside blog directory.

4. Configure your database connection at wp-config.php file .

5.Then just paste the following code in the virtual host config file

  <VirtualHost ...>
      ServerName ...
      DocumentRoot ...
      <Location /blog>
         PassengerEnabled off
         <IfModule mod_rewrite.c>
           RewriteEngine On
           RewriteBase /blog/
           RewriteCond %{REQUEST_FILENAME} !-f
           RewriteCond %{REQUEST_FILENAME} !-d
           RewriteRule . /blog/index.php [L]

4 responses to “Deploying wordpress blog inside Ruby on Rails application

  1. I’ve been surfing on-line more than three hours nowadays, yet I never found any attention-grabbing article like yours. It’s lovely price sufficient for me. In my view, if all website owners and bloggers made good content as you probably did, the net can be a lot more useful than ever before.


  2. I’ve actually tried so many things from other online sources to get my WP blog working with no luck, and this whole time it was this easy. Thank you!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s