I have changed my permalink "author". Now your slug is "user". But the user page slug is also "user".
How can I make sure there is no conflict between both slugs?
I hope help, please! Thanks
What you need to do is make sure you have a unique base for your author permalinks. This sample code would do what you need. You may need to flush the rules after you include this code in your functions.php. A rewrite rules inspector plugin will help you get this all working smoothly:
function wpse263881_init() {
global $wp_rewrite;
$wp_rewrite->author_base = 'author';
$wp_rewrite->author_structure = '/' . $wp_rewrite->author_base . '/%author%';
}
add_action('init', 'wpse263881_init');