Browse: Home / Ms Web Hosting / MS IIS Code/Workaround: how to redirect web visitors to another URL instead of receiving 404?
By admin on October 14, 2011
Hi all-
Thanks in advance for your help! Here’s the skinny on my challenge…
I host my company’s website with an ISP that’s MS IIS (not apache, etc.). The problem is that I want to redirect website visitors to a specific page when they would otherwise get the infamous 404 error.
I understand this is relatively easy w/ other web servers — but not IIS unless I have access to the mgmt console.
Does anyone know of a solution for my problem? I have full access to my web directories/files — but not to the mgmt console.
Thanks!
Richard
Posted in Ms Web Hosting | Tagged IIS, mgmt, ms iis, web servers, web visitors, website |
Incoming search terms:
pligg content management system business directory, Powered By Pligg state police, pligg content management system shoppers drug mart, pligg content management system free internet radio msn, pligg content management system free fitness routines, Powered By Pligg pages business directory, Powered By Pligg drug information, powered by SMF broadband, pligg content management system the pain, pligg content management system free computer software
You need to go in and edit the default 404 page on the server and put a redirect url in it. Then anytime the server returns a 404, it goes wherever the redirect is set to. The pages are in the C:WINDOWShelpiisHelpcommon directory.
The previous answer would work, as long as the server is using an external 404 page and not the IIS embedded one.
If it is using the embedded 404 page, then you’ll have to do a roundabout way to do it… Well, kind of…
Assuming you want to transfer from an old link (or something like site.com/whatever to go to something like site.com/help.asp?var=val&var=val ) then all you have to do is creat an index.html and add your redirect code into that single file.