URLs & Web Fundamentals

What is a permalink?

A permalink, a portmanteau of permanent link, is a URL that is intended to remain unchanged and accessible indefinitely, pointing to a specific piece of content at the same address today, next year, and years into the future. The permanence in permalink is a commitment, the URL will not change, break, or disappear as long as the content exists. Anyone who saves, shares, or links to a permalink can rely on it to navigate to the same content at any future time.

The concept of permalinks emerged from the early blogging era, when content management systems began generating dynamic websites where content addresses were not obvious from the site’s underlying structure. Early blog platforms generated URLs like example.com/?p=123: where the numeric identifier was database-specific and the URL communicated nothing about the content. Permalinks were the alternative, stable, readable, content-descriptive URLs that identified posts by their title or slug rather than by a database ID.

A permalink is not just a URL that happens to have stayed the same, it is a URL designed and committed to permanence from the outset. The design decisions that make a URL a good permalink, descriptive but not date-bound, based on stable content attributes rather than volatile metadata, independent of implementation details, are different from the decisions that produce any functional URL. Permalink design requires anticipating how content and site structure might evolve and choosing URL formats that will remain appropriate regardless of those changes.

What makes a good permalink

Permalink quality is determined by how well the URL satisfies two requirements simultaneously, descriptive enough to communicate meaning and stable enough to remain unchanged through the natural evolution of a site and its content.

Descriptive and readable: a good permalink communicates what the content is about at a glance. example.com/blog/redirect-management-guide is descriptive, a reader or search engine can infer the content topic from the URL alone. example.com/blog/?p=4532 communicates nothing. Descriptive permalinks provide minor SEO keyword signals and earn more trust and clicks when shared, users are more confident following a link that tells them what to expect.

Based on stable content attributes: the URL slug should be derived from the most stable aspect of the content, its core topic or purpose, rather than from attributes that may change. The topic of an article about redirect management is stable, the URL /redirect-management-guide will remain appropriate for that article indefinitely. The publication date is volatile, /2024/01/15/redirect-management-guide requires a new URL if the content is substantially revised and republished, and may feel outdated as years pass.

Independent of implementation details: good permalinks do not expose technical implementation details that may change. /products/blue-widget is implementation-independent. /index.php?product_id=4532 exposes the PHP implementation and the database ID, both may change when the platform is updated or products are reorganised. Implementation-independent URLs remain valid through technology migrations and database reorganisations.

Avoiding volatile metadata: content metadata that changes over time should not appear in permalinks. Author names, an author may leave the organisation. Category paths, categories may be reorganised. Sequential post numbers, numbering systems may change. Status indicators, draft, preview, published: status changes. Any metadata that is likely to change over the life of the content is a poor permalink component.

Appropriate length: permalinks should be as short as possible while remaining descriptive. Verbose slugs generate long URLs that are harder to share and remember. The content’s primary identifying phrase, two to five words capturing its core topic, is usually sufficient for a good permalink slug without excessive length.

Permalinks in content management systems

Content management systems implement permalink functionality as a core feature, providing configuration options for how permanent URLs are structured and managing the relationship between content and its permalink.

WordPress permalink settings: WordPress provides multiple permalink structure options through its Settings > Permalinks interface. The default setting, ?p=123: is the least permalink-like option. Alternative structures include:

Plain, ?p=123: database ID, not a permalink in the meaningful sense. Day and name, /2024/01/15/sample-post/: includes date, creates date-dependency. Month and name, /2024/01/sample-post/: includes month and year. Numeric, /archives/123/: sequential number, not descriptive. Post name, /sample-post/: slug only, the cleanest permalink structure. Custom, configurable structure using available tags.

The post name structure, /slug/: is generally the best permalink option for most sites. It is descriptive, date-independent, implementation-independent, and short. The day-and-name and month-and-name structures are common for news sites where date context is meaningful and content is expected to be time-specific rather than evergreen.

CMS slug management: every CMS that implements permanent URLs provides a slug field, the editable component of the permalink that identifies the specific content. The slug is typically auto-generated from the title at creation, A Complete Guide to Redirect Management generates the slug a-complete-guide-to-redirect-management. Editorial review and trimming of auto-generated slugs before publication, removing stop words, shortening verbose titles, is worthwhile practice.

The slug should be set thoughtfully at creation and then left unchanged. Some CMS platforms, including WordPress, provide redirect functionality when slugs are updated, automatically creating redirects from old slugs to new ones. This redirect creation is useful when slug changes are necessary but does not eliminate the equity loss from the change.

Permalink structure consistency: the permalink structure chosen for a CMS should be consistent across all content of the same type. Mixing permalink structures, some posts with date prefixes, others without, creates inconsistency that complicates redirect management and canonical URL signals. Choose one structure and apply it uniformly.

Permalinks and SEO

Permalink design decisions have direct SEO implications, both through the keyword signals in the URL and through the stability that preserves accumulated equity over time.

Keyword signals from descriptive permalinks: descriptive permalink slugs incorporate target keywords naturally. example.com/redirect-management-guide contains the keywords redirect, management, and guide in the URL, minor relevance signals that complement the page’s content signals. Machine-generated permalinks, example.com/p/4532: provide no keyword signals from the URL.

This keyword signal from permalinks is modest, it contributes marginally to relevance assessment but is far less important than content quality, backlinks, and other major ranking factors. The primary permalink SEO benefit is not the keyword signal but the stability that allows SEO equity to accumulate and persist over time.

Accumulated equity at stable permalinks: the most significant SEO benefit of stable permalinks is the accumulation of link juice over time. A well-designed permalink that remains unchanged for years accumulates backlinks, PageRank, user engagement signals, and crawl frequency improvements over its entire lifetime. A page at the same URL for five years with 200 backlinks pointing to that specific URL has accumulated substantial equity at that permalink.

When a permalink changes, even with a correctly configured 301 permanent redirect: some equity is lost in the redirect hop. The new URL starts slightly below the old URL’s peak performance and must rebuild through additional backlinks and signals. The longer a permalink remains stable the more equity it accumulates, making stability itself a compounding SEO asset.

Date-based permalinks and content freshness signals: permalinks containing dates, /2024/01/15/article-title: communicate when content was published. This date visibility can be a positive freshness signal for time-sensitive content, news, current events, where recency is relevant. For evergreen content, guides, reference material, tutorials, date-based permalinks may signal staleness as years pass, potentially reducing click-through rates for content that remains accurate and valuable but carries a visible old date in its URL.

Removing date segments from permalinks when migrating from date-based to date-free structures requires comprehensive redirects: every old date-based URL must redirect to its clean equivalent. The migration is a worthwhile investment for sites transitioning from time-stamped blog content to evergreen resource content strategy.

Canonical URL alignment: canonical tags should point to the permalink, the permanent, canonical URL for the content. When the canonical tag URL matches the permalink URL there is no ambiguity, the canonical signal and the URL design are aligned. Canonical tags pointing to non-permalink URLs, parameter variants, protocol variants, old slugs, create inconsistency between the canonical declaration and the actual permanent URL.

Permalink changes and redirect management

Despite the best intentions permalinks sometimes change, content is reorganised, platform migrations change URL structures, or deliberate URL improvements are made. Permalink changes create redirect requirements, one of the most frequent redirect management scenarios.

The redirect requirement for permalink changes: whenever a permalink changes the old URL must redirect to the new URL. The redirect is required because:

External backlinks pointing to the old permalink pass their equity to the old URL, a 301 redirect from old to new transfers that equity to the new permalink. Without a redirect the backlink equity is lost.

Users and crawlers who have the old permalink bookmarked, cached, or linked encounter a 404 error rather than the content. The redirect delivers them to the current permalink.

Search engines that have indexed the old permalink must update their index to the new permalink, the redirect signals that the content has permanently moved and triggers the index update.

CMS automatic redirect on slug change: modern CMS platforms and redirect plugins often create automatic redirects when slugs change. WordPress with the Yoast SEO plugin or Redirection plugin creates 301 redirects from old slug URLs to new slug URLs automatically when a post’s permalink slug is updated. This automatic redirect creation closes the gap between permalink change and redirect deployment, but should be verified rather than assumed.

Bulk permalink structure migrations: changing the permalink structure for an entire CMS, removing date segments, adding category prefixes, changing slug conventions, creates redirect requirements for every existing piece of content. A site with 5,000 blog posts migrating from /blog/2024/01/15/article-title to /blog/article-title needs 5,000 redirect rules, one per post, mapping old date-based URLs to clean slug URLs.

Bulk redirect import, deploying a redirect map from a CSV file, enables efficient deployment of large-scale permalink structure migrations. The redirect map is generated by exporting all existing URLs from the CMS and transforming them according to the new permalink structure pattern. Pattern-based wildcard redirect rules, if the transformation follows a consistent pattern, can handle entire structure migrations with one rule rather than individual mappings.

Maintaining old permalink redirects: after a permalink changes the redirect from the old permalink to the new should be maintained indefinitely. External sites that linked to the old permalink may never update their links, the backlinks remain pointing to the old URL indefinitely. The redirect ensures these backlinks continue passing equity to the new permalink. Removing the redirect before all external links have been updated loses the equity from those backlinks.

For high-authority content with many backlinks the redirect from old to new permalink is a permanent fixture, the cost of maintaining the redirect is far less than the equity that would be lost by removing it.

Permalink best practices

Set permalinks thoughtfully at creation: the best permalink is one that never needs to change. Taking time to design a good permalink slug at content creation, concise, descriptive, based on the core topic rather than the exact title, avoids the need for permalink changes later. A post titled “10 Things You Need to Know About Redirect Management in 2024” might have the permalink /redirect-management-guide: a slug that will remain appropriate even after the list count changes or 2024 becomes a past year.

Decouple display titles from permalink slugs: CMS configurations should allow titles to be updated without automatically changing the permalink slug. A post’s title may be A/B tested, improved, or expanded, the display title changes but the permalink should remain stable. WordPress decouples title and slug after the first publication, the slug is set from the original title and subsequently independent. Ensuring this decoupling is in place prevents automatic slug changes from breaking established permalinks.

Establish and document permalink structure conventions: defining clear permalink structure conventions for a site, and documenting them, ensures consistency across all contributors. A convention specifying that blog post slugs should be 3-5 words, lowercase, hyphenated, and topic-descriptive provides a clear standard that produces consistent permalinks without date dependencies or implementation exposure.

Avoid permalink changes for cosmetic reasons: permalink changes for minor improvements, word order changes, stop word removal, slight wording refinements, are rarely worth the redirect overhead and equity transition cost. Reserve permalink changes for situations where the improvement is material enough to justify the disruption.

Monitor permalink health: regularly verifying that permalinks are returning 200 OK responses rather than errors, through uptime monitoring, Google Search Console coverage reports, or periodic crawls, catches permalink breaks before they accumulate significant user experience and SEO damage.

Related terms

Related terms

Ready to keep every link alive?

Ready to keep every link alive?

Ready to keep every link alive?