-
Author
-
October 8, 2015 at 19:25 #81519EduardParticipant
Hi!
On four pages have doubles rel = “canonical”.
These pages (for example, your demo site).
http://seventhqueen.com/themes/kleo/members/
http://seventhqueen.com/themes/kleo/groups/
http://seventhqueen.com/themes/kleo/activity/
http://seventhqueen.com/themes/kleo/register/
Yoast SEO plugin inserts it double.
Below advice SEO advisor:
In cases of multiple declarations of rel = canonical, Google will likely ignore all the rel = canonical hints, so your efforts to avoid duplicate content issues may go useless.
Can do you recommend something? Thank you.
October 10, 2015 at 21:22 #81727LauraModeratorHello, will assign the ticket to a higher support lever who can help and advise you in your query.
Thanks! 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 12, 2015 at 16:46 #81863RaduModeratorHi,
You can disable one of the canonical tag by using this function adding in kleo-child/function.php
COPY CODE// Remove Canonical Link Added By Yoast WordPress SEO Plugin function at_remove_dup_canonical_link() { return false; } add_filter( 'wpseo_canonical', 'at_remove_dup_canonical_link' );
Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 12, 2015 at 18:28 #81886RaduModeratorYou’re welcome
I given a closer look into the issue and you should better use this snippet :
COPY CODE# Remove WordPress' canonical links remove_action('wp_head', 'rel_canonical');
Instead of the code provided you earlier.
Best Regards
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 12, 2015 at 18:47 #81892EduardParticipantThis is how I understand the file kleo-child/function.php?
If so, replace the snippet in this file and effect is not produced.
I also have the double rel = ‘canonical’ on pages.October 13, 2015 at 15:13 #82030RaduModeratorHi,
If the second code doesn’t work please use the first code.
The child theme needs to be active.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 13, 2015 at 22:27 #82140EduardParticipantThe first solution is generally removes all rel=”canonical” on all pages. Unfortunately, this is not the solution to this problem.
October 16, 2015 at 18:33 #82725AndreiModeratorI have given an deeper look into this issue and this happens only in buddypress pages.
The conflict is between Yoast SEO and BuddyPress plugin, and please note that our theme doesn’t touches any logic related to the canonical meta tags.I recommend you to contact the author of the Yoast SEO and report this issue.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.