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
Use Systemd to Manage Processes Read tip
Tiny JSON DB for Quick Prototyping Read tip
Sites-Available vs Sites-Enabled in Nginx Read tip