Results 1 to 3 of 3
  1. #1

    404 pages - redirect?

    I took over a friend's ringtone website that was going nowhere, wiped everything and just created a general forum.
    The result is now that there are thousands of pages and their URLs that previously contained the ringtones and stuff that were indexed by Google. Around 13000.
    These pages no longer exist. How can I create a redirect for all those pages to the index page of the forum?

  2. #2
    You can add this to your .htaccess file:
    ErrorDocument 404

  3. #3
    Join Date
    Jun 2006
    Use the above if you want to show the homepage AS the 404 page. Eg user goes to they would see the home page at that address.

    If you would like the user, upon going to the invalid URL, to be taken back to the home page at the real home page's URL then add this to .htaccess:
    ErrorDocument 404
    Then create the php file at that address and put this in it:
    PHP Code:
    <?php header("Location:"); ?>

Posting Permissions

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