Currently migrating page content from one site to a new version in the same CMS. I'm wanting to set up redirects for individual pages like so:
Visitors to: oldpage.html
Automatically redirected to: newpage.html
I understand this is done by setting up a remap in the Web Paths of the newpage.html asset. I have done this, and it doesn't redirect. Reading around I see that the oldpage.html asset has to be trashed for the remap to take effect? Is this correct? I want to archive the old assets, rather than deleting them.
Currently migrating page content from one site to a new version in the same CMS. I'm wanting to set up redirects for individual pages like so:
Visitors to: oldpage.html
Automatically redirected to: newpage.html
I understand this is done by setting up a remap in the Web Paths of the newpage.html asset. I have done this, and it doesn't redirect. Reading around I see that the oldpage.html asset has to be trashed for the remap to take effect? Is this correct? I want to archive the old assets, rather than deleting them.
Many thanks
Archiving the assets won't free up the url, whereas trashing it does. If you move the assets somewhere else or take the URL off the old site you should be able to add remaps for the old urls.
Can I confirm that there's no way to take the URL off the asset without trashing it? It seems strange that there is no functionality to archive a page or site while redirecting to a new one.
Can I confirm that there's no way to take the URL off the asset without trashing it? It seems strange that there is no functionality to archive a page or site while redirecting to a new one.
Removing its old Web Path (ie. the oldpage.html) from the asset using the Web Paths screen will remove its URLs, also.
Also, remaps are based on the entire URL including domain name. If the old pages are sitting on an "archive" site or folder, changing the URL/web path of that may also work. If it's sitting in an archived state in the same folder as your new page, then removing or changing its web path is your best option.
You don't have to trash it. Just remove or change it's web path. Web path is comprised of 2 parts: a. the 'name' on this particular asset, and b. the path to it, dictated by the site asset that this asset is under. So you're options are:
a. Change the value of the web path on the webpaths screen (just add '_old' on the end or something). e.g. will change the bolded part in hypothetical URL below: