Permalinks over writing on header menu – shop menu

#796796
  • Resolved Anonymous
    Rank Math free

    Hi

    A few weeks back we installed Rank Math Pro and added it to Elementor. We have SEO both the pages in WordPress and on the Elementor SEO part.

    For some reason every day the shop menu permalinks get over written. We can refresh the permalinks, but this needs to be fixed before we launch our new website.

    So just to be clear, there are 2 ways we can change the permalink through Rank Math. The first is by editing the page on the backend dashboard – All pages or posts and then update the Edit Snippet and then update the permalink. The other way we did when we installed the Rank Math Pro – which is done through Elementor SEO tab – are you able to help. It only happens on the Shop menu and drop down, but we have not changed the perma links on these pages.

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

    I apologize for the issue you are facing with the permalinks overwriting on the Shop menu in Elementor after installing Rank Math Pro. It seems like the permalinks are getting overwritten daily, causing inconvenience.

    To address this issue, let’s ensure that the permalink settings are correctly configured both in WordPress and Elementor. You mentioned two ways to change the permalinks through Rank Math:

    1. Editing the page on the backend dashboard (All pages or posts) and updating the Edit Snippet to change the permalink.
    2. Changing the permalink through the Elementor SEO tab after installing Rank Math Pro.

    Since the issue is specific to the Shop menu and dropdowns, it’s essential to review the permalink settings for these pages. You can check if there are any conflicting settings or if there is an automated process causing the permalinks to change daily.

    If you are experiencing this issue only with the Shop menu, it might be related to how the permalinks are set up for those specific pages. I recommend checking the permalink settings for the Shop menu pages in both WordPress and Elementor to ensure they are consistent and not being automatically changed.

    If you need further assistance or if the issue persists, please provide more details or screenshots of the permalink settings for the affected pages so we can investigate and help you resolve this issue effectively.

    Thank you for bringing this to our attention, and we’ll do our best to assist you in fixing this before launching your new website.

    Kind regards.

    Sources:
    WordPress Permalink Structure & Changing Individual URLs » Rank Math
    What Is a Slug in WordPress? » Rank Math
    How to Remove a Specific Word From Your Permalinks (URLs) » Rank Math

    Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Did you activate any options in our plugin to perform permalink changes such as removing the category base or product base from WordPress Dashboard > Rank Math SEO > General Settings > WooCommerce?

    That situation usually happens when the permalinks need to be flushed on the website and that could be caused by changes in the permalink structure.

    To get around the issue you can introduce a function to update the permalinks automatically every hour and that should help clear the issue:

    
    add_action('my_hourly_event', 'do_this_hourly');
     
    function my_activation() {
        if ( !wp_next_scheduled( 'my_hourly_event' ) ) {
            wp_schedule_event(time(), 'hourly', 'my_hourly_event');
        }
    }
     
    add_action('wp', 'my_activation');
     
    function do_this_hourly() {
        global $wp_rewrite;
        $wp_rewrite->flush_rules();
    }
    

    Hope this helps clarify the situation and resolve the issue on the website.

    Don’t hesitate to get in touch if you have any other questions.

    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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Permalinks over writing on header menu – shop menu’ is closed to new replies.