PagePathHistory by Ryan Cramer

Keeps track of past URLs where pages have lived and automatically redirects (301 permament) to the new location whenever the past URL is accessed.

Keeps track of past URLs where pages have lived and automatically redirects (301 permament) to the new location whenever the past URL is accessed.

With the Page Path History module you can move or rename any pages and all the old URLs will redirect to the new, automated behind the scenes, without any thinking on your part.

The Page Path History module keeps track of the previous URLs for any pages that have been moved or renamed. It then sets up automatic redirects (301, permanent) to ensure the old URLs redirect to the new ones. This is best demonstrated by a few examples:


  • Lets say you had the page [u]/about/contact/[/u] and you moved it to [u]/contact/[/u]. With the Page Path History module installed, anyone accessing [u]/about/contact/[/u] will get redirected to [u]/contact/[/u].

  • You had a page called [u]/our-products/[/u] and you renamed it to be [/u]/products/. Any accesses to [u]/our-products/[/u] will now get redirected to /products/.

  • Lets say you had the page [u]/our-products/furniture/eames-chair/[/u] and you did like in the previous example and renamed [u]/our-products/[/u] to be [u]/products/[/u]. The [u]/our-products/furniture/eames-chair/[/u] URL will now redirect to [u]/products/furniture/eames-chair/[/u] (and likewise for any other URLs under the /furniture/ structure).

  • Later on you decide to rename [u]/products/[/u] to just [u]/inventory/[/u]. All the [u]/our-products/[/u] and [u]/products/[/u] URLs will continue to work with redirects.

  • You decide that eames-chair really belongs in [u]/chairs/[/u] rather than [u]/inventory/[/u], so you drag it to [u]/chairs/eames-chair/[/u]. It's old URLs redirect to it's new URL.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • ProcessWire 3.0.185 (dev) core updates, plus new Session Allow module— More
    17 September 2021
  • Three new ProcessWire Textformatter modules: Find/Replace, Markdown in Markup, and Emoji— More
    3 September 2021
  • This week we have a new master version released after a year in the making. With nearly 40 pull requests, hundreds of new additions and more than 100 issue reports resolved, this new version has a ton of great new stuff— More
    27 August 2021

Latest news

  • ProcessWire Weekly #384
    In the 384th issue of ProcessWire Weekly we'll cover the latest core updates, introduce a new module called Session Allow, and highlight a new site of the week. Read on!
    Weekly.pw / 18 September 2021
  • ProcessWire 3.0.184 new master/main version
    This week we have a new master/main version released after a full year in the making. As you might imagine, this new version has a ton of great new stuff and we’ll try to cover much of it here.
    Blog / 27 August 2021
  • Subscribe to weekly ProcessWire news

“I am currently managing a ProcessWire site with 2 million+ pages. It’s admirably fast, and much, much faster than any other CMS we tested.” —Nickie, Web developer