Last active
May 24, 2022 00:09
-
-
Save wp-user-manager/4a31e4f085b8f8a6fed3a1c79a0fd69d to your computer and use it in GitHub Desktop.
WP User Manager - Redirecting the author URL to the user profile
I have placed the code in a new file called 'wpum_redirect_author_url_to_profile.php' in the mu-plugins folder, it redirects correctly when a profile/author link is clicked but if you go directly to the /author/ URL in the address bar, it doesn't redirect.
Any ideas, please? Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you edit your wp-config.php file to replace this line -
define( 'WP_DEBUG', false );
With these lines -
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
This means that any errors are logged to `/wp-content/debug.log', because some errors are not visible on screen.
More details about that at http://codex.wordpress.org/Editing_wp-config.php#Debug
Can you then retry the process and send me the debug.log file that should be created.