icesar (@icesar)

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

  • icesar
    Member

    @icesar

    Thanks for all the help so far guys. I think I know what the problem is now. Since the site is integrated with WP, I’m using the WP headers, which are responsible for throwing the 404 error even though the page generates fine.

    The relevant discussion on this forum is here.

    I still haven’t fixed the problem though. Should I give up on using a single header for both WP and BBPress? Is the plugin fix suggest the best bet? Other ideas?


    icesar
    Member

    @icesar

    Interesting…I’m still having the same problem, and I also had to apply the custom stripslashes filter. Could that have something to do with it?


    icesar
    Member

    @icesar

    Thanks for the reply Chris. Yes, I’m using 2.3.3 right now. The content of the plugin code is exactly as above:

    function mbob_flush_rewrites() {
    global $wp_rewrite;
    $wp_rewrite->flush_rules();
    }
    add_action('init', 'mbob_flush_rewrites');

    function mbob_add_rewrites($wp_rewrite) {
    add_rewrite_rule('forums/topic', 'forums/topic.php');
    add_rewrite_rule('forums/forum', 'forums/forum.php');
    add_rewrite_rule('forums', 'forums/index.php');
    $wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
    }
    add_action('generate_rewrite_rules', 'mbob_add_rewrites');

    And I’m not getting a specific error really. Simply that when I upload no404s.php with this code to my wp-content/plugins directory, there is no listing in the Plugins tab to even activate it.


    icesar
    Member

    @icesar

    So close! I have this same issue with my regular installation of WP, and I only realized today (after 3 months) that this is the reason my forums – http://argentinastravel.com/forums/ – are not getting indexed!

    I tried creating a plugin from the code above, but I couldn’t activate it. Can someone please help me with a step by step fix for a regular WP install? Gracias!

    Oops… looks like links work find here. In our forums, everything after the “a” gets removed from the source.

    Hey all, thanks for all the feedback. I am using the sitemap plugin, and I did include the /forums/ in it.

    I looked a little closer in Webmaster Central, and it turns out that the /forums/ section is sending a “404 not found” header!! That’s the actual problem.

    What could be causing that?

Viewing 6 replies - 1 through 6 (of 6 total)