Wordpress on top of MVC3 site

Discussion in 'Third-party applications' started by trickturner, Jan 9, 2012.

  1. Hi All,

    I have a MVC3 site deployed to www.setlisthelper.com. I want to create a blog for the site so I installed wordpress at the www.setlisthelper.com/blog. However, I get an error when I try and run wordpress. I get a .NET error "'System.Web.Helpers, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded"

    I assume the blog is looking at the web.config at the root rather than in the blog directory. Can I have a wordpress site with my .NET site. Is the there an option with IIS I can set.

    Any help would be appreciated. I can't find anything on the web


  2. Elshadriel

    Elshadriel Winhost Staff

    Usually, you can set the Wordpress directory as an application starting point, but MVC3 uses routing so that may complicate things a bit:

  3. Hi Trick,

    Did you ever get this working? I was able to get around the error you described by adding this to "RegisterRoutes" in Global.asax.cs. Now I'm having problems with Wordpress itself. I keep getting errors about different php files not available. It seems that the "./somefile" syntax may be problematic. Not sure if this is due to routing or wordpress installation.



Share This Page