Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Simply Change Author URL

Descripción

The plugin Changes wordpress user slug for security reasons, it prevents access to the usernames of registered users on your site.

By using «Simply Change Author URL» The WordPress default users(authors) Slug and URL addresses will be changed automatically.

By Default Author URL is: example.com/author/[username]/
after install this plugin URLs will be changed to: example.com/user/[user_id]/

This will protects the usernames from being easily accessible by cyber attackers.

This plugin also:
1. Removes wordpress api user endpoints. (they contain information about users)
1. Changes canonical links generated by yoast.

Instalación

INSTALL Simply Change Author URL FROM WITHIN WORDPRESS

  1. Visit the plugins page within your dashboard and select Add New;
  2. Search for 'Simply Change Author URL';
  3. Activate 'Simply Change Author URL' from your Plugins page;

INSTALL Simply Change Author URL MANUALLY

  1. Upload the 'simply-change-author-url' folder to the /wp-content/plugins/ directory;
  2. Activate the 'Simply Change Author URL' plugin through the 'Plugins' menu in WordPress;

FAQ

How to change «author_base» From «user» to something else

You can do this using a hook named 'simply_change_author_url_author_base' just return your desired Slug.
Remember to call <?php flush_rewrite_rules(); ?>, or manually flush rewrite rules by going to 'Setting' => 'Permalinks' and 'save' the settings.

Example Code:

add_filter('simply_change_author_url_author_base', 'changeAuthorSlug');

function changeAuthorSlug(){
    return 'example_slug';
}

Reseñas

27 de julio de 2022
This is a must have, no-frills plugin for any member site where you have member profiles. By default WordPress uses the username as the slug for the author.php-based profile - a big security issue. This plugin does exactly what it says it should - uses the user ID instead, and lets you change the base slug as well. I have never used such a new plugin before or one with less than thousands of instalments, and no reviews, but decided to take a chance as it was just what I was looking for. I did find a couple of issues, and the author responded right away with tips to solve one and a new version to fix the others and make the plugin even better. Maybe one day this will become core. It should be.
Leer la 1 reseña

Colaboradores y desarrolladores

«Simply Change Author URL» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Simply Change Author URL» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.1.2

  • simply_change_author_url_author_base filter works fine now.
  • username no longer prints in body classes.

1.1.1

  • fixed a bug where some canonical urls might not get replaced.

1.1.0

  • compatibility with yoast seo.
  • remove wordpress json api user endpoints.

1.0.0

  • Initial plugin release.