I’ve just been setting up the blog for Big5 Boutique
I thought I’d share the useful sources of info I found to do this:
I set up the WordPress blog under the /blog/ subdirectory of the main Rails app and set up the rack-reverse-proxy to serve up the blog. Two issues to be aware of:
- Rack Deflater wasn’t able to serve up the WordPress css files.
- The WordPress visual editor gets disabled because WordPress tries to sniff the user agent but since the requests are reverse proxied, the browsers user agent isn’t coming through. Thankfully this blog article explains why this is happening and how to fix it.