Results 1 to 5 of 5

404 Error With Announcement Links Under Certain Configuration

This is a discussion on 404 Error With Announcement Links Under Certain Configuration within the Bug Reporting forums, part of the vBSEO SEO Plugin category; I'm using vBSEO 3.3.0. I noticed a possible bug. In the config_vbseo.php, disable the forum rewrite but leave the announcement ...

  1. #1
    Junior Member
    Real Name
    Neo
    Join Date
    May 2006
    Posts
    24
    Liked
    0 times

    404 Error With Announcement Links Under Certain Configuration

    I'm using vBSEO 3.3.0. I noticed a possible bug.

    In the config_vbseo.php, disable the forum rewrite but leave the announcement rewrite on.

    define('VBSEO_REWRITE_FORUM', 0);
    define('VBSEO_REWRITE_ANNOUNCEMENT', 1);

    Now visiting annoucement links will get 404 Page Not Found error.

    Please advise,

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Please try to modify vbseo.php file:
    find:
    PHP Code:
    if (!$vbseo_found && !$vbseo_url_suggest)
    {
    if (
    VBSEO_REWRITE_FORUM && 
    an replace with:
    PHP Code:
                    if (!$vbseo_found && !$vbseo_url_suggest)
                    {
                        if ((
    VBSEO_REWRITE_FORUM || VBSEO_REWRITE_ANNOUNCEMENT) && 

  3. #3
    Junior Member
    Real Name
    Neo
    Join Date
    May 2006
    Posts
    24
    Liked
    0 times
    Thank you for prompt response.

    So has this been fixed in 3.3.1 yet? If not, I would wait for the official fix in the next release.

    I'm not actually disabling the forum rewrite while enabling announcement rewrite, so I would leave the code intact.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    That fix will be included in next vBSEO version.

  5. #5
    Junior Member
    Real Name
    Neo
    Join Date
    May 2006
    Posts
    24
    Liked
    0 times
    If I'm not mistaken, your new code is not quite correct. Announcement rewrite shouldn't have anything to do with the forum rewrite. The same for thread rewrite and others. To disable the announcement rewrite, the new code would require the forum write to be disabled as well.

    It should be:

    PHP Code:
    if (VBSEO_REWRITE_ANNOUNCEMENT && 

Similar Threads

  1. Local links become error
    By SMedia in forum Troubleshooting
    Replies: 1
    Last Post: 08-10-2008, 08:45 PM
  2. internal redirects due to probable configuration error
    By DerTobi75 in forum Troubleshooting
    Replies: 3
    Last Post: 11-30-2005, 08:59 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
  •