Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
When you access tags, it lists all the articles in the tag. If you want the redirect the tag to the actual post then the tag needs to be used on only one post. Please confirm if you are using unique tag for each post.
Looking forward to helping you.
Thank you
Yes I am using different tags for different posts but when when I checked the tags I opened a tag link under the tag link showing only post photo not showing the actual page
Hello,
Would you please share few affected URLs, so that we can investigate and provide better solution.
Looking forward to helping you.
Thank you
Hello,
Would you please try this adding this code in theme’s functions.php
function redirect_to_single_post(){
global $wp_query;
if(is_tag()){
// Setup post data
the_post();
// Get permalink
$post_url = get_permalink();
// Redirect to single post page
wp_redirect( $post_url );
}
}
add_action('template_redirect', 'redirect_to_single_post');
Let us know how it goes.
Thank you
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.