{"id":573,"date":"2013-02-19T15:24:19","date_gmt":"2013-02-19T15:24:19","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/02\/19\/google-flagged-hack-mod-userdir\/"},"modified":"2021-08-16T23:21:23","modified_gmt":"2021-08-17T03:21:23","slug":"google-flagged-hack-mod-userdir","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/","title":{"rendered":"Google flagged site due to mod_userdir"},"content":{"rendered":"<p>There are occasions on our shared servers, when Google may send you a notice saying your website is hacked. The notice will include your domain name; however, the username at the end is not your username. Google hack notification showing a similar url like the following:<\/p>\n<pre style=\"margin-left: 20px;\">https:\/\/example.com\/~baduser<\/pre>\n<p>If you receive a notice like this from Google that shows your domain with the wrong username added to it, it is your site being confused with a hacked site. This is caused by the &#8220;<em><a href=\"https:\/\/httpd.apache.org\/docs\/2.2\/mod\/mod_userdir.html\" target=\"_blank\" rel=\"noopener\">mod_userdir Apache module<\/a><\/em>&#8220;.<\/p>\n<h2>Why is my domain with the wrong username?<\/h2>\n<p>Domains that share the same IP address can have cPanel usernames added to the end to reach a particular account. For example, If an account <span style=\"color: #33cccc;\"><strong>domain-one.com<\/strong><\/span> has IP 72.155.26.36 with the username <span style=\"color: #33cccc;\"><strong>userna5<\/strong><\/span> and they share the same IP as a different cPanel account called <strong><span style=\"color: #ff9900;\">domain-two.com<\/span><\/strong> with username <span style=\"color: #ff9900;\"><strong>domain2<\/strong><\/span>, then you can visit the site using another persons username like the following.<\/p>\n<table class=\"article_table\" width=\"100%\">\n<tbody>\n<tr>\n<th style=\"text-align: center;\">Correct URLs<\/th>\n<th style=\"text-align: center;\">Incorrect URLs<\/th>\n<\/tr>\n<tr>\n<td>https:\/\/<span style=\"color: #33cccc;\"><strong>domain-one.com<\/strong><\/span>\/~<span style=\"color: #33cccc;\"><strong>userna5<\/strong><\/span><br \/>https:\/\/<span style=\"color: #ff9900;\"><strong>domain-two.com<\/strong><\/span>\/~<span style=\"color: #ff9900;\"><strong>domain2<\/strong><\/span><\/td>\n<td>https:\/\/<span style=\"color: #ff9900;\"><strong>domain-two.com<\/strong><\/span>\/~<span style=\"color: #33cccc;\"><strong>userna5<\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This is how the <a href=\"\/support\/website\/using-your-temporary-url\/\" target=\"_blank\" rel=\"noopener\">Temporary URL<\/a> system works on the cPanel servers. We do not know why Google caches domains like this. It could be because of an intentional script, someone visiting it, or a error on Googles side. It is hard to say. This is a common issue with all hosting companies that use temporary urls with cPanel.<\/p>\n<h2>What to do if your receive this Google warning<\/h2>\n<p>This warning is what&#8217;s called a &#8220;<em>False Positive<\/em>&#8220;, meaning, it falsely flagged your site as a hacked site because of the &#8220;<em>mod_userdir<\/em>&#8221; Temporary URL. In most cases you do not need to do anything. The Warning is not going to effect your website functionality, nor will your site get bad search results.<\/p>\n<p>If you do receive a warning for this, please notify <a href=\"\/support\/amp\/how-to-get-great-technical-support\/\" target=\"_blank\" title=\"Click here for how to contact support\" rel=\"noopener\">tech support<\/a> to have Systems look to see if your account can have the &#8220;<em>mod_userdir<\/em>&#8221; setting disabled.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are occasions on our shared servers, when Google may send you a notice saying your website is hacked. The notice will include your domain name; however, the username at the end is not your username. Google hack notification showing a similar url like the following: https:\/\/example.com\/~baduser If you receive a notice like this from<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\"> Read More ><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4322],"tags":[],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-google-tools"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google flagged site due to mod_userdir | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Google falsely flags sites due to mod_userdir. Here is what to do.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google flagged site due to mod_userdir | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Google falsely flags sites due to mod_userdir. Here is what to do.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-19T15:24:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:21:23+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\"},\"headline\":\"Google flagged site due to mod_userdir\",\"datePublished\":\"2013-02-19T15:24:19+00:00\",\"dateModified\":\"2021-08-17T03:21:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\"},\"wordCount\":329,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Google Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\",\"name\":\"Google flagged site due to mod_userdir | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-02-19T15:24:19+00:00\",\"dateModified\":\"2021-08-17T03:21:23+00:00\",\"description\":\"Google falsely flags sites due to mod_userdir. Here is what to do.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google flagged site due to mod_userdir\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\",\"name\":\"InMotion Hosting Contributor\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google flagged site due to mod_userdir | InMotion Hosting","description":"Google falsely flags sites due to mod_userdir. Here is what to do.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/","og_locale":"en_US","og_type":"article","og_title":"Google flagged site due to mod_userdir | InMotion Hosting","og_description":"Google falsely flags sites due to mod_userdir. Here is what to do.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-02-19T15:24:19+00:00","article_modified_time":"2021-08-17T03:21:23+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41"},"headline":"Google flagged site due to mod_userdir","datePublished":"2013-02-19T15:24:19+00:00","dateModified":"2021-08-17T03:21:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/"},"wordCount":329,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Google Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/","name":"Google flagged site due to mod_userdir | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-02-19T15:24:19+00:00","dateModified":"2021-08-17T03:21:23+00:00","description":"Google falsely flags sites due to mod_userdir. Here is what to do.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/google-tools\/google-flagged-hack-mod-userdir\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Google flagged site due to mod_userdir"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41","name":"InMotion Hosting Contributor","url":"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=573"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":84946,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/573\/revisions\/84946"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}