Archived topic
author page is being redirected
7 replies · Started by Anders on April 28, 2021
Hi!
I don't know what happened. Now my author page is being redirected to the home page. I suspected Rank Math but I deactiveted it without result. I have also updated the permalinks. Can you help?
https://simpliweb.se/author/anders/
Nice new design by the way (generatepress.com)
Hi Anders,
Have you added any custom functions to the site recently? If not, it's likely an SEO plugin issue.
Can you clear cache and try to disable all plugins except GP premium to test?
If the issue persists, could you try to disable all modules of GP Primum to test?
Let me know :)
this is in the Snippets but it's been there for a while and is used to work before
add_shortcode( 'author_bio', function() {
ob_start();
echo wp_kses( get_the_author_meta( 'description' ), null );
return ob_get_clean();
} );
I have no deactivated any plugins at this stage. if you get a clue of the code above I will wait for your reply before deactiviting plugins. By the way, I don't lose any settings when I deactivate, right?
Don't think this snippet causes the problem.
Usually deactivating plugins won't create issues when you activate them back, but I would recommend creating a staging site to test for safety, or backup your current site, if any issue occurs you could restore the backup.
Also, you could start with:
1. Deactivate the SEO plugin.
2. Clear cache.
3. Deactivate the cache plugin to test before the big move.
Let me know :)
I have deactivated the SEO plugin , cleared the cache in the Chrome browser - it worked. Then I used Firefox which I seldom use. Same redirect. Cleared cache it worked. Then I deactivated the cache plugin, cleared cashe again and the redirect came back. It could be any of these. Same redirect problem in the mobile phone using Safari and Firefox. I used to have TranslatePress installed and it cause similar problems for other pages.
It seems caused by the SEO plugin, I would recommend reaching out to the SEO plugin to see if there's a setting that can avoid the redirecting.
Let me know :)
YEs you were right, there is setting in RankMath that is redirecting the author page to the homepage. So I changed it and then it worked. Thanks!
Nice! Glad to hear that :)