• Resolved seeARMS

    (@seearms)


    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 https://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.

Viewing 15 replies - 1 through 15 (of 46 total)
  • Jonas Grumby

    (@ss_minnow)

    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.

    Thread Starter seeARMS

    (@seearms)

    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 https://digitwo.com/category/articles/ instead of https://digitwo.com/content/category/articles/)

    Jonas Grumby

    (@ss_minnow)

    Clicking Articles on the menu takes you to

    https://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

    https://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.

    Thread Starter seeARMS

    (@seearms)

    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 (https://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.

    ozpoker

    (@ozpoker)

    Same thign happened to me.

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

    ozpoker

    (@ozpoker)

    Happened to me too

    All /category/ links are defaulting to the home page

    As are all /tags/

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

    Jonas Grumby

    (@ss_minnow)

    Sorry I couldn’t help solve it.

    Moderator keesiemeijer

    (@keesiemeijer)

    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.

    ozpoker

    (@ozpoker)

    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.

    ozpoker

    (@ozpoker)

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

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

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

    ozpoker

    (@ozpoker)

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

    jmbis

    (@jmbis)

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

    ozpoker

    (@ozpoker)

    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.

    Thread Starter seeARMS

    (@seearms)

    @oz

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

    ozpoker

    (@ozpoker)

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

Viewing 15 replies - 1 through 15 (of 46 total)
  • The topic ‘Category Permalinks after 3.1 Upgrade Not Working’ is closed to new replies.