Hi,
On local server I’m trying HMWP. But I can’t see users’ profile pages. When I click a profile url, page redirects to homepage. I’m using this code for profile base on my themes functions.php:
add_action('init', 'change_author_base');
function change_author_base() {
global $wp_rewrite;
$author_slug='profile'; // change the name for ‘author’
//here
$wp_rewrite->author_base=$author_slug;
}
I tried to remove this code but nothing changed. On HMWP panel, I’ve change profile base and profile query to profile. But still not working. I’ve almost try all variations but urls not working. What am I missing?