How to remove BeRockets brands from the permalink URL.

#682489
  • Resolved Anonymous
    Rank Math free

    Hi there,

    We are trying to implement the BeRocket Brands plugin on our site, but it automatically adds ‘brands’ in front of the brand’s base URL.

    Example: http://www.sitename.com/brands/loreal

    We would like to remove the word ‘brands’ from the base URL, preferably using RankMath, but there are no settings to do so

    Images in sensitive data are for references

    Kind regards,
    Raido

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

    We apologize for the inconvenience you are facing with the BeRocket Brands plugin. To remove the word ‘brands’ from the base URL, you can use a filter provided by Rank Math. You’ll need to add the following code to your rank-math.php file or your theme’s functions.php file:

    /**
     * Filter to remove the 'brands' base from the URL.
     */
    add_filter( 'rank_math/woocommerce/brands_base', function() {
        return '';
    });

    This filter will help you remove the ‘brands’ base from the URL. Once you’ve added this code, make sure to save the changes.

    If you have any further questions or need additional assistance, please feel free to reach out to our support team.

    Kind regards,
    Rank Math

    Sources:
    Remove “rank-math-link” Class from All Outbound Links » Rank Math
    How to Disable Custom Product Redirection in Rank Math » Rank Math
    How to Remove the Category Base From WordPress » Rank Math
    How to Remove a Specific Word From Your Permalinks (URLs) » Rank Math

    Anonymous
    Rank Math free

    This is not removing Brands from the BeRocket base URL.

    Hello,

    Thank you for your patience.

    Rank Math has an option to remove the base for categories only:
    https://rankmath.com/kb/remove-wordpress-category-base/

    In this case, you may have to use a permalink manager plugin like https://wordpress.org/plugins/permalink-manager/ to change the permalink structure of your brand.

    Hope that helps.

    Anonymous
    Rank Math free

    Hi,

    Yes, sure.

    Yes, I understand RankMath has only remove woocommerce category base, but could you implement remove Brands as well?

    Best,
    Raido

    Hello,

    Unfortunately, right now it is not possible to remove the /brands/ base by using the Rank Math plugin.

    With that said, your feedback is always valued and we thank you so much for your input. We’ll share this with the concerned team and if this is something we implement in the future, we’ll update it on our changelog: https://rankmath.com/changelog/

    Please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Anonymous
    Rank Math free

    Hi,

    Ok, But is it possible to get some notification when it’s done? I believe it’s not that hard task?

    Best,
    Raido

    Hello,

    The /brand/ base is being added by the BeRocket plugin as a custom post type, so unfortunately, it is not possible to remove this base using Rank Math. You would have to speak with the BeRocket plugin developers for help with this.

    Thank you for your patience and cooperation

    Anonymous
    Rank Math free

    That’s why I contacted you. They said to find a plugin that removes the permalink 🙂 And as I know RankMath removes it for WooCommerce, so I wondered, can you get this to work as well?

    Hello,

    Thank you for checking in to see if we offer this functionality but unfortunately, we don’t. Have you tried using the Permalink Manager plugin we previously suggested?

    Thank you for choosing Rank Math!

    Anonymous
    Rank Math free

    Ok, I will try to find other solutions. Hopefully Rankmath can do it one day.

    Hello,

    We are glad to hear that this issue has been resolved. Thank you for letting us know. This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.

    We appreciate your patience and cooperation throughout this process.

    Thank you for choosing Rank Math.

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

The ticket ‘How to remove BeRockets brands from the permalink URL.’ is closed to new replies.