Before you ask please READ THIS

Categories on portfolio page > 404

edited April 2012 in Airlock Posts: 20
Hi,

I've just discovered that the categories above an article on a portfolio page send to a 404 page when clicked !
Can you help me ?

Thanks
Propelling Designers is our Fuel!
Visit Design !ndex!
http://design-index.net

Comments

  • I've upgraded to 1.7, doens't work :(
    Propelling Designers is our Fuel!
    Visit Design !ndex!
    http://design-index.net
  • AirAir
    edited April 2012 Posts: 10,970
    Hi. Show me!
    tip: provide some link and examples ;-)
    Post edited by Air on
  • you can check :

    http://design-index.net/sport/
    http://design-index.net/transport/
    http://design-index.net/furniture/
    ...

    This is the same for all my portfolio cat ...

    :(

    It does generated about one hundred 404 errors/day ... What a loss of traffic !
    Propelling Designers is our Fuel!
    Visit Design !ndex!
    http://design-index.net
  • I used the 404 redirection plugin, so, every time you come back to home page, don't forget it is a 404 ;)
    Propelling Designers is our Fuel!
    Visit Design !ndex!
    http://design-index.net
  • AirAir
    Posts: 10,970
    Strange, I thought we have fixed this one. Please send me temporary access to your WP via private message and I will take a look at your settings.

    With regards.
  • AirAir
    Posts: 10,970

    Hi

    Sorry but I can't login with data You provided. Please check it and resend.

    Btw. I see you have made many modifications, but I can't see categories for portfolio to generate error you have written about.

    But I got question. When you where updating to 1.7, are you sure you have copied all changes or you made it manually?

    As far as I remember most important changes to fix portfolio pagination was two things in airlock/advance/apollo13.php


    add_filter( 'post_limits', array( &$this , 'portfolio_post_limits' ) );

    and


        function portfolio_post_limits( $limits ) {
            global $wp_query;
    //        print_r($wp_query->query_vars);
            if( isset( $wp_query->query_vars['skills'] )) {
                $port_limit = $this->theme_options[ 'portfolio_options' ][ 'items_per_page'];
                $paged = get_query_var('paged');
                if($paged != 0)
                    $paged--;
                if( $port_limit <= 0) //fix for crushing categories when limit set to <= 0
                    return;
                $limits = 'LIMIT ' . ($paged * $port_limit) . ', ' . $port_limit;
    //            echo "limits are $limits" . ' qqq' . get_query_var('paged');
            }    
            return $limits;
        }

    Check do you have such modifications in your version

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!