pagehive

Clean addresses.

Serve /article/my-title instead of /article?a=my-title.

Updated Guide 7 of 10

What it does

One page can show every article, product or event by reading a value from the address. A clean address rule lets visitors and search engines see /article/my-title instead of /article?a=my-title.

How it looks

It's a redirect rule with status 200: /article/:slug to /article?a=:slug 200. The visitor stays on the clean address and gets the article page.

Good to know

  • Page access applies to both the address and the page, so a rule never opens a restricted page
  • Link previews use the clean address. Opened the old way, such as /article?a=my-title, the preview keeps ?a=my-title, unless the page sets its own canonical link
  • Old ?a= links keep working
  • For an article that doesn't exist, the page can answer Not found. See Pages and partials
  • A site template keeps these rules: its preview and every copy use the same clean addresses

Rules go live with the next publish. See Redirects for the other kinds.