WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. seeARMS
    Member
    Posted 3 years ago #

    Hello:

    I upgraded to 3.1 from 3.05 today, and I encountered 2 problems after the update:

    -Custom permalinks with %category% did not work; they returned 404 errors on all my articles. Simple removing the %category% solved this error, however I'd much prefer keeping it.
    -I'm unable to access my category page (ie digitwo.com/category/uncategorized). Prior to the update I was able to access it at digitwo.com/content/category/uncategorized. However, now I'm unable to access it at all; any attempt ends up in a 404 not found error.

    I've tried many combinations, and have even changed the Category base setting in Settings > Permalink Settings to content, category, etc, but to no avail.

    The website in question is http://digitwo.com.

    Also, I forgot to add, my .htaccess is writable, and I've tried renaming / recreating it but it still refuses to work.

    Any help is appreciated,
    Thanks.

  2. Jonas Grumby
    Member
    Posted 3 years ago #

    The URLs work if you remove /content from them. It looks like you are using custom page templates to display posts on pages. It may be hard-coded into those templates. Just a guess.

  3. seeARMS
    Member
    Posted 3 years ago #

    I did hard-code it into the templates (well, the menubar at least).

    I'm referring to, for instance, when you click on "Articles" on the menu bar. This should lead to the category which displays all posts which belong to this category.

    Removing /content does not work. (ie http://digitwo.com/category/articles/ instead of http://digitwo.com/content/category/articles/)

  4. Jonas Grumby
    Member
    Posted 3 years ago #

    Clicking Articles on the menu takes you to

    http://digitwo.com/content/category/articles/

    If you remove /content from that URL, the breadcrumb still says 404 and the title says nothing found, but the page displays.

    Clicking the Articles link above a story takes you to

    http://digitwo.com/category/articles/

    So you have something going on there that I would guess is in your theme coding because your link structures within the site don't match.

    You also have some problems in your CSS with your floated divs not being cleared and becoming indented and then they are too wide for the column and overlap into the next column. You can see this on that page.

    I'd imagine you may not want to try this on a live site but you may want to switch to the Default theme for a few seconds and see if that fixes your Permalink problems. I think the problems are in your theme.

  5. seeARMS
    Member
    Posted 3 years ago #

    Alright, well if I switch the permalinks to "default", then everything works perfectly. Any idea what would be causing this problem? This shows it isn't the theme that's the problem.

    Also, the page you were referring to (http://digitwo.com/category/articles/) is the default page for a 404. It's not the correct Articles page.

    The CSS problems have never occurred before, and have been fixed when I switched the permalinks.

    Thanks for your help.

  6. OzPoker
    Member
    Posted 3 years ago #

    Same thign happened to me.

    All /category/ links are defaulting to the home page as are /tags/

  7. OzPoker
    Member
    Posted 3 years ago #

    Happened to me too

    All /category/ links are defaulting to the home page

    As are all /tags/

    http://www.australianracinggreyhound.com/category/greyhound-racing-tips/

  8. Jonas Grumby
    Member
    Posted 3 years ago #

    Sorry I couldn't help solve it.

  9. keesiemeijer
    moderator
    Posted 3 years ago #

    Have you tried:
    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    - switching to the default theme to rule out any theme-specific problems?
    - re-saving your permalink structure at Settings/Permalinks in your admin panel. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

  10. OzPoker
    Member
    Posted 3 years ago #

    Actually it looks like /tags/ are working but the /category/ defintiely aren't and turning off the admin bar and updating permalinks hasn't fixed it.

  11. OzPoker
    Member
    Posted 3 years ago #

    It is not a plugin as the rss feed is borked up too

    It is supposed to just take posts from this category
    http://www.australianracinggreyhound.com/category/australian-greyhound-racing

    but is taking them from all categories
    http://www.australianracinggreyhound.com/category/australian-greyhound-racing/feed

  12. OzPoker
    Member
    Posted 3 years ago #

    Exactly same error on another site too - running diff. theme and plugins

  13. jmbis
    Member
    Posted 3 years ago #

    I have the same issue with the category.
    When I use no permalinks, it works...

  14. OzPoker
    Member
    Posted 3 years ago #

    Okay I have tested a different site as well and I can confirm that both simple tags plugin and advanced permalinks plugins both cause this issue.

    Deactivating both of them and updating permalinks solved the problem on that site.

  15. seeARMS
    Member
    Posted 3 years ago #

    @Oz

    I don't have any plugins which modify permalinks in any way, so that isn't the cause of my problem.

  16. OzPoker
    Member
    Posted 3 years ago #

    I can definitely confirm simple tags plugin alone was causing the issue on one site

  17. kadiko
    Member
    Posted 3 years ago #

    Simpletags plugin is the problem.
    uncheck ( Active tags for page ) and everything will be ok.

    I had the same problem in my website Online Best Videos yesterday.

    Hope it will solve your problem.

  18. OzPoker
    Member
    Posted 3 years ago #

    Thx Kadiko

    I was able to rectivate simple tags by doing that.

  19. kadiko
    Member
    Posted 3 years ago #

    You welcome OzPoker .

  20. seeARMS
    Member
    Posted 3 years ago #

    Again, I disabled all my plugins.

    I fixed it by doing the following:
    -Disabled my plugins
    -Letting WP regenerate .htaccess
    -changed my permalink setting to /%monthnum%/%day%/%category%/%postname%/

  21. seeARMS that's the right way for it.

    Basically, you need to let WP regenerate your .htaccess. Read this for more details:
    http://dre.im/if-pages-return-a-404-after-wordpress-3-1-upgrade

  22. goddess_dix
    Member
    Posted 3 years ago #

    Thanks for the Simple Tags tip. That solved my issue.

  23. kalpesh.mistry
    Member
    Posted 3 years ago #

    Oh... I was trying solving the issue since the update came. I'll try the above solutions for my site techit.in ... hope it works

  24. kalpesh.mistry
    Member
    Posted 3 years ago #

    now this is a funny part. .htaccess file is disappeared, where the hell did it go?!

  25. kalpesh.mistry
    Member
    Posted 3 years ago #

    I tried everything, doesn't work for me. All categories and tags showing the 404 error, posts are seen uncategorized, category page may sometime appear with all categories and sometimes nothing. PLS H.E.L.P!

  26. kalpesh.mistry
    Member
    Posted 3 years ago #

    I tried everything, doesn't work for me. All categories and tags showing the 404 error, posts are seen uncategorized, category page may sometime appear with all categories and sometimes nothing. PLS H.E.L.P!

    Any way to downgrade from 3.1?

  27. kabitzin
    Member
    Posted 3 years ago #

    Simpletags plugin is the problem.
    uncheck ( Active tags for page ) and everything will be ok.

    This fixed the problem for me as well.

  28. OzPoker
    Member
    Posted 3 years ago #

    I think you need to make sure you update permalinks after each change you make.

  29. teleanu
    Member
    Posted 3 years ago #

    I uncheck "Activate tags for page" in Simple Tags plugin and everything is back to normal. I had the same problem with my permalinks for categories. Good thread. Thank you a lot.

  30. dandr69
    Member
    Posted 3 years ago #

    Simple Tags it is. Deactivate - rebuild permalinks - now it works.

    The category RSS is still not working well...

Topic Closed

This topic has been closed to new replies.

About this Topic