Retaining older URLs without generating 404s
Posted: Fri May 05, 2006 7:34 am
This feature will help those who later reorganize their sites as they grow.
With hirerarchical URLs enabled, attempting to access the old pagealiases once they moved to a different location within the menu structure.
For example:
url.com/pagealias.html is now url.com/about/pagealias.html
I would propose intercepting the now invalid url.com/pagealias.html request and redirecting the user to url.com/about/pagealias.html with a 301 code rather than generating 404s and stranding them. Additionally, the default 404 page should be coded with a {sitemap} code by default.
In ideal case, CMS would remember changes to the value of pagealias as well.
With hirerarchical URLs enabled, attempting to access the old pagealiases once they moved to a different location within the menu structure.
For example:
url.com/pagealias.html is now url.com/about/pagealias.html
I would propose intercepting the now invalid url.com/pagealias.html request and redirecting the user to url.com/about/pagealias.html with a 301 code rather than generating 404s and stranding them. Additionally, the default 404 page should be coded with a {sitemap} code by default.
In ideal case, CMS would remember changes to the value of pagealias as well.