DEV Community

Cover image for Is this link canon? Depends on the relationship.
LongYC
LongYC

Posted on • Edited on • Originally published at longyc.com

Is this link canon? Depends on the relationship.

Since I began posting on Medium and DEV Community, I have learned that it's a good idea to let search engines know they are the same content on different URLs. I have also just realised that you could let people read what you wrote on Medium without the paywall, and am a little surprised that HTTP/2 is not enabled by default on AWS CloudFront.

  • HTML: having a canonical link (<link rel="canonnical" href="https://example.com" />) in your HTML helps prevent content duplication in search engines, good for SEO.

  • SEO: to add a canonical link on DEV Community, use the front matter canonical_url. As for Medium - on your post, open up Story settings > Advanced Settings > check "This story was originally published elsewhere" and provide a canonical link.

  • Medium: Friend Link grants free access to your post, find it on your post > Story settings > Promotion > Friend Link.

  • AWS CloudFront: distributions don't support HTTP/2 by default. Check the settings manually, or on CloudFormation, add HttpVersion: http2 to DistributionConfig.

  • Latency: Hibernia Express / GTT Express is a submarine fibre-optic link that provides latency of under 60 milliseconds, which costed hundreds of millions to complete. Latency can be really expensive.

Thank you for reading and do let me know your thoughts about this post. If you want more content like this to be delivered to you, consider subscribing via Substack: smallpotatodev.substack.com

Related Links

Top comments (0)