{"id":122979,"date":"2020-06-15T17:20:31","date_gmt":"2020-06-15T17:20:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simply-change-author-url\/"},"modified":"2022-07-25T09:41:16","modified_gmt":"2022-07-25T09:41:16","slug":"simply-change-author-url","status":"publish","type":"plugin","link":"https:\/\/so.wordpress.org\/plugins\/simply-change-author-url\/","author":14780695,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"trunk","tested":"6.0.11","requires":"4.0.1","requires_php":"5.6.20","requires_plugins":"","header_name":"Simply Change Author URL","header_author":"vahid","header_description":"Changes wordpress user slug for security, no one can see username of people registered on your site.","assets_banners_color":"2a2a2a","last_updated":"2022-07-25 09:41:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/simply-change-author-url\/","header_author_uri":"https:\/\/profiles.wordpress.org\/dev_vahid\/","rating":5,"author_block_rating":0,"active_installs":50,"downloads":1784,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dev_vahid","date":"2020-06-15 17:20:07"},"1.1.0":{"tag":"1.1.0","author":"dev_vahid","date":"2020-06-20 16:44:25"},"1.1.1":{"tag":"1.1.1","author":"dev_vahid","date":"2022-02-07 18:51:16"},"1.1.2":{"tag":"1.1.2","author":"dev_vahid","date":"2022-07-25 09:41:16"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2324548,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2324548,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2324548,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2324548,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[132,16942,16941,2662,600],"plugin_category":[54],"plugin_contributors":[187162],"plugin_business_model":[],"class_list":["post-122979","plugin","type-plugin","status-publish","hentry","plugin_tags-author","plugin_tags-author-base","plugin_tags-author-slug","plugin_tags-permalink","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-dev_vahid","plugin_committers-dev_vahid"],"banners":{"banner":"https:\/\/ps.w.org\/simply-change-author-url\/assets\/banner-772x250.png?rev=2324548","banner_2x":"https:\/\/ps.w.org\/simply-change-author-url\/assets\/banner-1544x500.png?rev=2324548","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simply-change-author-url\/assets\/icon-128x128.png?rev=2324548","icon_2x":"https:\/\/ps.w.org\/simply-change-author-url\/assets\/icon-256x256.png?rev=2324548","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin Changes wordpress user slug for security reasons, it prevents access to the usernames of registered users on your site.<\/p>\n\n<p>By using \"Simply Change Author URL\" The Wordpress default users(authors) Slug and URL addresses will be changed automatically.<\/p>\n\n<p>By Default Author URL is: <code>example.com\/author\/[username]\/<\/code>\nafter install this plugin URLs will be changed to: <code>example.com\/user\/[user_id]\/<\/code><\/p>\n\n<p>This will protects the usernames from being easily accessible by cyber attackers.<\/p>\n\n<p>This plugin also:\n1. Removes wordpress api user endpoints. (they contain information about users)\n1. Changes canonical links generated by yoast.<\/p>\n\n<!--section=installation-->\n<h4>INSTALL Simply Change Author URL FROM WITHIN WORDPRESS<\/h4>\n\n<ol>\n<li>Visit the plugins page within your dashboard and select <code>Add New<\/code>;<\/li>\n<li>Search for <code>'Simply Change Author URL'<\/code>;<\/li>\n<li>Activate <code>'Simply Change Author URL'<\/code> from your Plugins page;<\/li>\n<\/ol>\n\n<h4>INSTALL Simply Change Author URL MANUALLY<\/h4>\n\n<ol>\n<li>Upload the <code>'simply-change-author-url'<\/code> folder to the \/wp-content\/plugins\/ directory;<\/li>\n<li>Activate the <code>'Simply Change Author URL'<\/code> plugin through the <code>'Plugins'<\/code> menu in WordPress;<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20change%20%22author_base%22%20from%20%22user%22%20to%20something%20else'><h3>How to change \"author_base\" From \"user\" to something else<\/h3><\/dt>\n<dd><p>You can do this using a hook named <code>'simply_change_author_url_author_base'<\/code> just return your desired Slug.\nRemember to call <code>&lt;?php flush_rewrite_rules(); ?&gt;<\/code>, or manually flush rewrite rules by going to <code>'Setting' =&gt; 'Permalinks'<\/code> and <code>'save'<\/code> the settings.<\/p>\n\n<p>Example Code:<\/p>\n\n<pre><code>add_filter('simply_change_author_url_author_base', 'changeAuthorSlug');\n\nfunction changeAuthorSlug(){\n    return 'example_slug';\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li><code>simply_change_author_url_author_base<\/code> filter works fine now.<\/li>\n<li>username no longer prints in body classes.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>fixed a bug where some canonical urls might not get replaced.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>compatibility with yoast seo.<\/li>\n<li>remove wordpress json api user endpoints.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial plugin release.<\/li>\n<\/ul>","raw_excerpt":"Changes wordpress user slug for security, it prevents access to the usernames of registered users on your site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/122979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=122979"}],"author":[{"embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dev_vahid"}],"wp:attachment":[{"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=122979"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=122979"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=122979"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=122979"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=122979"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/so.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=122979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}