I have got a NopCommerce site (ASP.NET MVC) and I am attempting to give a Wordpress blog like a subfolder from the primary site.

Installing Wordpress was fine, all config files happen to be produced and also the blog works fine should you browser through it.

However, I would now like to setup pretty permalinks using the title from the publish.

Normally whenever you setup permalinks, it creates whether .htaccess apply for Apache or perhaps a web.config for Home windows IIS7 Url Rewrites.

After I try to save the permalink configurations, it sits there attempting to load and finally occasions out.

I am speculating that because ASP.Internet MVC uses Routes, the Wordpress site does not understand what to create.

Can anybody offer me assistance with the way i could possibly get the permalinks setup? Should i setup a Route on my small MVC site possibly?

Should you install WordPress on IIS you will observe your friendly Web addresses fail to work. The reason being WordPress really wants to make use of an apache add-on known as “mod_rewrite.” The fast rundown of this this may is it will require your friendly browser URL and really change these to index.php around the back finish. One trouble with this process is the fact that IIS doesn't load apache mods. Here is a straightforward and free way for this:

  • In your IIS Server download and install ISAPI_Rewrite Lite. The hepa filter does the task of mod_rewrite for IIS. When installing make certain to make use of the free Lite version. This Lite version doesn't limit the merchandise greatly and will also be perfectly fine (and free) for the wordpress blog. Just install Rewrite Lite towards the default locations with this tutorial.
  • Next add the ISAPI filter for your IIS Site.
    You'll find this setting by right clicking yourIIS site -> qualities -> ISAPI filters tab -> Add … Title the filter whatever you want as well as your road to your executable ought to be:
    C:Program FilesHeliconISAPI_Rewrite3ISAPI_Rewrite.dll
    Click OK on home windows in order to save your configurations.
  • Next navigate to C:Program FilesHeliconISAPI_Rewrite3

    Wish to consider edit httpd.conf (Note: This is actually the distinction between the pay version and also the Lite version. Within the pay version you will have to edit the .htaccess file in your web folders root)

  • Open the httpd.conf file in wordpad and paste during these lines:
    RewriteBase /
    RewriteCond % !-f
    RewriteCond % !-d
    RewriteRule ^(.*)$ index.php?p=$1 [NC,L]
  • Save and exit this file.
  • To accomplish your IIS changes, Visit start, run and run the command: iisreset /restart
  • Now allows improve your WordPress configurations. Navigate to http://yourblog/wp-admin
  • Visit the left side menu bar -> configurations -> Permalinks
  • Now you choose the way you would like your posts look. I select a custom setting and merely: /%postname% This is the way the thing is this web site working today.
  • Click “Save Changes” and you ought to call at your new friendly Web addresses!