Product category page URLs are not working properly

#650598
  • Resolved Anonymous
    Rank Math free

    Hello,

    The main language of the site is Bulgarian. English is a second language. I use Polylang plugin for multilingual site. The main pages are made in both languages and everything works fine. The problem comes with the category pages in English. The correct content is not loading. I have posts attached to this category and everyone without uncategorized.
    I updated the theme and plugins and cleared the cache at the caching plugin level and on the browsers I use, but the problem persists. There is no cache at the server level.

    I contacted Polylang support and followed these steps they recommended:
    step 1: deactivate all your plugins as well as your mu-plugins,
    step 2: activate Twenty Twenty (default WordPress theme) + Polylang Pro
    step 3: check that you don’t get your issue anymore
    step 4: if step 3 works then activate your theme then redo step 3
    step 5: if step 4 works then activate your child theme if any then redo step 3
    step 6: if step 5 works then activate your plugins one by one until you reproduce your issue.

    The result is as follows:
    Step 1: I deactivate all my plugins.
    Step 2: I activate Twenty Twenty (default WordPress theme) + Polylang and Polylang for WooCommerce (I don’t have Polylang Pro). I have included a WooCommerce plugin because the problem is with the product category pages.
    Step 3: The problem pages are loading
    Step 4: I activate my theme Divi and redo step 3. The problem category pages are loading
    Step 5: I activate my child theme and redo step 3. The problem category pages are loading
    Step 6: I activate plugins one by one. Enabling Rank Math SEO reproduced my problem. Removed /category-name element from urls by Rank Math SEO. When /category-name is present in the address everything is fine, but when it’s not, apparently the English versions of the category pages break.

    To my question “Is there a way to solve this problem without having /category-name element in urls?”, Polylang support replied: “As you detected, the culprit is Rank Math SEO and you should contact their support.”

    Is there a way to solve this problem without having /category-name element in urls?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    Unfortunately, Rank Math is still not yet 100% compatible with Polylang.

    We have been trying to collaborate with them for a few years but left the conversation when they refused to add the compatibility even though they have it for several other plugins (some of them have a smaller user base compared to RM).

    You can ask if they already have a fix for this. Until they fix this, you will have to disable the Remove Category Base option to access the categories in the secondary language.

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I’m sorry to get such a response.
    Does the WPML plugin have the same problem?

    Regards!

    Hello,

    Thank you for your patience.

    WPML is already compatible with Rank Math, so you can use and follow our guide here:
    https://rankmath.com/kb/multilingual-seo-wpml/

    It will also not create the same issue you have shared due to the Polylang plugin.

    Hope that helps.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Product category page URLs are not working properly’ is closed to new replies.