Removing base, category base and parent slugs breaks the links

#746636
  • Resolved Chin Annie
    Rank Math free

    Hi there, whenever I switching on the options mentioned in the heading, the links break. I´ve looked through your knowledge base and similar support tickets to find a solution but nothing worked so far, hence opened a ticket. I´ve switched off the options for now to keep the site working. Also my site is dual lingual with TranslatePress, and I would like to know whether I have to do some changes to the permalinks and sitemap to optimise multilingual seo. Cheers!

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

    I apologize for the inconvenience you are facing with the broken links when enabling the options to remove the base, category base, and parent slugs. Thank you for reaching out to us about this issue.

    When you enable these options, it can sometimes affect the structure of your URLs and cause links to break. To resolve this, you can try the following steps:

    1. Ensure that the permalinks are set correctly in WordPress settings.
    2. Check if there are any conflicting plugins or themes causing the issue.
    3. Clear any caching plugins or server caches that might be affecting the URLs.

    If the issue persists, please disable the options for now to keep your site working smoothly. Once disabled, your links should start working again.

    Regarding multilingual SEO optimization with TranslatePress, you may need to adjust the permalinks and sitemap settings to ensure proper indexing and SEO performance in multiple languages. You can refer to TranslatePress documentation or reach out to their support for specific guidance on integrating with Rank Math for multilingual SEO.

    If you encounter any further issues or need additional assistance, please reply to this ticket, and a human agent from our support team will assist you promptly.

    Thank you for your understanding and cooperation.

    Best regards.

    Sources:
    WordPress Permalink Structure & Changing Individual URLs » Rank Math
    Rank Math General Settings
    How to Optimize a Category Page » Rank Math
    How to Disable Custom Product Redirection in Rank Math » Rank Math

    I´ve changed the ´Product permalinksto/product/´ in a staging site and also switched on the above mentioned options and it seem to work fine. Does that mean it´s okay to emulate the same in the live site? Thanks

    Hello,

    We are glad to know that you found RankMath Bot’s response helpful.

    Yes, please feel free to emulate the changes from your staging site to the live site, now that you have confirmed that the successful implementation of the new permalink structure helped resolve the issue.

    If the issue persists, please head over to your WordPress Dashboard > Settings > Permalinks and save the settings without changing anything.

    Looking forward to helping you.

    Hi Jeremy,

    Thanks for your prompt reply. It realy does seem to work largely, but one thing I could´t emulate with the staging site is the dual language setup. When I switch on Remove base with WooCommerce settings the translated version gives a page break. TranslatePress plugin is used for the translations. Is there a way around it from your end or should I contact TranslatePress support for a solution?

    Thanks.

    Hello,

    Please note that TranslatePress doesn’t support removing the category base, and we don’t have any option in our plugin to force the translation plugin to use the short permalinks.

    We have already contacted the TranslatePress team to add the compatibility code in their plugin to fix this particular issue, but haven’t heard back from them.

    In this case, you will have to keep the Remove Category Base option disabled to make the categories work in the secondary language.

    You can get in touch with TranslatePress and ask them for an update about this issue.

    Hope that helps.

    Thank you.

    Hello Ike,

    Thanks for your reply and the update on TranslatePress. At the moment I have Remove Category Baseoption switched on and the links seem to work fine in both languages. But whenever I switch on Remove baseand Remove parent slugsoptions, the links to individual products break regardless of the language selected. Is there a way around fixing this?

    Thanks

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    The Remove Category Base option works fine for the categories because the slugs of the product categories are not translated into the secondary language. The URLs without a base will not work in the secondary language if the slug is translated. Since the slugs of products are translated into the secondary language, they don’t work when you enable the Remove Base option.

    We are working on a fix for this and you can keep an eye on our changelog to get notified about the latest features and updates.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thanks for the support. Hope the solution is coming soon!

    Hello,

    We are super happy that we were able to address your concerns.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Removing base, category base and parent slugs breaks the links’ is closed to new replies.