Results 1 to 9 of 9

404 setting

This is a discussion on 404 setting within the General Discussion forums, part of the vBSEO SEO Plugin category; There is an option to redirect to the forum home page, or go to the 404 page. Is it advised ...

  1. #1
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,759
    Liked
    1 times
    Blog Entries
    1

    404 setting

    There is an option to redirect to the forum home page, or go to the 404 page.

    Is it advised to redirect 404 errors back to the forum home?

  2. #2
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    I personally redirect 404 Errors back to the forum home, personally just because users tend to leave a website whenever they encounter a 404 error, especially if just reached through a search engine result. Therefore by redirecting to the forum homepage you are retaining some of your possible traffic.

  3. #3
    Senior Member
    Real Name
    Michael
    Join Date
    Oct 2005
    Posts
    1,759
    Liked
    1 times
    Blog Entries
    1
    Is there any concerns with google or the other search engines in regards to this? I would rather have my forums redirecting back to the forumhome as well, just didnt know if it was safe to set it to that, especially considering it is set to "no" out of the box.

  4. #4
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    I know that Google Sitemap throws up an error if you handle 404 errors, by presenting 200 "OK" message with a redirect. But i dont see any evidence to suggest an adverse effect on general ranking and indexation.

  5. #5
    Senior Member
    Real Name
    Future
    Join Date
    Mar 2006
    Posts
    579
    Liked
    1 times
    Blog Entries
    1
    cant your competitors misuse this ?
    re-directing 404 pages to forums or site home.

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    I suggest setting up the following so that you both comply with google wanting a 404 not found header, not a 200 ok, and still displaying the home page.

    Use the "custom" option in the vbseocp to go to a script name like error.php or something...

    then create a new php file, and in that file, paste the following:

    Code:
     <?php
    header("HTTP/1.0 404 Not Found");
    header("Status: 404 Not Found");
    header("Location: http://www.yoursite.com/forumroot");
     ?>

  7. #7
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Quote Originally Posted by Future
    cant your competitors misuse this ?
    re-directing 404 pages to forums or site home.
    in what way?

    if they navigate on purpose to yoursite.com/thispagedoesnotwork they will simply get re-directed.

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Code:
     <?php
    header("HTTP/1.0 404 Not Found");
    header("Status: 404 Not Found");
    header("Location: http://www.yoursite.com/forumroot");
     ?>
    I just realized that this doesn't work... it appears the vbseo redirect already sends a header.

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    When "File not found handler" is set to "custom" in vbseocp, vBSEO doesn't send any headers, leaving this for the custom script.
    However, in your example the headers both include 404 code and "location" for redirect, while it should be either 404 code (file not found) OR 30x code+Location header (redirect).
    HTTP/1.1: Status Code Definitions

Similar Threads

  1. 404 settings
    By briansol in forum URL Rewrite Settings
    Replies: 12
    Last Post: 04-22-2006, 06:09 PM
  2. 404 page
    By Bruceper in forum URL Rewrite Settings
    Replies: 3
    Last Post: 02-24-2006, 01:13 PM
  3. 404
    By Damian Dunlap in forum Troubleshooting
    Replies: 4
    Last Post: 02-17-2006, 06:40 PM
  4. 404 errors
    By T2DMan in forum Bug Reporting
    Replies: 5
    Last Post: 08-16-2005, 08:16 PM

Posting Permissions

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