Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • I don’t know why it doesn’t work for me. ??
    I wonder if it’s because I have category base set up as Categories in Permalinks settings?
    i changed:

    $tax_url = parse_url($tax_url);
    if ( ! empty($tax_url['query']) ) { // Custom taxonomies may only be accessable via ?taxonomy=..&term=..
        parse_str($tax_url['query'], $query_vars);
        $redirect['query'] = add_query_arg($query_vars, $redirect['query']);
    } else { // Taxonomy is accessable via a "pretty-URL"
        $redirect['path'] = $tax_url['path'];
    }

    TO

    if (is_tax()) {
        $tax_url = parse_url($tax_url);
        if ( ! empty($tax_url['query']) ) { // Custom taxonomies may only be accessable via ?taxonomy=..&term=..
            parse_str($tax_url['query'], $query_vars);
            $redirect['query'] = add_query_arg($query_vars, $redirect['query']);
        } else { // Taxonomy is accessable via a "pretty-URL"
            $redirect['path'] = $tax_url['path'];
        }
    }

    BUT the problem is still there. does anybody have any other suggestions please?

    Thanks Hugh for your reply. I am using wp 3.1 so I changed the code as per above. in my .htaccess I have:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    My permalinks settings are:
    /%category%/%year%/%monthnum%/%post_id%/%postname%/

    Now when I click on a specific month I still don’t get the results I should, instead I kind of stay on the same page.
    Any other suggestions?

    I have the same problem. I am using WordPress 3.1 and I tried changing the code as per above, but it doesn’t work. I need to have Permalinks on and Category archive to work once a specific month is clicked on. Any ideas anybody?

Viewing 3 replies - 16 through 18 (of 18 total)