{"id":555,"date":"2019-08-13T19:59:57","date_gmt":"2019-08-14T02:59:57","guid":{"rendered":"http:\/\/jasonflaherty.com\/blog\/?p=555"},"modified":"2023-10-17T21:21:55","modified_gmt":"2023-10-18T04:21:55","slug":"quick-effective-fix-for-drupal-user-spam-accounts","status":"publish","type":"post","link":"https:\/\/jasonflaherty.com\/blog\/2019\/08\/13\/quick-effective-fix-for-drupal-user-spam-accounts\/","title":{"rendered":"Quick Effective Fix for Drupal User Spam Accounts"},"content":{"rendered":"\n<p>I&#8217;ve used <a href=\"https:\/\/www.drupal.org\/\">Drupal<\/a> for a number of years on projects. It is an amazingly flexible and fun to use (as a developer and designer) content management system. One of the biggest aggravations I see is the amount of Spam User Accounts that are created due to the standard path for the user login.  There are many way to combat this, however, a quick fix to start with is the <a href=\"https:\/\/www.drupal.org\/project\/rename_admin_paths\">Rename Admin Paths<\/a> module. <\/p>\n\n\n\n<p>Generally you have your site setup at the root of your domain. Drupal creates a default user login at:<\/p>\n\n\n\n<p><code>yourdomain.com\/user<\/code><\/p>\n\n\n\n<p>That being the default, there is that simple exploit that spam bots can utilize to bug your user account area. While there are other measures such as <a href=\"https:\/\/www.drupal.org\/project\/honeypot\">Honeypot<\/a> and <a href=\"https:\/\/www.drupal.org\/project\/captcha\">Captcha<\/a> (along with all the extensions to it) that work super well, one of the easiest methods I&#8217;ve found is utilizing the <a href=\"https:\/\/www.drupal.org\/project\/rename_admin_paths\">Rename Admin Paths<\/a> module.<\/p>\n\n\n\n<p>Change your \/user path to something harder like \/buddies or \/folks or \/friends and the bots will not find your login and hence don&#8217;t seem to bug the site as much. <\/p>\n\n\n\n<p><code>yourdomain.com\/friends<\/code><\/p>\n\n\n\n<p>Give that a shot and hopefully you will find less automated accounts clogging your user area. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve used <a href=\"https:\/\/www.drupal.org\/\">Drupal<\/a> for a number of years on projects. It is an amazingly flexible and fun to use (as a developer and designer) content management system. One of the biggest aggravations I see is the amount of Spam User Accounts that are created due to the standard path for the user login.  There are many way to combat this, however, a quick fix to start with is the <a href=\"https:\/\/www.drupal.org\/project\/rename_admin_paths\">Rename Admin Paths<\/a> module. <\/p>\n<p class=\"excerpt-link\"><a href=\"https:\/\/jasonflaherty.com\/blog\/2019\/08\/13\/quick-effective-fix-for-drupal-user-spam-accounts\/\">&sim;&nbsp;Continue Reading&nbsp;&sim;<\/a><\/p>\n","protected":false},"author":1,"featured_media":559,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[157,3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/jasonflaherty.com\/blog\/wp-content\/uploads\/2019\/08\/drupal.jpg?fit=2000%2C500&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5OfD9-8X","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/555"}],"collection":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/comments?post=555"}],"version-history":[{"count":1,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions\/558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/media\/559"}],"wp:attachment":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/media?parent=555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/categories?post=555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/tags?post=555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}