{"id":33,"date":"2009-02-07T20:06:50","date_gmt":"2009-02-08T03:06:50","guid":{"rendered":"http:\/\/localhost\/todd_wp\/prevent-my-site-sub-site-creation-code\/"},"modified":"2013-07-01T14:02:47","modified_gmt":"2013-07-01T20:02:47","slug":"prevent-my-site-sub-site-creation-code","status":"publish","type":"post","link":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/","title":{"rendered":"Prevent My Site Sub Site Creation Code"},"content":{"rendered":"<p><font face=\"Arial\"><a href=\"https:\/\/toddbaginski.com\/blog\/files\/Dev Tools\/Prevent My Site Sub Site Creation Code\/Prevent My Site Sub Site Creation Code.rar\">Download<\/a><\/font><\/p>\n<p><font face=\"Arial\">VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[97],"tags":[22],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-sharepoint","tag-development-utilities"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Todd Baginski\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Todd Baginski&#039;s Blog - An AI, SharePoint, Office 365, Azure, Power Apps, Power Platform, and Mobile Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Prevent My Site Sub Site Creation Code - Todd Baginski&#039;s Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2019\/09\/todd-400x400.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2019\/09\/todd-400x400.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-02-08T03:06:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-07-01T20:02:47+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@toddbaginski\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Prevent My Site Sub Site Creation Code - Todd Baginski&#039;s Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@toddbaginski\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2019\/09\/todd-400x400.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#blogposting\",\"name\":\"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog\",\"headline\":\"Prevent My Site Sub Site Creation Code\",\"author\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/author\\\/todd\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/tb-1.png\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#articleImage\",\"width\":114,\"height\":60},\"datePublished\":\"2009-02-07T20:06:50-05:00\",\"dateModified\":\"2013-07-01T14:02:47-04:00\",\"inLanguage\":\"en\",\"commentCount\":8,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#webpage\"},\"articleSection\":\"SharePoint, Development Utilities\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/toddbaginski.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/category\\\/sharepoint\\\/#listItem\",\"name\":\"SharePoint\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/category\\\/sharepoint\\\/#listItem\",\"position\":2,\"name\":\"SharePoint\",\"item\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/category\\\/sharepoint\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#listItem\",\"name\":\"Prevent My Site Sub Site Creation Code\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#listItem\",\"position\":3,\"name\":\"Prevent My Site Sub Site Creation Code\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/category\\\/sharepoint\\\/#listItem\",\"name\":\"SharePoint\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/#person\",\"name\":\"Todd Baginski\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/author\\\/todd\\\/#author\",\"url\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/author\\\/todd\\\/\",\"name\":\"Todd Baginski\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#webpage\",\"url\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/\",\"name\":\"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog\",\"description\":\"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.\",\"inLanguage\":\"en\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/prevent-my-site-sub-site-creation-code\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/author\\\/todd\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/author\\\/todd\\\/#author\"},\"datePublished\":\"2009-02-07T20:06:50-05:00\",\"dateModified\":\"2013-07-01T14:02:47-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/\",\"name\":\"Todd Baginski's Blog\",\"description\":\"An AI, SharePoint, Office 365, Azure, Power Apps, Power Platform, and Mobile Blog\",\"inLanguage\":\"en\",\"publisher\":{\"@id\":\"https:\\\/\\\/toddbaginski.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog","description":"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.","canonical_url":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#blogposting","name":"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog","headline":"Prevent My Site Sub Site Creation Code","author":{"@id":"https:\/\/toddbaginski.com\/blog\/author\/todd\/#author"},"publisher":{"@id":"https:\/\/toddbaginski.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2026\/02\/tb-1.png","@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#articleImage","width":114,"height":60},"datePublished":"2009-02-07T20:06:50-05:00","dateModified":"2013-07-01T14:02:47-04:00","inLanguage":"en","commentCount":8,"mainEntityOfPage":{"@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#webpage"},"isPartOf":{"@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#webpage"},"articleSection":"SharePoint, Development Utilities"},{"@type":"BreadcrumbList","@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/toddbaginski.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog\/category\/sharepoint\/#listItem","name":"SharePoint"}},{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog\/category\/sharepoint\/#listItem","position":2,"name":"SharePoint","item":"https:\/\/toddbaginski.com\/blog\/category\/sharepoint\/","nextItem":{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#listItem","name":"Prevent My Site Sub Site Creation Code"},"previousItem":{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#listItem","position":3,"name":"Prevent My Site Sub Site Creation Code","previousItem":{"@type":"ListItem","@id":"https:\/\/toddbaginski.com\/blog\/category\/sharepoint\/#listItem","name":"SharePoint"}}]},{"@type":"Person","@id":"https:\/\/toddbaginski.com\/blog\/#person","name":"Todd Baginski"},{"@type":"Person","@id":"https:\/\/toddbaginski.com\/blog\/author\/todd\/#author","url":"https:\/\/toddbaginski.com\/blog\/author\/todd\/","name":"Todd Baginski"},{"@type":"WebPage","@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#webpage","url":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/","name":"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog","description":"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.","inLanguage":"en","isPartOf":{"@id":"https:\/\/toddbaginski.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/#breadcrumblist"},"author":{"@id":"https:\/\/toddbaginski.com\/blog\/author\/todd\/#author"},"creator":{"@id":"https:\/\/toddbaginski.com\/blog\/author\/todd\/#author"},"datePublished":"2009-02-07T20:06:50-05:00","dateModified":"2013-07-01T14:02:47-04:00"},{"@type":"WebSite","@id":"https:\/\/toddbaginski.com\/blog\/#website","url":"https:\/\/toddbaginski.com\/blog\/","name":"Todd Baginski's Blog","description":"An AI, SharePoint, Office 365, Azure, Power Apps, Power Platform, and Mobile Blog","inLanguage":"en","publisher":{"@id":"https:\/\/toddbaginski.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Todd Baginski's Blog - An AI, SharePoint, Office 365, Azure, Power Apps, Power Platform, and Mobile Blog","og:type":"article","og:title":"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog","og:description":"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.","og:url":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/","og:image":"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2019\/09\/todd-400x400.jpg","og:image:secure_url":"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2019\/09\/todd-400x400.jpg","article:published_time":"2009-02-08T03:06:50+00:00","article:modified_time":"2013-07-01T20:02:47+00:00","twitter:card":"summary","twitter:site":"@toddbaginski","twitter:title":"Prevent My Site Sub Site Creation Code - Todd Baginski's Blog","twitter:description":"Download VS.NET 2005 solution containing the code for the Server Control and the custom aspx page used to prevent creation of My Sites.","twitter:creator":"@toddbaginski","twitter:image":"https:\/\/toddbaginski.com\/blog\/wp-content\/uploads\/2019\/09\/todd-400x400.jpg"},"aioseo_meta_data":{"post_id":"33","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-02-14 15:50:17","updated":"2025-06-03 20:47:08"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/toddbaginski.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/toddbaginski.com\/blog\/category\/sharepoint\/\" title=\"SharePoint\">SharePoint<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPrevent My Site Sub Site Creation Code\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/toddbaginski.com\/blog"},{"label":"SharePoint","link":"https:\/\/toddbaginski.com\/blog\/category\/sharepoint\/"},{"label":"Prevent My Site Sub Site Creation Code","link":"https:\/\/toddbaginski.com\/blog\/prevent-my-site-sub-site-creation-code\/"}],"_links":{"self":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":1,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":836,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions\/836"}],"wp:attachment":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}