Posted on 2004-08-14
I'm trying to find out what the most efficient way is to redirect to pages in this scenario:
The initial website for one of my clients was built in HTML. The client doesn't want the customer to get to a "page not found" error if users access the old urls once the new site goes live.
The only problem with the custom 404 error is that I don't think that I can use CF code on that page, and I need to be able to redirect to a specific page based on the page the user is trying to access (ie, the equivalent .cfm page for the previous .htm page), and if the page didn't previously exist, have the solution redirect to the main index page.
Does that make sense? If so, can anyone offer a suggestion?