Skip to content

Make Your Site Portable By Using Permalinks

View on Twitter

💡 Link to permalinks not URLs:

<a href="/slug-goes-here"> ✅
<a href="https://your-domain/slug-goes-here"> 🚫

If you don't do this and put the site on a new domain, all of your sources will link to pages and files that no longer exist.

You might also like
Protect Against Parameter Pollution in Express Read tip
Prune Docker Objects and Free up Space Read tip
Disable NPM Update Notifications Read tip