Support » Plugin: Yoast SEO » Remove 'category' from URL / WPML / bug?

Viewing 8 replies - 1 through 8 (of 8 total)
  • LinkeLoutje


    No it does not solve that problem, at least not for both languages. It somehow only fixes the language that is visited first, when I switch language the other doesn’t work etc.



    I have the same problem since the update to wp 3.5.2.

    If the “strip the category base” is ticked, all posts/pages show a 404, in fact, if you go to the wp-admin posts list, no posts show up at all.

    It must be something to do with the category base rewriting in the new version of WP, since I downloaded another category base rewrite plugin, and the result was the same, all pages got a 404.

    Please someone help in fixing this, now all my category pages will be missing for Google…

    Strangely enough, I have another site using the same theme and plugins, which doesn’t experience this. The site which does, has 7000 categories and 55000 posts, I don’t know if that can be of an issue, but it wasn’t until the last WP update.



    I just noticed that a huge error log is created, 2 mb in size, here is a snippet:

    [09-Jul-2013 19:34:46 UTC] WordPress database error MySQL server has gone away for query INSERT INTOwp_options(option_name,option_value,autoload) VALUES ('rewrite_rules', 'a:19585:{s:48:\"(0-9/1349)/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:31:\"(0-9/1349)/page/?([0-9]{1,})/?$\";s:53:\"index.php?category_name=$matches[1]&paged=$matches[2]\";s:13:\"(0-9/1349)/?$\";s:35:\"index.php?category_name=$matches[1]\";s:47:\"(0-9/311)/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:30:\"(0-9/311)/page/?([0-9]{1,})/?$\";s:53:\"index.php?category_name=$matches[1]&paged=$matches[2]\";s:12:\"(0-9/311)/?$\";s:35:\"index.php?category_name=$matches[1]\";s:43:\"(0-9)/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:26:\"(0-9)/page/?([0-9]{1,})/?$\
    It goes on and on for all categories.

    Anyone have any ideas?



    Sounds like your server can’t handle large queries… try saving the permalinks again. It’s the option update for saving the permalinks rewrite structure that failed.



    guitarlesson, I have had problems with Yoast’s stripping of category, on and off, so I just skipped the feature and downloaded another plugin which I now use without ever having any problem.

    WP No Category Base – WPML compatible (



    Thanks for the replies, but no luck.

    – I tried WP no category base already, as well as it’s WPML version, interestingly, they don’t even activate.

    – Saving the permalinks doesn’t help either unfortunately.

    – My server is pretty powerful, it’s a managed hybrid from wiredtree, hasn’t let me down so far.

    What’s interesting about all of this, is that it all started with the latest WP update. I don’t want to revert to an older WP, since I’d be stuck there.



    Resaving the permalinks is indeed not the solution, unfortunately! I’ll have a look at my error log. Can’t tell whether downgrading would be an option since I only started using the categories since the latest upgrade.



    I think downgrading is never is a good option, since newer version always have security fixes…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove 'category' from URL / WPML / bug?’ is closed to new replies.