Jump to:

23480 Posts in 18951 Topics by 2878 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1075 Views
  • DanStephenson
    Avatar
    Community Member
    115 Posts

    SilverStripe and WordPress on same hosting account Link to this post

    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 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?

  • Blaza
    Avatar
    Community Member
    4 Posts

    Re: SilverStripe and WordPress on same hosting account Link to this post

    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.

  • banal
    Avatar
    Community Member
    901 Posts

    Re: SilverStripe and WordPress on same hosting account Link to this post

    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)

  • Judge
    Avatar
    Community Member
    79 Posts

    Re: SilverStripe and WordPress on same hosting account Link to this post

    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

    1075 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.