Support » Plugins » [Plugin: WP Super Cache] and dropdown categories

  • Donncha. I have had problems with my category dropdown for a long time. When I check the widget to use dropdowns, they work just fine, but after a while they stop working, I don’t get the pretty permalink that I use (of course I can’t remember the permalink structure now) and the index is loaded. A couple of days ago I suddenly made a possible link with WP Super Cache (I couldn’t imagine it had anything to do with any problem 🙂 ), I deactivated the plugin and the dropdown still works after a few days. I just use the standard WP category widget, no plugin, no hacks or anything. Do you have any idea why caching a certain category page would break the permalink?

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Roy

    (@gangleri)

    He Donncha is online, let me try to catch his attention.

    Sorry, I don’t know why it doesn’t work.

    Thread Starter Roy

    (@gangleri)

    Anything I can try? It’s not WP related, since I’ve noticed it since 2.5. I use post-id/postname for permalink, I haven’t tried if it makes a difference if I use another one (but I don’t really want to either). Does a permalink get cached with the page?

    I’d like to chime in with similar issues using Super Cache 0.8.8 on WP 2.7.

    I’ve turned off the plugin for the time being. While 0.8.8 was running, when a category was selected from the pulldown, it would no longer redirect to the preferred category structure. In other words, instead of opening
    http://www.upgradetravelbetter.com/category/airfare/
    it would open
    http://www.upgradetravelbetter.com/?cat=57
    as a link. There would be no redirection to the desired link architecture.

    As an added bonus, the content of the ?cat=57 link would not actually be the /category/airfare/ content. ?cat=57 would display the homepage’s posts, without regard to category.

    I have turned off 0.8.8 for the time being and am considering rolling back to an earlier version, to see if that works better. I was having other (related?) issues with 0.8.8 and 0.8.7, in that expired pages weren’t being deleted. I’ve searched the forums and have seen others reporting similar problems, but I haven’t found any solution that works.

    Any ideas?

    Thanks for all your help, and the work you do on this and other plugins, Donncha!

    Thread Starter Roy

    (@gangleri)

    Well, it seems the problem occurs when a cached page expires (or is deleted automatically?) and only when I use the dropdown, when I use a category link from a post, things are just fine. Like the previous responder says, the link goes to default instead of “pretty” and fails to load.

    I believe I’ve solved this. I created a separate “sandbox” installation of the site and tried to duplicate content, plugins, etc. as much as possible. I compared the .htaccess files between the two sites.

    In the version of the site that wouldn’t handle dropdown categories properly when super-cache was running, there was junk in the .htaccess file. Some (all?) was left over from a plugin I had uninstalled a few weeks ago. (It was the Subscribe to Comments plugin, fwiw.)

    I deleted this from the first line of .htaccess:

    AddHandler application/x-httpd-php4 .php

    and then removed this, which appeared twice:

    RewriteCond %{QUERY_STRING} !.*p=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*

    Knock on wood, things are working again. For example, /?cat=57 now correctly redirects to /category/airports/ and displays the proper content. Yay.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Super Cache] and dropdown categories’ is closed to new replies.