Support » Plugin: All in One SEO Pack » [Plugin: All in One SEO Pack] Problem with Custom Post Type bound Dynamic Pages – giving Nothing fou

  • raistlinthewiz

    (@raistlinthewiz)


    With 3.0.1 installed on my blog, i’ve created up some custom post types with custom taxonomy, all works okay except that i’ve introduced some dynamic pages for my custom taxonomy, where they allow user to browse custom taxonomy content.

    In my custom-post-type declaring plugin’s template redirect’s i’ve defined these dynamic pages.

    if($wp->query_vars['vod']=='browse') include(TEMPLATEPATH . '/vods/browse-vods.php');
                        if($wp->query_vars['vod']=='all') include(TEMPLATEPATH . '/vods/all.php');
                        if($wp->query_vars['vod']=='top') include(TEMPLATEPATH . '/vods/top.php');
                        else include(TEMPLATEPATH . '/vods/single-vod.php');

    Now the problem arrives with this dynamic pages where All-in-one-seo marks them as 404 pages and giving a title of “Nothing found for %request_words%”.

    I’ve tried hooking the wp_title, but it seems both of these plugins are not using wp_title but instead wp_head, so i can’t change the title’s which probably google marks them as 404 erros and so does not index.

    What i look for is to prevent these plugins or any similar ones to mark them as 404 – how can i flag these dynamic pages as valid-content?

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

Viewing 7 replies - 1 through 7 (of 7 total)
  • raistlinthewiz

    (@raistlinthewiz)

    oh it seems this is dead..

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    AIOSEOP doesn’t use wp_title because every theme doesn’t have that. However, you can use the filter hook aioseop_title_single to modify the title right before it’s displayed.

    I would also be interested to figure out why WordPress thinks these are 404 to begin with. Does the appropriate content show up when you browse to these pages?

    raistlinthewiz

    (@raistlinthewiz)

    yes, the reason it get’s a 404 is it’s because they’re custom pages not bound to content but actually dynamicly generated;

    for ex: http://sc2casts.tv/vod/browse

    if($wp->query_vars['vod']=='browse') include(TEMPLATEPATH . '/vods/browse-vods.php');
                        else if($wp->query_vars['vod']=='all') include(TEMPLATEPATH . '/vods/all.php');
                        else if($wp->query_vars['vod']=='top') include(TEMPLATEPATH . '/vods/top.php');
                        else include(TEMPLATEPATH . '/vods/single-vod.php');
    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    raistlinthewiz

    (@raistlinthewiz)

    i want my codes stay in plugin as this is a plugin. is there any hooks in all in one seo i can get in and fix this?

    Plugin Author Michael Torbert

    (@hallsofmontezuma)

    aioseop_title_single is one of several hooks in AIOSEOP

    raistlinthewiz

    (@raistlinthewiz)

    tried all hooks but couldn’t manage to fix them for ie.:

    else if($wp->query_vars['vod']=='all') include(TEMPLATEPATH . '/vods/all.php');

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: All in One SEO Pack] Problem with Custom Post Type bound Dynamic Pages – giving Nothing fou’ is closed to new replies.