Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SilverStripe and WordPress on same hosting account


4 Posts   1082 Views


11 March 2010 at 12:07pm (Last edited: 11 March 2010 12:08pm), Community Member, 115 Posts

Hello all,

I have a client who's website I am redeveloping currently to run on SilverStripe. Within their website is a blog they run on WordPress, which we are not moving over to SilverStripe, because the company's blog master doesn't feel the SS Blog plugin is full featured enough, and doesn't have the budget to get us to upgrade it for him.

So my question - I need to be able to run <-- The SS site <-- The WP blog

When I enter /blog, The Sapphire engine tries to redirect me to a page with that name in SS (and I end up at a 404 page). What do I have to do to allow my users to be properly redirected to my blog?


11 March 2010 at 7:12pm (Last edited: 11 March 2010 7:13pm), Community Member, 4 Posts

Hi Dan

I think that you need to put an exception to .htaccess file.
There is a lot of examples of these rules out there. Google for: htaccess redirect exception

Hope that helps.


11 March 2010 at 8:29pm (Last edited: 11 March 2010 8:30pm), Community Member, 901 Posts

Either what Blaza said or if you don't need URL Rewriting for the blog, put a .htaccess file in the blog directory where you turn off the rewrite-engine (RewriteEngine Off)


12 March 2010 at 1:10am Community Member, 79 Posts

It's WordPress, so the blog will almost certainly need .htaccess to work.

But what everyone else has said: the .htaccess in the root directory is key. That should have rules to send the WP page requests to the WP entry point, and the SS page requests to the SS entry point.

Don't forget also that both CMSs have assets and files accessed within their modules, such as images and stylesheets. So long as both have clearly defined root directories it should be straight-forward.

-- Jason