www.webdeveloper.com
Results 1 to 2 of 2

Thread: 404 Error Handler

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    9

    404 Error Handler

    Hello every body. I have a problem, i need your answer
    Example
    My website URL is:

    Code:
    www.website.com/aaa/bbbb
    when i go to link
    Code:
    www.website.com/aaaccc/bbbb
    "aaaccc" is some prefix or suffix of "aaa"

    When i go to this link, my website will show 404 error page because it's not found

    My question is, how to catch 404 error, and redirect

    from

    Code:
    www.website.com/aaaccc/bbbb
    to

    Code:
    www.website.com/aaa/bbbb

  2. #2
    Join Date
    Aug 2010
    Location
    Dubai UAE
    Posts
    54
    Quote Originally Posted by hoangtucomputer View Post
    Hello every body. I have a problem, i need your answer
    Example
    My website URL is:

    Code:
    www.website.com/aaa/bbbb
    when i go to link
    Code:
    www.website.com/aaaccc/bbbb
    "aaaccc" is some prefix or suffix of "aaa"

    When i go to this link, my website will show 404 error page because it's not found

    My question is, how to catch 404 error, and redirect

    from

    Code:
    www.website.com/aaaccc/bbbb
    to

    Code:
    www.website.com/aaa/bbbb
    Try this one it will help. I did this on my site also here's the linkphp developer dubai Im also anxious about this 404 not found. I did this with the help htaccess
    Last edited by arrielmabale; 08-15-2010 at 01:28 AM. Reason: not enough info

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles