Referenced AMP URL is self-canonical AMP
-
After updating your AMP plugin, today I got AMP error in Google search console.
It says “Referenced AMP URL is self-canonical AMP”
Error already applied for 89 posts in my blog, it’s growing continuously.
But some posts has no such issues.
Please check above mentioned URL.
The page I need help with: [log in to see the link]
-
Can you please share the screenshots of the Google search console which getting this error?
it seems like many are experiencing problems like me. (canonical).
@ahmedkaludi I found the cause of the problem.
There is conflict between Yoast SEO plugin and your AMP plugin.
Even I already set Yoast plugin in AMP settings, this error remains.
I tested same page by disabling Yoast SEO plugin and then canonical URL visibled correctly!
<link rel="canonical" href="https://www.onlanka.com/news/over-50000-applications-for-korean-jobs.html" />
After re-enabling Yoast SEO plugin, canonical URL revert back to Self Canonical:
<link rel="canonical" href="https://www.onlanka.com/news/over-50000-applications-for-korean-jobs.html/amp" />
Please release a fix for this conflict with Yoast plugin
-
This reply was modified 4 years, 10 months ago by
onlanka.
After updating your AMP plugin, today I got AMP error in Google search console.
It says “The “link rel = canonical” tag appears several times in the document.”
Error already applied for 10 posts in my blog, it’s growing continuously.
But some posts has no such issues.
Please check above mentioned URL.
https://www.jadid-alwadifa.com/Thanks
@jadidalwadifa @ahmedkaludi Yes same for me, posts partially affected.
See my last reply, it has clearly indicate the cause of the problem.
@onlanka I have checked your website and found the self canonical AMP error is coming only on your one post – https://www.onlanka.com/news/over-50000-applications-for-korean-jobs.html/amp and rest of your posts are working fine, Are you changing canonical from that particular post?
@ahmedkaludi No there are near 100 posts affected so far (and growing) as per the search console report.
My blog has thousands of posts,
Here are the current reported posts:
https://www.onlanka.com/news/gotas-american-status-precludes-presidential-run-welgama.html/amp https://www.onlanka.com/news/kalutara-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/2013-al-results-released.html/amp https://www.onlanka.com/news/wedding-bells-ring-to-daminda-defence-secretary-gotabaya-rajapaksa’s-son.html/amp https://www.onlanka.com/news/new-website-to-report-stolen-lost-phones.html/amp https://www.onlanka.com/news/badulla-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/kegalle-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/anyone-crossing-district-borders-sent-to-quarantine-centers-dig-ajith-rohana.html/amp https://www.onlanka.com/news/over-50000-applications-for-korean-jobs.html/amp https://www.onlanka.com/news/hambantota-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/udeshika-hettiarachchi-obtains-best-results-at-ol-exam-2011.html/amp https://www.onlanka.com/news/instructions-given-to-cut-off-unwanted-expenditure-at-state-institutions.html/amp https://www.onlanka.com/news/makumbura-multimodal-centre-commissioned.html/amp https://www.onlanka.com/news/tomorrow-declared-a-national-day-of-mourning.html/amp https://www.onlanka.com/news/tna-to-support-unp-led-government.html/amp https://www.onlanka.com/news/contact-numbers-of-the-special-presidential-task-force-for-essential-services.html/amp https://www.onlanka.com/news/19a-first-step-to-abolish-executive-presidency-which-sirisena-failed-to-honour-unp.html/amp https://www.onlanka.com/news/58-3-million-held-in-swiss-accounts-by-92-sri-lankans.html/amp https://www.onlanka.com/news/wimal-ordered-to-pay-tilvin-rs-10-million.html/amp https://www.onlanka.com/news/kurunegala-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/vip-defender-involved-in-attack-on-van-at-kalagedihena-seized.html/amp https://www.onlanka.com/news/ravi-karunanayake-and-family-spoke-to-aloysius-over-750-times.html/amp https://www.onlanka.com/news/fr-against-vandalising-buddha-status-re-fixed-for-support.html/amp https://www.onlanka.com/news/sri-lanka-arrests-nearly-550-deserters-in-army-clean-up.html/amp https://www.onlanka.com/news/gce-advanced-level-results-released.html/amp https://www.onlanka.com/news/bandula-explains-how-to-survive-with-rs-2500-a-month.html/amp https://www.onlanka.com/news/say-no-to-carbide-in-bananas-which-induces-cancer.html/amp https://www.onlanka.com/news/police-sergeant-interdicted-over-thebuwana-incident-reinstated.html/amp https://www.onlanka.com/news/galle-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/price-of-bread-and-bakery-items-to-be-reduced.html/amp https://www.onlanka.com/news/stf-seize-walla-patta-worth-rs-200-million-6-arrested.html/amp https://www.onlanka.com/news/matale-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/victor-ratnayakas-wife-arrested.html/amp https://www.onlanka.com/news/grade-6-sinhala-paper-printed-with-answers.html/amp https://www.onlanka.com/news/air-pistols-instead-of-firearms.html/amp https://www.onlanka.com/news/three-minute-silence-to-remember-victims-of-easter-attacks.html/amp https://www.onlanka.com/news/colombo-district-results-presidential-election-2019.html/amp https://www.onlanka.com/news/president-explains-steps-taken-when-a-person-tests-positive-for-covid-19.html/amp https://www.onlanka.com/news/rmv-issues-licences-for-auto-vehicles.html/amp https://www.onlanka.com/news/bollywood-is-a-very-competitive-industry-jacqueline-fernandez-interview.html/amp https://www.onlanka.com/news/battles-ahead-big-parties-ready-for-may-day-battles-ahead.html/amp https://www.onlanka.com/news/will-abolish-executive-presidency-if-contesting-speaker-karu.html/amp https://www.onlanka.com/news/navy-earns-rs-220-million-from-avant-garde-operations.html/amp https://www.onlanka.com/news/underworld-kingpin-olcott-shot-dead-at-minuwangoda.html/amp https://www.onlanka.com/news/two-villages-in-beruwala-isolated-as-covid-19-high-risk-areas.html/amp https://www.onlanka.com/news/floral-tribute-to-ranaviru-hasalaka-gaminis-memorial.html/amp https://www.onlanka.com/news/15-bodies-including-children-found-at-blast-site-in-sainthamaruthu.html/amp https://www.onlanka.com/news/wimal-weerawansas-wife-arrested.html/amp https://www.onlanka.com/news/doctorate-for-malini-fonseka.html/amp https://www.onlanka.com/news/sri-lankan-navy-arrest-3-people-for-smuggling-963000-usd-worth-of-gold.html/amp https://www.onlanka.com/news/garbage-fiasco-hayleys-operated-sans-environmental-protection-licence-cea.html/amp https://www.onlanka.com/news/rs-2500-monthly-interim-allowance-for-public-sector-employees.html/amp https://www.onlanka.com/news/kanjipani-imran-given-6-year-rigorous-jail-term.html/amp https://www.onlanka.com/news/2015-grade-5-scholarship-exam-results-released.html/amp https://www.onlanka.com/news/covid-19-6000-bakeries-closed-islandwide.html/amp https://www.onlanka.com/news/upeksha-swarnamali-hospitalised-after-being-assaulted.html/amp https://www.onlanka.com/news/one-dead-as-couple-attacked-at-home-in-weeragula.html/amp https://www.onlanka.com/news/nimal-lakshapathiarachchi-passes-away.html/amp https://www.onlanka.com/news/gotabaya-rajapaksa-to-be-sworn-in-as-president-tomorrow.html/amp https://www.onlanka.com/news/customs-detect-rs-14-million-worth-heroin-from-inside-a-flight.html/amp https://www.onlanka.com/news/599-covid-19-cases-confirmed-in-sri-lanka.html/amp https://www.onlanka.com/news/2012-al-results-released.html/amp https://www.onlanka.com/news/new-year-an-opportunity-to-build-a-new-sri-lanka.html/amp https://www.onlanka.com/news/duminda-to-undergo-another-surgery.html/amp https://www.onlanka.com/news/dust-allowance-for-sanitary-labourers.html/amp https://www.onlanka.com/news/200-t-56-bullets-found-at-st-josephs-girls-college-in-gampola.html/amp https://www.onlanka.com/news/lankan-actress-found-not-guilty-of-forgery-released.html/amp https://www.onlanka.com/news/forward-complaints-on-bus-services-to-0117-555-555-sri-lanka-transport-board.html/amp https://www.onlanka.com/news/prices-of-dhal-chickpeas-and-black-gram-reduced.html/amp https://www.onlanka.com/news/driver-conductor-sentenced-to-death-for-causing-deaths-of-41-passengers.html/amp https://www.onlanka.com/news/corona-testing-for-domestic-animals.html/amp https://www.onlanka.com/news/turbulence-on-srilankan-flight-5-crew-members-injured.html/amp https://www.onlanka.com/news/navy-alerted-as-water-level-of-diyawanna-oya-rises.html/amp https://www.onlanka.com/news/gotabaya-meets-ranil-at-temple-trees.html/amp https://www.onlanka.com/news/49-knives-recovered-from-mosque-in-maskeliya.html/amp https://www.onlanka.com/news/dress-code-introduced-for-state-employees-visitors.html/amp https://www.onlanka.com/news/avoid-mega-celebrations-this-vesak.html/amp https://www.onlanka.com/news/ven-harispaththuwe-ariyawansalankara-thero-passes-away.html/amp https://www.onlanka.com/news/air-force-bell-412-makes-emergency-landing.html/amp https://www.onlanka.com/news/bbs-gives-police-a-week-to-arrest-actj-secretary.html/amp https://www.onlanka.com/news/defence-services-rugby-team-bags-president-rajapaksa-trophy.html/amp https://www.onlanka.com/news/railways-launches-sms-alerts-to-prevent-elephant-collisions.html/amp https://www.onlanka.com/news/new-dress-code-for-pregnant-teachers.html/amp https://www.onlanka.com/news/g-c-e-o-l-best-results.html/amp https://www.onlanka.com/news/new-coach-cannot-perform-miracles-says-sri-lankas-thisara-perera.html/amp https://www.onlanka.com/news/australia-relaxes-travel-advisory-on-sri-lanka.html/amp https://www.onlanka.com/news/new-crest-gem-of-ruwanweliseya-unveiled.html/amp https://www.onlanka.com/news/otara-gives-up-odel-sells-total-shares-to-softlogics.html/amp https://www.onlanka.com/news/veda-hamine-loses-battle-with-cancer.html/amp https://www.onlanka.com/news/president-praises-modi-for-bringing-yoga-to-international-stage.html/amp https://www.onlanka.com/news/sri-lankas-nanotechnology-centre-of-excellence-opening-tomorrow.html/amp https://www.onlanka.com/news/water-bills-to-increase.html/amp
@ahmedkaludi cause of this problem is conflict with Yoast SEO plugin.
Please read my last three replies, which clearly shows that if I disable Yoast plugin, No canonical problems!!
I already set Yoast in AMP settings but problem not solved.
Please check this conflict with Yoast, not 100% posts affected but partially affected.
Waiting for a fix..
We have tested the URLs which you have send us and yes you have the wrong canonical URL on those URLs but what I have notice is the canonical error is not there on your latest posts like https://www.onlanka.com/news/889-covid-19-cases-confirmed-in-sri-lanka.html/amp and https://www.onlanka.com/news/president-reviews-the-current-status-of-digital-id.html/amp etc,
Are you modifying any URL in the canonical section of the Yoast plugin on your previous posts?
Will you please edit one of your posts which has an error like – https://www.onlanka.com/news/gotas-american-status-precludes-presidential-run-welgama.html/amp and send us the screenshot of what you have entered here – https://prnt.sc/sfsd7x
@ahmedkaludi No I didn’t modify any URL (including new posts) manually.
All the posts posted with same settings.
@ahmedkaludi I fixed this issue!
What I did is find and replaced all the URLs ending with ‘/amp’ in the table named “wp_yoast_indexable” in wordpress database.
Now its ok ??
-
This reply was modified 4 years, 10 months ago by
- The topic ‘Referenced AMP URL is self-canonical AMP’ is closed to new replies.