A page's address is the first signal it sends about itself. A well-built URL structure makes it easier for search engines to understand your content and shows readers exactly where they are headed. Because news sites publish thousands of pages, getting this right from the start removes a huge amount of later migration and clean-up work.

This article is part of our core publishing infrastructure guide: the SEO-friendly news software guide.

Why URLs Matter for SEO

Google treats the URL less as a ranking lever and more as a hint about meaning and structure. The words in an address give a small but readable clue about what the page covers. On top of that, the URL appears in search results, in the browser tab, and in shared links, so it is something users actually see.

A readable address nudges the click decision in your favour. A link full of numbers and random characters inspires less confidence than one that summarises the topic. That is why URL design is not only a technical choice but also a user experience decision.

What Makes a URL Clean

A good address is short, predictable, and permanent. The principles below apply safely to almost any type of content:

  • Keep it short: a few words that describe the topic are enough; drop anything unnecessary.
  • Use lowercase: some servers are case-sensitive, which can make the same content look like two different addresses.
  • Separate words with hyphens: prefer a hyphen (-) over an underscore as the word separator.
  • Stick to ASCII: convert accented or non-Latin characters to their ASCII equivalents to avoid encoding issues.
  • Drop filler words: connectors like 'and', 'the', or 'a' rarely add value to an address.
  • Avoid parameter soup: use readable path-based addresses instead of long query strings.

Good and Bad URL Examples

Weak URLSolid URL
/index.php?id=8421&cat=3/economy/inflation-figures
/News/NEW-Regulation_2026/politics/new-regulation
/p/00193-a-b-c-d-e-f/sports/derby-result
/category/1/subcategory/9/page/technology/artificial-intelligence

The addresses on the right are shorter, obviously on-topic, and readable by a human. The ones on the left reveal neither the subject of the page nor where it sits in the site.

URL Patterns for News Sites

The most debated question for news content is whether to put a date in the address. There are two common approaches:

  • Dated pattern: /2026/09/28/title — makes the archive order visible, but the date can make older stories look outdated to some readers.
  • Category-based pattern: /category/title — topic-focused, and the address does not age when the content is updated.
  • Flat pattern: /title — the shortest option, but it raises the risk of title collisions on sites with many sections.

Whichever pattern you choose, consistency is the most important criterion. Apply the same logic across the whole site; mixing dated addresses in one section with category-based ones in another makes maintenance harder and disrupts your internal linking.

How to Generate a Slug

The slug is the readable part of the URL derived from the title. Using a consistent transformation chain for automatic generation guarantees the same behaviour across the whole site:

  • Convert the title to lowercase.
  • Replace non-ASCII characters with their ASCII equivalents (e.g. ü→u, ş→s).
  • Turn anything that is not a letter or digit into a hyphen.
  • Trim leading, trailing, and repeated hyphens.
  • Cut the slug to a reasonable length and check for collisions before publishing.
javascript
function makeSlug(title) {
  return title
    .toLowerCase()
    .normalize('NFKD')
    .replace(/[\u0300-\u036f]/g, '')
    .replace(/[^a-z0-9]+/g, '-')
    .replace(/^-+|-+$/g, '');
}
// makeSlug('New Regulation Takes Effect') -> 'new-regulation-takes-effect'

Changing a URL After Publishing

Once an address is published and has picked up external links and social shares, changing it is costly. The old address may still be referenced by other sites, search results, and readers' bookmarks.

If a URL change is unavoidable, set up a permanent redirect (301) from the old address to the new one. This gets the reader to the right page and carries the link value across to the new address. Keep redirect chains short: point an old address straight to the current one.

The best strategy, therefore, is to get the address structure right from the start and avoid needless changes. Because it also affects site speed and caching, treat address permanence as part of your infrastructure decisions: our articles on how caching works and the XML sitemap round out this context. The importance of readable addresses for mobile readers is covered in our mobile-friendliness article.

Quick Checklist

  • Is the address short, lowercase, and hyphen-separated?
  • Is the slug generated from the title through a consistent transformation?
  • Is there a single, canonical address for each piece of content?
  • Is the URL structure applied with the same logic across the whole site?
  • Is a 301 redirect defined for any address that changes?