17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » SilverStripe and WordPress on same hosting account
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 755 Views |
-
SilverStripe and WordPress on same hosting account

11 March 2010 at 12:07pm Last edited: 11 March 2010 12:08pm
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
http://www.example.com <-- The SS site
http://www.example.com/blog <-- The WP blogWhen 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?
-
Re: SilverStripe and WordPress on same hosting account

11 March 2010 at 7:12pm Last edited: 11 March 2010 7:13pm
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 exceptionHope that helps.
-
Re: SilverStripe and WordPress on same hosting account

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)
-
Re: SilverStripe and WordPress on same hosting account

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.
-- Jason
| 755 Views | ||
|
Page:
1
|
Go to Top |



