Difference between revisions of "Permalink"

From Seobility Wiki
Jump to: navigation, search
(Similar articles)
 
Line 83: Line 83:
 
   }
 
   }
 
   </script></html>
 
   </script></html>
 +
 +
{| class="wikitable" style="text-align:left"
 +
|-
 +
|'''About the author'''
 +
|-
 +
| [[File:Seobility S.jpg|link=|100px|left|alt=Seobility S]] The Seobility Wiki team consists of seasoned SEOs, digital marketing professionals, and business experts with combined hands-on experience in SEO, online marketing and web development. All our articles went through a multi-level editorial process to provide you with the best possible quality and truly helpful information. Learn more about <html><a href="https://www.seobility.net/en/wiki/Seobility_Wiki_Team" target="_blank">the people behind the Seobility Wiki</a></html>.
 +
|}
 +
 +
<html><script type="application/ld+json">
 +
{
 +
  "@context": "https://schema.org",
 +
  "@type": "Article",
 +
  "author": {
 +
    "@type": "Organization",
 +
    "name": "Seobility",
 +
    "url": "https://www.seobility.net/"
 +
  }
 +
}
 +
</script></html>

Latest revision as of 16:54, 6 December 2023

Definition

As its name suggests, a permalink is a permanent hyperlink or URL address that identifies a web page. These links are often generated automatically when using a CMS (content management system) or a blogging platform. As such their use is particularly common in blog sites, although by no means exclusive to them.

A permalink typically consists of two parts: one is the domain name and the other appears after the domain and is known as the slug. For example, in www.yourblog.com/your-first-blog-post, the slug would be the part that comes after the forward slash. The slug is made up of a string of characters, which can be words or numbers. If they are words, they usually refer to the page name or blog post title. If they are numbers, they often make reference to the date a link was created or to the ID number assigned to the link by a CMS or by a scripting language.

Difference between permalinks and dynamic links

Permalink
Figure: Permalinks - Author: Seobility - License: CC BY-SA 4.0

A permalink is a static link, which means that its URL address remains unchanged over time. These links keep their name and structure even if changes are made to the content of the page they identify. For instance, in www.yourwebsite.com/blog.html, the URL would remain unchanged even if you edited the content of the blog’s homepage.

By contrast, a dynamic link contains variable parameters. Dynamically generated links are usually created by scripts that have the ability to create database queries. Another difference is that these links tend to be longer than permanent links. In some cases, the URL address will be so long that it is cut off in search results and returns a 404 error if a user tries to open the page by copying and pasting the link address. Moreover, and unlike permanent links, dynamic links often include non- alphanumeric characters, such as %, &, ?, or +.

Permalinks in blogs

Permalinks are a common feature in blog sites, although their appearance may vary. For example, a typical URL address for a blog would be:

www.yourwebsite.com/blog.html

For a standalone blog (not associated with a parent website), a typical URL address would look like this:

www.yourblogname.com

Within the first example, a permalink leading to a blog article would be:

www.yourwebsite.com/blog/your-first-blog-post.html

In the second example, the URL permalink would be:

www.yourblogname.com/your-first-blog-post.html

Two of the most common types of blog permalinks are:

Links describing content, where the string of text after blog/ matches the blog post’s title:
www.yourwebsite.com/blog/how-to-improve-your-blog-ranking.html
Links with an ID, such as:
www.yourwebsite.com/blog.php?artid1

In this case, ‘artid1’ refers to the blog post’s ID number that appears in the database where blog content is stored.

Generally, a semantic description with relevant keywords is often the first choice, depending on the content management system you use. For websites with lots of pages, this can be supplemented by generic number combinations.

In WordPress, for example, the permalink for a new article can be edited right below the title:

Permalinks in WordPress

Screenshot of WordPress

Correct permalink structure and importance for SEO

As a site owner, you should make every effort to ensure permalinks are SEO friendly. This is so because search engines take the URL of a web page into account for indexing and ranking. Moreover, an SEO-friendly permalink is easier to remember for website users, and since visitors can easily get an idea about the content, these permalinks are likely to generate higher click-through rates.

When changing the permalink of a web page for SEO purposes, it is important to add a 301 redirect from the old URL to the new one. If using a content management system, this can usually be done via the permalink settings option. Otherwise, it is possible to redirect a permalink via the .htaccess file.

To improve SEO performance, permalinks should be structured following these recommendations:

  • They should be simple, descriptive, and easy to read.
  • Keywords that are relevant to searches of potential site visitors should appear and be placed in the first few words of the permalink.
  • Ideally, they should have no more than 5 words and contain no stop words.
  • Words should be separated by hyphens, not underscores. Search engines treat hyphens as word delimiters, which is not the case with underscores.

Related links

Similar articles

About the author
Seobility S
The Seobility Wiki team consists of seasoned SEOs, digital marketing professionals, and business experts with combined hands-on experience in SEO, online marketing and web development. All our articles went through a multi-level editorial process to provide you with the best possible quality and truly helpful information. Learn more about the people behind the Seobility Wiki.