• Hi all wise and reverent wp geeks!

    How do you tweak wp to create category folders without the intermediary ‘category’ folder?

    i.e. (where apple is an example category)
    not wanted: ../category/apple
    wanted instead: ../apple

    I’d like to put all my category folders into my blog’s root! (each category as their own folder instead of a subfolder of ‘category’)

    Most precious knowledge people, thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you search you can find a lot of controversial discussion about it.
    To remove it, you have to modify WP core files.
    The reason it is there:
    yoursite.com/whatever would be “seen” by WordPress as a Page, not as a category!
    You can replace the word “category” with anything you like better.

    Thread Starter mrbloggr

    (@mrbloggr)

    hmmm. thank you moshu. Is there any direction/example threads you can point me to coz my search revealed nothing like what you mentioned. Where’s the controversial discussions? Any discussions around this? Any suggested keywords i can use to search with?

    thanks again!

    Thread Starter mrbloggr

    (@mrbloggr)

    Ok. thanks again moshu.

    I like what nateomedia had to say near the end of the first page of that discussion about nixing wp “Pages” (turning them off) to solve this. I’m self-hosting so I can create static pages anytime i like by myself without the “Pages” feature.

    I think I will live with the bad url scheme and use the word “tag” (a la Technorati) instead of “category”.

    My humble suggestion to wp is to pay more attention to these simplicity and personalization issues which will expand their software’s usefulness.

    Kill Category base!

    Thanks moshu 🙂 you’ve been a great resource!

    Thread Starter mrbloggr

    (@mrbloggr)

    Um, moshu, one last thing please before your incredible help is let go to enlighten other wp newbies like myself…

    I set my category base to “/tag” and my blog’s category urls changed ok to ../tag/.. but the category links are now resolving into a 404 instead of listing posts in the chosen category!?!

    Any suggestions? What’d I miss?

    Thread Starter mrbloggr

    (@mrbloggr)

    I found this in my theme’s (pressrow) archive.php file:


    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h2 class="archive_head">Entries Tagged as '<?php echo single_cat_title(); ?>'</h2>

    Should i replace ‘category’ here with ‘tag’?

    The “tag” replacement of “category” might cause problems IF you are using any kind og tagging plugin or something like that.
    Again, it is confusing for WP that there are categories with url like
    example.com/tag/abcxyz
    and in the same time if your blog is using tags, there might be an address for displaying posts tagged with the “abcxyz” tag – which may or may not be the same as the posts under that category!

    Try to avoid confusing naming habits 🙂

    Generally, one should have only a few categories (not 80), otherwise the whole idea of categorizing things is useless… and for finer filtering tags can be used very well!

    Thread Starter mrbloggr

    (@mrbloggr)

    Yes, I only need a handful of categories, which is why (because they are so few + so important to the site navigationally) i’m attempting to get them the way I want.

    Using the word “tag” did cause the problem so I decided on a little “x” for visual sex appeal (and it worked… 🙂

    So now i’m using the category base ../x/apple

    thanks

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

The topic ‘remove intermediary ‘category’ folder’ is closed to new replies.