onlanka
Forum Replies Created
-
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] error_log found for Akismet@cfinke Thank you!
Forum: Plugins
In reply to: [Yoast SEO] Optimize SEO Data@mazedulislamkhan Thank you!!
Forum: Plugins
In reply to: [Schema] 16 Errors found on Home PageI had to change Article Type from “News Article” to “BlogPosting” to fix this problem.
But I really need “NewsArticle” as this is a News website.
@jamesosborne Thank you for confirming the validity of my pages.
Next, I will contact adsense support team.
@jamesosborne I have filled and submitted the form you provided
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Adsense ad code bug@ahmedkaludi ok, I’m using following wordpress plugins for my site:
- Accelerated Mobile Pages – (By Ahmed Kaludi, Mohammed Kaludi)
- Akismet Anti-Spam – (By Automattic)
- All 404 Redirect to Homepage – (By Fakhri Alsadi)
- Better Recent Comments – (By Barn2 Media)
- Better Search Replace – (By Delicious Brains)
- Classic Editor – (By WordPress Contributors)
- Cookie Notice – (By dFactory)
- Default featured image – (By Jan Willem Oostendorp)
- Form Maker – (By 10Web Form Builder Team)
- Limit Login Attempts Reloaded – (By WPChef)
- MaxButtons – (By Max Foundry)
- Plugins Garbage Collector – (By Vladimir Garagulya)
- Really Simple SSL – (By Rogier Lankhorst, Mark Wolters)
- Widget Logic – (By WPChef)
- WP Super Cache – (By Automattic)
- WP Twitter Auto Publish – (By xyzscripts.com)
- Yoast SEO – (By Team Yoast)
- This reply was modified 4 years, 6 months ago by onlanka. Reason: some formatting added
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Adsense ad code bug@ahmedkaludi I removed adsense ad codes 5 minutes ago.
I will only use adsense amp auto ads from now.
It’ll need only the code between <head></head> and another code between <body></body>
Those are appearing correctly.
So you can check adsense ad code issues by placing ad codes from your end.
Developer mode also was unable to complete “loading” state of “Forms > Edit > Settings”.
Then I opened “Forms > Edit (Opened the Console area) > Clicked Settings > checked console but nothing changed in the console, same amount of error texts because nothing processed after clicking settings but “Loading…” appeared.
This is the latest screenshot after clicking settings: https://ibb.co/gymX9R6
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Adsense ad code bugAlso I see some differences between your plugin’s adsense ad code and original adsense code.
Your code:
<amp-ad class="amp-ad-1" type="adsense" width=100vw height=320 data-ad-client="ca-pub-3918084299684199" data-ad-slot="4519140623"data-auto-format="rspv" data-full-width><div overflow></div></amp-ad>
Original code:
<amp-ad width="100vw" height="320" type="adsense" data-ad-client="ca-pub-3918084299684199" data-ad-slot="4519140623" data-auto-format="rspv" data-full-width=""> <div overflow=""></div> </amp-ad>
Followings are incorrect parts I noticed in your ad code:
1.
data-ad-slot="4519140623"data-auto-format="rspv"
(No spaces)
2.data-full-width>
( data-full-width=""
is missing )
3.<div overflow>
( data-full-width=""
is missing )4. This might be not and issue, but also check this as well:
<script custom-element="amp-position-observer" src="https://cdn.ampproject.org/v0/amp-position-observer-0.1.js" async></script> <script custom-element="amp-animation" src="https://cdn.ampproject.org/v0/amp-animation-0.1.js" async></script> <script custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js" async></script>
async
should be added at very first,<script async
Original Adsense AMP ad code implementation has:
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
@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 ??
@ahmedkaludi No I didn’t modify any URL (including new posts) manually.
All the posts posted with same settings.
@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..
@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