22996 Posts in 11620 Topics by 2826 members
|Go to End|
11 March 2010 at 12:07pm Last edited: 11 March 2010 12:08pm
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
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
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
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
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.
|Go to Top|