waldronlab / BugSigDB

A microbial signatures database
https://bugsigdb.org
6 stars 6 forks source link

Search Engine Optimization #198

Closed lwaldron closed 8 months ago

lwaldron commented 9 months ago

Is there anything relatively straightforward we could do improve the search engine performance for searches for taxa or conditions (like https://www.mediawiki.org/wiki/Extension:WikiSEO ?) I'm starting to work on getting some links to the main page, but want to make sure there is something like a full site map including taxa and conditions that can be indexed by search engines.

tosfos commented 9 months ago

Yes, there are a few things we can do. We'll implement some basics and update you soon.

tosfos commented 9 months ago

We installed WikiSEO a couple of years ago. We will improve the way it works. We also added a sitemap at that time. Was it submitted to Google? We will add it to the robots.txt so hopefully Google will see it either way.

tosfos commented 8 months ago

We updated the robots.txt, as you can see here. It would be good to check the search console to make sure that Google is happy with the site. Please let me know if you need help with that. We also improved some of the SEO meta tags. For example:

<meta property="og:title" content="The gut microbiota in conventional and serrated precursors of colorectal cancer - BugSigDB"/>
<meta property="og:site_name" content="BugSigDB"/>
<meta property="og:url" content="https://bugsigdb.org/Study_1"/>
<meta property="og:description" content="BACKGROUND: Colorectal cancer is a heterogeneous disease arising from at least two precursors-the conventional adenoma (CA) and the serrated polyp"/>
<meta property="og:image" content="https://bugsigdb.org/w/logo.png"/>
<meta property="article:tag" content="Adenoma,Cancer,Colorectal,Microbiome,Microbiota,Polyp,Serrated,Peters BA, Dominianni C, Shapiro JA, Church TR, Wu J, Miller G, Yuen E, Freiman H, Lustbader I, Salik J, Friedlander C, Hayes RB, Ahn J"/>
<meta property="article:modified_time" content="2022-05-20T16:52:21Z"/>
<meta property="article:published_time" content="2022-05-20T16:52:21Z"/>

As you can see, we're now setting a "title" which will equal the display title of the page. We're also putting the abstract in the "description" tag. And we're setting the "keywords" field to match the "keywords" :). Please confirm that we guessed all this correctly.

tosfos commented 8 months ago

Can this be closed?

lwaldron commented 8 months ago

Sorry for the delay, yes, thanks @tosfos