• rockysingh

    (@rockysingh)


    Hello All,

    I have recently started a project in wordpress. Although, I find myself qutie good in wordpress but I am not able to resolve the following issue. So the support of strong wordpress community shall be very much appreciated.

    About My Project
    My Project is about TV Channels & Their shows/actors/videos/galleries etc…

    I wanted the following URL structure for my project that in turn also reveals the organization of code.
    http://www.website.com/<channelname>/<showtype>/<particular post>
    i.e. (www.website.com/foodchannel/shows/chickenmaslashow)

    Where every step is landing page. i.e.
    http://www.website.com/foodchannel is channel landing page.
    http://www.website.com/foodchannel/shows is all shows landing page of this channel.

    So I tried the following setup:
    – I created “post type” for every channel i.e. <channelname>
    – The <showtype> are categories (basic taxonomy in wordpress) that are available in all post types.

    To get the required URL structure. I installed the custom post permalinks plugin.

    The Issue:
    Now, the issue is that my permalink structure is not working even with the custom posttype permalinks plugin. I am getting 404 pages at the following steps:
    http://www.website.com/foodchannel/shows/
    http://www.website.com/foodchannel/shows/showdetail

    My custom posttype code is here. And screen shot of permalinks admin panel screen is here.

    The output of WP Query Objectis here on 404 page. (I printed it to see track the issue)

    I shall be looking forward to your help. Thanks in advance.

Viewing 1 replies (of 1 total)
  • VeritasLeader

    (@veritasleader)

    I’m having the exact same problem. I found that the code i’m using to “separate the blogs” by category is part of the problem. The following code:

    <?php $paged = get_query_var('paged') ? get_query_var('paged') : 1;
        query_posts('cat=-139,-138&paged='.$paged); ?>

    is throwing it off. It worked fine before i upgraded to WordPress 3.1. But now the category and date links either take me to my homepage or give me a 404 error (depending on whether i use the default permalinks).

    Does that help at all? So, i guess i need to find another way to call (or screen out) only certain categories or figure out why this particular code is jacking up my hyperlinks with WP 3.1. Anyone have any ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Plugin Permalinks Are Not Working’ is closed to new replies.