{"id":1861,"date":"2024-12-26T12:47:01","date_gmt":"2024-12-26T11:47:01","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/module\/masquer-les-slugs-des-auteurs\/"},"modified":"2025-01-08T13:39:01","modified_gmt":"2025-01-08T12:39:01","slug":"masquer-les-slugs-des-auteurs","status":"publish","type":"module","link":"https:\/\/wpmastertoolkit.com\/en\/module\/hide-author-slugs\/","title":{"rendered":"Hide author slugs"},"content":{"rendered":"<h1 class=\"wp-block-heading\">Author Slug Obfuscation: Secure your Author URLs with WPMasterToolKit<\/h1>\n\n\n\n<p>WordPress site security is a major concern for site owners. Potential attackers are constantly looking for ways to compromise the security of your sites. One common vulnerability lies in author pages, where user slugs are usually publicly exposed. With the \"Obfuscate Author Slugs\" module, we've developed a simple solution to hide this sensitive information and make your site more secure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Author page URL protection<\/h2>\n\n\n\n<p>The main aim of the module is to obfuscate URLs on author pages that expose slugs\/users. For example, a link such as <code data-no-auto-translation=\"\">sitename.com\/author\/username1\/<\/code> is transformed into <code data-no-auto-translation=\"\">sitename.com\/author\/a6r5b8ytu9gp34bv\/<\/code>. Thanks to our encryption and decryption methods, user IDs are converted into hard-to-understand encrypted slugs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Restrict unauthorized access<\/h2>\n\n\n\n<p>When an access attempt from the original author URL is detected, the obfuscate module ensures that the visitor is redirected to a 404 page. This redirection ensures that malicious users cannot obtain exploited information from your author page, thus solidifying your defensive position against potential attacks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Securing the REST API entry point<\/h2>\n\n\n\n<p>With the endpoint REST API \/wp-json\/wp\/v2\/users\/, the module also obfuscates returned slugs, preventing any unwanted exposure of remote user information. This is crucial for interactive WordPress sites that rely heavily on API requests.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to use the obfuscate author slugs module<\/h2>\n\n\n\n<p>The \"Obfuscate Author Slugs\" module integrates seamlessly into your WordPress site. After activating the module, no additional manual configuration is required. It automatically begins redirecting and encrypting author slugs, while ensuring that REST API requests also present encrypted slugs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Technical choices for slug obfuscation<\/h2>\n\n\n\n<p>To guarantee security, we use the DES-EDE3 encryption algorithm, coupled with the <code data-no-auto-translation=\"\">bin2hex<\/code>to transform user IDs into a sequence of hexadecimal characters that are difficult to decipher. This ensures security and uniqueness with every transformation, protecting the identity and security of your users.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img alt=\"WordPress JSON user data with Gravatar avatar.\" fetchpriority=\"high\" decoding=\"async\" width=\"801\" height=\"611\" src=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-111.png\" class=\"wp-image-3766\" srcset=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-111.png 801w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-111-300x229.png 300w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2024\/12\/image-111-768x586.png 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>WPMasterToolKit's \"Obfuscate Author Slugs\" module is a powerful tool for securing your WordPress site against unnecessary exposure of user slugs. Pursuing a superior privacy policy and security mindset, our module effectively replaces the need for additional plugins, while eliminating one of the common vulnerabilities exploitable by attackers.<\/p>","protected":false},"excerpt":{"rendered":"<p>The article introduces WPMasterToolKit's \"Obfuscate Author Slugs\" module, a tool designed to improve the security of WordPress sites by hiding user slugs in author page URLs. It replaces specific plugins dedicated to this task, secures slugs by transforming them into encrypted values, and redirects unauthorized access attempts to 404 pages. The module also protects the REST API by obfuscating slugs in API responses, with no need for manual configuration after activation. The DES-EDE3 algorithm ensures secure transformations.<\/p>","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":true,"_seopress_robots_primary_cat":"","_seopress_titles_title":"S\u00e9curisez vos URLs Auteur avec WPMasterToolKit","_seopress_titles_desc":"Prot\u00e9gez votre site WordPress des vuln\u00e9rabilit\u00e9s d'auteurs en chiffrant les slugs avec WPMasterToolKit. S\u00e9curit\u00e9 am\u00e9lior\u00e9e, protection des donn\u00e9es assur\u00e9e.","_seopress_robots_index":"","_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true},"class_list":["post-1861","module","type-module","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module\/1861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/module"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=1861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}