-
-
Save wp-user-manager/4a31e4f085b8f8a6fed3a1c79a0fd69d to your computer and use it in GitHub Desktop.
Even after adding to mu-plugins it is still breaking my website. Can you help?
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.
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.
Very helpful. When added to functions php it broke my site but when added to mu-plugins it worked.