Home Better Permalinks

    Better Permalinks


    Linking to another post with a full URL from within your own website is a bad idea. If you change domain name, change the post slug, or just move your website into another directory, your own internal links will be broken. You would then have to go through your entire database and search and replace each and every occurrence of a link.

    We use a fairly comprehensive link plugin for our clients that does all sorts of things: links scheduled posts, attaches favicons to outgoing posts, disables broken links, and more. Referencing the permalink means that the link will always be valid… even if you change your domain, URL structure, slug or installation directory.

    In its simplest form, you may use the following.


    Usage is as follows:

    [permalink id=”1234″]link text in here[/permalink] (where 1234 is the linked post ID). The result is a constructed link.

    See also:

    Our clients should make contact with us if they’re not already using our links plugin.

    Shortt URL for this post: http://shor.tt/1XVo