@passmarked/seo
Version:
Rules related to checking for any SEO issues on the page given
19 lines (13 loc) • 688 B
Markdown
The canonical link contains an error. This means the url given in the ```href``` attribute inside of the```<link rel="canonical"``` element has returned an error. The web address is not valid and could not viewed correctly.
```
<html>
<head>
<title>Example Page</title>
<link rel="canonical" href="validurl.com"/>
</head>
</html>
```
# How do I fix this ?
Make sure there are no spelling mistakes in the url and that you can view it in your web browser. If your web server is set to redirect to a different url, we expect an ```OK 200``` code from that web address.
# Resources
* [URL Canonicalization](https://www.mattcutts.com/blog/seo-advice-url-canonicalization/)