Arthur
Arthur

Reputation: 2110

Hosting Wordpress site along side Rails

I have a Rails app and Wordpress instance installed on my server. Both are working fine. I have the domain setup like so:

www.domain.com goes to rails app

blog.domain.com goes to the wp instance

However I would like to setup Apache so www.domain.com/blog will go to the wp instance and bypass the rails app. I have passenger installed.

Any assistance would be appreciated.

Thanks

Upvotes: 0

Views: 47

Answers (1)

noctrnal
noctrnal

Reputation: 191

Create a route to redirect users to your wordpress site.

Example

match "/blog" => redirect("http://blog.domain.com"), :as => :blog


reference

Upvotes: 1

Related Questions