author.php linking to home page via nickname
-
My Google authorship is a mess. I am showing more than one link as author but I want my name to show.
I looked in author.php and it was showing nickname
<h1><?php _e('Posts by','gopress'); ?>: <?php echo $curauth->nickname; ?></h1>
so I changed it to display name and cleared my caches but it’s not helping
<h1><?php _e('Posts by','gopress'); ?>: <?php echo $curauth->display_name; ?></h1>
Here’s a page as an example
When you look in the post meta on top, it shows my name but the link goes to my page/miz-chellie and that page links to my home page because it’s a single author blog but I want the link/myname
When I check the structured data testing tool I get
Authorship rel=author Markup rel=author markup has successfully established authorship for this webpage. First rel=author link from webpage: https://plus.google.com/+chelliecervone Link (direct or indirect) from website to Google+ profile: Yes Public contributor-to link from Google+ profile to www.lasvegasworldnews.com: Yes Note: The testing tool currently only checks the first rel=author link listed on a webpage for a link to a Google+ profile (https://plus.google.com/+chelliecervone). It's possible that authorship may in fact be working for this page because of other rel=author links on the page. To verify that authorship is working on this page, please ensure the first profile listed on the site links to the appropriate Google+ profile. Other rel=author links from page: https://plus.google.com/+ChellieCervone https://www.lasvegasworldnews.com/author/miz-chellie/ https://www.lasvegasworldnews.com/author/miz-chellie/ https://plus.google.com/+ChellieCervone?rel=author
How do I fix this? The goal is have my google + page as the publisher and my personal profile as the author.
- The topic ‘author.php linking to home page via nickname’ is closed to new replies.