OpenDRR / riskprofiler

Web Application to Support Disaster Resilience / Application web pour soutenir la résilience aux catastrophes
MIT License
10 stars 7 forks source link

RiskProfiler.ca does not show up in Google search results (SEO etc.) #126

Open anthonyfok opened 4 months ago

anthonyfok commented 4 months ago

Our website https://www.riskprofiler.ca/ does not appear in Google, Bing or DuckDuckGo search results. We really need to improve our SEO.

Details

When searching for just "RiskProfiler", top results are on "riskprofiler.io" (understandable), but even when explicitly searching for "RiskProfiler.ca", the top results are either:

Interestingly, our Pygeoapi pages https://geo-api.riskprofiler.ca/, and GitHub repos (e.g. OpenDRR/riskprofiler), https://geoscan.nrcan.gc.ca/starweb/geoscan/servlet.starweb?path=geoscan/fullf.web&search1=R=331875 show up in the search results, but https://www.riskprofiler.ca/ itself is nowhere to be seen.

Suggested remedies

Suggestions from fellow EMS members

Special thanks

Many thanks to Meg (@MPConda) for bringing it up during our EMS meeting on 2024-04-09, and to Joost (@jvanulde) and Jordan (@jordanharding) for providing expert advice!

Tasks

anthonyfok commented 3 months ago

Following up with my previous comment, WordPress plugins that help with SEO:

Yoast is being used on https://climatedata.ca/ and on https://geo.ca/, for example (e.g. the <script type="application/ld+json" class="yoast-schema-graph"> tags found there, so that's a good reference for us.

@jvanulde suggested "microdata markup" to me in a recent bilat. He also wrote on 2024-05-27 in an email to the Open Science Data Platform team (attachment on Jira ticket OSDP-1718):

Regarding the standard on web interoperability please see Appendix E in https://www.tbs-sct.canada.ca/pol/doc-eng.aspx?id=25875

Perhaps OSDP is compliant via shadow-DOM? I don’t see any microdata markup in the pages. No concept of a catalogue, a dataset, or spatial extent is evident. Again, perhaps it’s in the shadow-DOM… but I didn’t see it.

You can use the structured data testing tool at Google to see how search engines see your resources: https://validator.schema.org/.

I was one of the authors of that standard so I’m happy to support if needed.

Joost

Comparing Schema validator results between geo.ca and riskprofiler.ca:

jordanharding commented 3 months ago

Just adding my two cents here as an seo expert

Most importantly... This site is currently completely blocked from crawling, likely the wordpress setting that says "discourage search engines from indexing this site"

the tag generated by this setting is right in the page source:

<meta name="robots" content="noindex, nofollow">

https://riskprofiler.ca/robots.txt - this really needs to be a valid file and accessible.

root canonical url should be https://riskprofiler.ca/ and not https://riskprofiler.ca/index.html

Hope this helps!

anthonyfok commented 3 months ago

@jordanharding, Thank you so much for sharing your great insight! No wonder RiskProfiler.ca does not show up in Google at all, and OSDP (https://osdp-psdo.canada.ca/) does appear in the 3rd result despite not having Schema (Microdata and/or LD-JSON) (I'm a total SEO newbie. 😅)

@chloe2407 It would be great if you could work on this as time permits, and I'll be happy to help you get started. Thanks!

anthonyfok commented 1 month ago

Location: Settings > Reading > Discourage search engines from indexing this site

image

When “☑ Discourage search engines from indexing this site” is enabled:

<meta name='robots' content='noindex, nofollow' />

When “☐ Discourage search engines from indexing this site” is disabled:

<meta name='robots' content='max-image-preview:large' />
jordanharding commented 1 month ago

sign up on here if you haven't already

https://search.google.com/search-console

it will clearly tell you any issues that still persist.