I can't seem to get a .htaccess file to work on a windows IIS6 server for obvious reasons.
I'm only accustomed to linux/apache.
My problem is that when searching my clients site, old links come up to pages that don't exist any longer.
So I'd like a 404 to re-direct the user to the new home page. Like using the header() function in PHP.
I have no clue how to go about this on windows, plus i've heard i may need to use asp.net.
Can someone shed some light?
Use the IIS management console to manage custom error pages.
My hosting company created a web control panel to let customers on shared IIS servers manage their own custom error pages remotely, but I don't know of any way to do the equivalent of a .htaccess file with IIS.
Thanks for the reply, but I believe I found out how.
By right clicking on the site in IIS (left pane) and choosing properties then going to the error tab, you can direct where the 404 points to. This is from research and hasn't be executed yet.