Forums

404 on all single post pages (5 posts)

  1. pcheick
    Member
    Posted 1 year ago #

    Hi,
    I did an integration of bbPress (1.0.2) and WordPress and now have a site with 404 errors on all single post pages.
    Front page and archive pages seem to work.
    All content is viewable from admin interface.

    I have tried:
    switching permalinks
    deleting .htaccess
    disabling all plugins

    no success

    Please help.

    Site is here: Vedvarende Energi

  2. larsbachmann
    Member
    Posted 1 year ago #

    Try and delete your htaccess file, and then set your permalinks to default, and back to /%postname%/ or what ever your using.

    Make sure your htaccess is writable.

  3. bobwood
    Member
    Posted 1 year ago #

    Newb question... where is the htaccess file located?

  4. bobwood
    Member
    Posted 1 year ago #

    I should explain some more... I'm having similar issue. In the forums only, when someone tries to reply to a forum, they will receive a 404 error.

    When someone creates a new post in the forums, a 404 will briefly appear until the redirect is complete. Again, this is only in the forums. Blog commments work just fine.

    Visit http://www.fishwrench.com and use:
    user: slopboss
    pass: Skeeter1

    ...if you'd like to test.

    Here is more information about the php settings at my host: http://stats.violet.arvixe.com/phpinfo.php

    Any help would be greatly appreciated.

  5. bobwood
    Member
    Posted 1 year ago #

    I found the answer to my problem on another site. Apparently, IIS still doesn't like permalinks. To fix this, an edit needs to be made to pluggable.php in the wp-admin folder.

    Disable:

    'header(“Refresh: 0;url=$location”);'

    and replace it with:

    'header(“Location: $location”, true, $status);'

    The end code should look like this:

    'if ( $is_IIS ) {
    //header(“Refresh: 0;url=$location”);
    header(“Location: $location”, true, $status);
    } else {
    if ( php_sapi_name() != ‘cgi-fcgi’ )
    status_header($status); // This causes problems on IIS and some FastCGI setups
    header(“Location: $location”, true, $status);
    }'

Topic Closed

This topic has been closed to new replies.

About this Topic