WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Category Permalinks after 3.1 Upgrade Not Working (47 posts)

  1. Robert
    Member
    Posted 3 years ago #

    With the Advanced Permalinks 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.
    Done.

  2. atomicwinter
    Member
    Posted 3 years ago #

    im having the same trouble and i dont know what to do as ive tried every option ive found so far and nothing seems to work. i dont have the simpletags plugin installed and ive tried disabling them all to - with no luck. also tried to delete the .htaccess file and to restore the permalinks to custom and my entries show up but the categories dont. what can i do ?? i have a lot of visitors at the moment and im desperate trying to solve it :(

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    Try the hotfix plugin as well: http://wordpress.org/extend/plugins/hotfix/

  4. atomicwinter
    Member
    Posted 3 years ago #

    nothing :( god!!! this is driving me crazy!!

  5. jfparent22
    Member
    Posted 3 years ago #

    Uber menu seems to cause problems for me.

    http://wpmegamenu.com/

  6. atomicwinter
    Member
    Posted 3 years ago #

    i disabled all of my plugins and nothing, not only the categories posts and entries but the pages are showing up as 404 not found :(

  7. estern23
    Member
    Posted 3 years ago #

    I am in the same boat as @atomicwinter.

    I have done everything and anything to try to get this to not resolve to a 404 page. I have tried so many things. I hope that anyone finds out how to help us out soon.

  8. popac
    Member
    Posted 3 years ago #

    Simple Tags is the problem, deactivate it and wait for update.

    For me, all working now.

  9. estern23
    Member
    Posted 3 years ago #

    I have no plugins installed or activated. I deleted them all to try to narrow down the issue. Plus it was a brand new install of wp where it only had the two default ones, Akismet and Hello.

    Any other ideas out there?

  10. richstrauss
    Member
    Posted 3 years ago #

    Hi,

    Hope this will help someone:

    I have WordPress in a subfolder.

    In the site root I have static shtml pages, on which I run the RSS2HTML script -> http://www.feedforall.com/download.htm - to extract CATEGORY RSS feeds from my WP install to the static shtml pages with Server Side Includes (SSI).

    So I have in any given shtml page a <!--#INCLUDE VIRTUAL="rss2html.php?TEMPLATE=my-template.html&XMLFILE=http://www.mysite.com/wpfolder/category/category-name/feed/&MAXITEMS=5" --> tag.

    I scratched my head until I found this thread, because while setting this up and testing, the category RSS feeds displayed the entire feed, all categories included.

    So, now I have disabled Simple Tags, and FINALLY, my category feeds come up by category.

    I then enabled Simple Tags again, and unchecked ( Active tags for page ) as kadiko suggested.

    All fine now. Cheers.

  11. estern23 - I have to ask WHAT did you do? Cause there's a lot that you may have done, and believe it or not, 'everything' is vague.

    Also, folks, this topic is marked RESOLVED which means we are NOT actively patrolling it anymore. Make a NEW topic, list what you've done, list your plugins, etc etc.

  12. estern23
    Member
    Posted 3 years ago #

    Hi Ipstenu,

    Sorry for being vague... I have posted like 10 places over the net for a fix. This was the only post where i did not post my details. Here is what i have done and what the issues that i have are:

    Background:
    I heard from users that categories ( the_category() in the loop ), post linking ( the_permalink() in the loop ) from index and categories sidebar ( using wp_list_categories() ) bring up 404 pages. I am using the custom permalink structure of /%category%/%postname%/ (which i thought was the most popular way, and featured on the wp help page).

    What I have done so far:

    - Started off by doing a clean install (new db, new folder on my dev server). Downloaded wp 3.1 and installed it in the new folder via my FTP client. Did the normal setup that i do all the time (100s of times before). Things were functioning from a wordpress standpoint except for the stated issues above (category and post pages getting 404s).

    - So since it was a clean install there were no plugins that might be causing the permalink issues. But i went ahead and deleted the two default ones that come with WP 3.1 just to make sure (even though they were still disabled). Still getting 404s.

    - So then i proceeded to do the suggested .htaccess delete and respawn action. Did this as described by many sites and still had the same issue. I did this like 10 times.

    - So i was starting to think it was my theme... So i turned off my theme and reverted to the default (twenty10 theme). Keeping my permalinks set to /%category%/%postname%/. The same issue was happening with this theme. So this is what made me think that it was not my theme and more of a WordPress 3.1 issue.

    - If i set my permalinks back to default, they of course work fine, but i have thousands of people using my theme and use the custom permalink structure. So I am afraid that those people are a.) going to have broken sites if they upgrade and b.) have broken links if they revert to the default permalink structure.

    - I tried to install the hotfix plugin and that did nothing.

    - I made sure that my code was not chaining permalinks like some of the plugins that were causing the issues. Nothing there to cause my troubles...

    The only other step that i have not done was install another instance of wp 3.1 in a completely different folder on my server... I was saving this as a last effort if there wasnt a fix that someone uncovered.

    So that is where i am and what i have done. Hope that this is clear and links you to a possible solution.

    Regards

    -estern23

  13. Right. You did miss some steps :)

    http://wordpress.org/support/topic/troubleshooting-wordpress-31-master-list

    LINKS GOING 404
    You may need to let WP regenerate your .htaccess.
    Read http://dre.im/if-pages-return-a-404-after-wordpress-3-1-upgrade

    Plugins cause this too. Especially anything screwing around with permalinks or rewrites.

    FV Top Level Categories seems to have helped some people, while others have success with the Permalink Fix & Disable Canonical Redirects Pack plugin.

    Note - Simple Tags has issues with 3.1. so deactivate it or turn off 'active tags for pages'

  14. estern23
    Member
    Posted 3 years ago #

    I did state that i tried this method as well with no luck...

    And as stated i have 0 plugins that would be causing the issues...

    -estern23

  15. Did you INSTALL the FV Top Level Categories or Permalink Fix & Disable Canonical Redirects Pack?

    That section's a bit unclear, I'll fix it. But. We're saying put those IN your site. See if they fix it.

  16. zamba
    Member
    Posted 3 years ago #

    I'm using Genesis/Lifestyle theme on muultisite. Permalinks are /%category%/%postname%. 24 network blogs in sub-directories of main blog. All fine until the 3.1 upgrade, when all category links went to respective blog home page. De-activated the active checkbox at the top of the Simple Tags settings page and all worked without further action.

    Thanks to all for the tip-off, I was a little concerned. As it was I had to go through all the blogs doing this as I had not network activated the Simple Tags plugin...pita!

    Tony Page

  17. estern23
    Member
    Posted 3 years ago #

    @Ipstenu

    - I installed "FV Top Level Categories" plugin, then tested to see if it did anything. NOTHING different. Then deactivated it.

    - I then installed "Permalink Fix & Disable Canonical Redirects Pack" plugin, then tested to see if it did anything. It is now just keeping me on the home page when i click on post titles, category names.

    - I then tried to have both active to see if they worked together for some reason and got the same result as the second part.

    Still a no go...

Topic Closed

This topic has been closed to new replies.

About this Topic