+ Reply to Thread
Results 1 to 2 of 2

Thread: Redirect Visitors to Homepage When 404 Error is Received

  1. #1
    Barn Loyal todd2006 is an unknown quantity at this point todd2006's Avatar
    Join Date
    Mar 2008
    Posts
    889
    Rep Power
    4

    Redirect Visitors to Homepage When 404 Error is Received

    Hello,

    our website is massive and huge and has over 5,000 pages. We need to find out what links are broken.

    So say for example

    www.cnn.com/mypage.asp

    if mypage.asp is not on the server it gives an error page not found

    is there a way in asp when we get the page not found error we can have customize page displayed or display the front page of the website

    any help is highly appreciated

    thanks

    todd

  2. #2
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    You can do this via IIS by setting up a custom error page to display when a 404 error is received. See here: 15 Seconds : Custom Error Pages with IIS 4.0
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


+ Reply to Thread

Similar Threads

  1. Redirect SSRS URL
    By ChrisMahone in forum SQL Server Reporting Services Help
    Replies: 9
    Last Post: May 6th, 2010, 08:11 AM
  2. help with response.redirect line
    By Rebelle in forum ASP Development
    Replies: 3
    Last Post: August 10th, 2009, 11:41 AM
  3. redirect IF record exists
    By Centurion in forum ASP Development
    Replies: 6
    Last Post: June 4th, 2009, 08:48 AM
  4. Redirect Domain
    By Wolffy in forum Microsoft IIS
    Replies: 3
    Last Post: May 20th, 2009, 02:40 PM
  5. My personal website homepage
    By sbenj69 in forum Website Reviews
    Replies: 19
    Last Post: April 28th, 2009, 04:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO