Advanced permalinks - category links not working (5 posts)

  1. TheOrganicSister
    Posted 4 years ago #

    hey there, i recently installed and began using Advanced Permalinks. Everything seemed to be working fine until someone noticed that my categories weren't working.

    at first they were linking to my homepage (http://theorganicsister.com). i went into AP again and added a category structure (it was blank, as per the instructions that leaving it will blank will result in default structure). now they are all going to a error 404 page.

    ideas as to what is causing this and if there is a fix?

  2. Robert
    Posted 4 years ago #

    It's just a problem with the category rewrites of the plugin.
    So adjust in the normal permalink section the category base as wanted. I hope so you can keep your category urls. Because then it's easy.
    Next edit the plugin Advanced Permalinks, the first selected file is right. Now look in the editor for:
    $this->add_filter ('category_rewrite_rules');
    and add simply
    at the beginning.

  3. Zoe1416
    Posted 4 years ago #

    Once I installed the Advanced Permalinks plugin, my category links didn't work either. Only the second level categories worked.

    I added the // before the $this->add_filter ('category_rewrite_rules');

    And now the categories work... but I am getting duplicate category text. For example, the old category used to be:


    And now, after adding the //
    I get this:


    How do I fix this?

  4. blogodisea
    Posted 3 years ago #

    I had this problem with categories, thanks for the fix, but now i found that statis pages are the same, showing an error blank page.

    ┬┐Does anybody now how to solve it? I think it must be difficult since WordPress shares the %postname% in entries and static pages.

  5. aiweiwei
    Posted 3 years ago #

    it works fine for me after i added the //, thx 4 the tips hartrobert, it saves my day, thx!!! :)

Topic Closed

This topic has been closed to new replies.

About this Topic