Basic SEO for a small website: five things to check first
SEO is not a trick. Before thinking about keywords or rankings, the first job is making sure search engines can read each page and understand what it is about. Here are the five basics I checked on this very site, each with a way to check your own website.
1. Every page has its own title
The title tag is the text on the browser tab and usually the first line of a search result. This site titles each page "Page name — WEB PORTFOLIO", a different title on every page. A common mistake is giving every page the same title. How to check: look at the browser tab as you move between pages.
2. Every page has a short description
The meta description is a sentence or two summarising the page. Google may use it as the text under the title in results, but there is no guarantee, and it is not a direct ranking factor. Its value is helping readers decide to click. This site writes a separate description for each page.
3. The content is in the HTML
Search engines can run JavaScript, but that is an extra step and it does not always go smoothly. As the previous article described, this site generates the HTML for its fixed pages at build time, so the content is in the very first response. How to check: open "view page source" and search for a sentence from the content. If you only see an empty tag, JavaScript is drawing the content.
4. A sitemap and a robots.txt that do their job
A sitemap lists the pages you want found; this site generates it on every build. The robots.txt file only blocks the admin area. Note that robots.txt is not a way to hide a page from search results. To keep a page out, use a noindex tag, and the admin pages here carry noindex too.
5. Canonical addresses and pages that do not exist
Each page declares one canonical address so versions of the same address are not treated as several pages. About pages that do not exist I have to be upfront about a limitation: because of how this host is configured, a wrong address still returns status 200 instead of 404, and I compensate with a noindex tag. That is not ideal, but I would rather write it down than hide it.
A score is not a ranking
The Lighthouse SEO category gives this site 100, but it only checks the basic technical points above, not where the page will rank. This site still runs on a temporary address with no domain of its own, so I have no ranking data and I am not going to quote any numbers.
What to do on your own website
- Give every page its own title that says what the page is about.
- Give every page its own short description.
- Open "view page source": is the content in the HTML?
- Have a sitemap, and make sure robots.txt does not block important pages by accident.
- Use noindex, not robots.txt, for pages that should stay out of results.
If you would like me to check these five points on your website, send a request through the Contact page.