@passmarked/seo
Version:
Rules related to checking for any SEO issues on the page given
21 lines (15 loc) • 1.04 kB
Markdown
HTML5 documents may only have a single title. We don't think having two titles will necessarily impact you too negatively. It is just wrong. It may also be that search engines think you are spamming keywords.
```
<head>
<title>Main Keyword - Second Keyword | The site's brand</title>
<!-- Remove the rest -->
<title>Another title that should not be | The site's brand</title>
<title>This one should also be gone | The site's brand</title>
</head>
```
# How do I fix this ?
You will have to remove all but one of the `<title></title>` tags. Generally if you have more than one title it is probably a symptom of a larger problem. These things tend to be generated and so it stands to reason that they are generated incorrectly. You will have to find out why and hopefully fixing this saves you somewhere else too.
# Resources
* [Moz](https://moz.com/learn/seo/title-tag)
* [hobo](http://www.hobo-web.co.uk/title-tags/)
* [Search Engine Watch](https://searchenginewatch.com/sew/how-to/2154469/write-title-tags-search-engine-optimization)