I had a IIS Server hosting, where my personal site is on the root folder, and now i need to place another wordpress installation on the sub-folder, after doing so everything is working fine except when the ‘Permalink Settings’ is set to /%postname%/ in both the wp installation i.e., on the root and sub-folder then except index page of sub-folder every page is showing 404 error.
//Important point to follow in above code
#Add <clear /> after <rules> started…
#First <rule> needed to be defined carefully as described above.
#Second <rule> will be generated from wordpress admin (on permalink change from settings) after generation of above rule, rename the rule name to any-unique-name-of-your-choice