Archive for the ‘SEO’ Category

Display 404 page when argument has no results

Recently, I encountered an issue with Drupal Views. I have a view setup to display a list of results when given a name of a taxonomy term. For instance, /viewpath/taxonomy-term returns all nodes that have ‘taxonomy-term’ in their list of associated terms.

The problem is, if you give it a non-existent term as an argument, the default behavior is to simply display a blank page. Not a good experience or SEO practice. More

How many H1 tags per page? One per page

I recently searched for the answer to the question of how and why do you use H1 tags on a page. I’ve long understood that you only use one single H1 tag per page, but I was surprised that even google’s top result for the query doesn’t actually use the H1 anywhere on the page.

For simplicity sake on this blog, I use an H1 tag at the top for my name and H2 tags for posts. On single post pages and content pages, the H1 tag is used for their title and my name switches to an H2 (I rank for Austin Marron no matter what). More