A lot has changed, from a code perspective, with SEO in the last few years. Not too long ago, client-side JS-generated content was not seen by Google. (I suspect this had something to do with how the crawlers worked. They loaded a page and parsed the HTML returned by the server without executing any of the Javascript required to load dynamic content.) If you wanted your site to be crawled and indexed, you needed to generate all of your indexable content server-side.
Despite the increased capabilities of Google and similar search engines, the presentation of content is still important. You want to make your site as easily parsable as possible, while emphasizing your most relevant content. Here are seven ways to optimize your website for online searches:
-
Set up your site with the webmaster tools on Google’s search console and on Bing. This provides insight into how/when search engines are crawling your site. You can also view sitemap information and test robots.txt.
-
Register all variants of your site (e.g.
https://www.
,http://www.
, etc.) with the previously mentioned webmaster tools. You should also notify the search engines of which protocol schema and domain/subdomain are canonical for your information. If there are two links that Google doesn’t recognize as the same, you’re essentially bidding against yourself for page rank on those searches. -
Use redirects for non-canonical URLs. This is a long-known strategy for optimization that people seem to forget. If you want
https://www.
to be canonical, every other URL should redirect the user to that link. While many resources suggest using a 301 (permanent redirect), I strongly advise using a 302 (temporary redirect) until you know everything is working properly. A 301 redirect is nearly impossible to cache-bust. Test first; then, go back and change the 302 to a 301. (This extra step has saved me more headaches than I should openly admit.) -
Use a sitemap and keep it updated. Be sure to generate and submit a new sitemap each time you add or change content. For Ruby sitemap generation, I use Karl Varga’s gem sitemap_generator. I re-run the rake task each time we deploy or add a new blog post. One bonus of using this gem is that is automatically submits the sitemap for you.
-
Use JSON-LD to give semantic structure to your content for non-humans. The idea is to provide JSON content that reflects the structure of a page and other business information in easily parsable JSON. Google uses this content to display “rich cards,” Google News, and other high-profile presentations of search results. JSON-LD is also a great way to make your paywall-protected content discoverable by search engines. (Just make sure that the logged-out URL is the same as the logged-in URL). This is a fairly new addition to the SEO toolkit. If you want to learn more about structured content, Google has made a developer guide available here.
-
Use HTTPS. Honestly, this has a minimal, yet concrete impact on SEO, but I’m adding this strategy because I want people to use SSL/HTTPS whenever possible. Not seeing the green Secure icon in your browser should be the exception, not the rule. If you need further instructions on adding HTTPS to your site, there are a number of free resources available online. Let’s Encrypt is one of my favorites.
7 (BONUS). Use proper HTML5 tags. This is the best SEO advice I’ve ever given or received. A simple cleanup of site navigation not only improves search result ranking, but also helps search engines build proper sitelinks. When sitelinks show, they give your site additional prominence at the top of search results. While navigation isn’t the only place for HTML5 tags, it’s one of the most important.
SEO doesn’t have to be difficult, but it should be intentional. Incorporating these seven strategies into your site will help you get your content in front of the right audience.
If you’d like to learn more about how WebVolta uses both design and development to improve SEO, contact us to set up a consultation!