[thelist] Redirects on IIS for SEO

Anthony Baratta anthony at baratta.com
Wed May 12 13:35:39 CDT 2010


On 5/12/2010 9:09 AM, Todd Richards wrote:
>
> What is the best way to handle this in IIS?  I don't really want to set up a
> bogus file for each of the "bad" pages to do a 301 redirect, and in some
> cases they might have been a PDF file.

Make the 404 page a program page (asp / dotnet) and within that page 
decode the missing page request and route accordingly. Maybe you can use 
the olde directory path to redirect the user to the new section, or if 
it's a PDF route to your PDF page.

This way you only have one page with 404 error logic.


--
Anthony Baratta

"I do not believe in a fate that will fall on us no matter what we do. I 
believe in a fate that will fall on us if we do nothing."
-- Ronald Reagan



More information about the thelist mailing list