I have stapled this feature (using feature stapling concept) to the “SPSPERS” (personal site) site definition.
The custom master page is displayed on the creation of new personal sites. On feature deactivation, I am looping through all the personal sites (as the feature is deployed on the root site) and pointing the master URL back to v4.master. But when I retract
the solution and browse to the personal site, I am getting a “404 File not found” error. But am able to view the settings page by typing the URL.
View Complete Post