How to Add a Permalink

How to Add a Permalink thumbnail
Learn how to add permalinks to HTML blog pages.

A permalink is a term for a permanent link to website content. Often, permalinks are associated with blog entries. A permalink makes it possible to reference a particular blog entry long after it has been written and subsequently disappears from the front page of the blog. More specifically, a permalink is a URL that points to a specific blog entry after it has been moved to that blog's archives. It's easy to add a permalink to your blog entries so that others can reference and link to your posts long after they've left your blog's front page.

Things You'll Need

  • Blog software with HTML editor interface
Show More

Instructions

    • 1

      Open the HTML source-code editor for your blog posts. Navigate to the HTML code for the template for your blog so that the permalink code you add will apply to all blog entries you create, making it possible for all of your posts to be linked to and referenced by others. Understand that permalinks are built into common free blogging sites such as Blogger and WordPress, but you will have to add them to your HTML code if you create and maintain your own blog.

    • 2

      Locate the body section of your HTML code by finding the code "</Head>," which indicates the end of the header. Type an anchor tag for your post that your permalink can refer to at the end of each post, such as "<a name="<$BlogItemNumber$>"> </a>".

    • 3

      Find the footer section in your HTML code. Recognize it by a piece of code that looks like "<div class="byline">". Understand that the footer is the space between that code and the piece of code "</div>" tag. Place your permalink here, within the byline space of the footer of your blog post.

    • 4

      Type the code for your permalink in the footer space of your blog template immediately after the "<div class="byline">" phrase as: "<a href="<$BlogItemPermalinkURL$>">#</a> posted by <$BlogItemAuthor$> @ <$BlogItemDateTime$>" Understand that the link will appear to viewers as "# posted by Name @Time." Enter the text that you want to appear in the "#" spot, such as the title of your blog post.

    • 5

      Save and apply your changes to your blog template. Create a new blog entry and publish it to test the appearance of the permalink, ensure that it's working and that it looks the way you want it to. Go back into your source code to make any additional changes as desired.

Related Searches:

References

Resources

  • Photo Credit Comstock/Comstock/Getty Images

Comments

Related Ads

Featured