BUG: Link of the post changes when editing an existing post

#91314
  • Resolved Deepak
    Rank Math free

    Hello Team,

    I don’t have the exact steps to reproduce but with the RM 1.0.48.2 I am facing this issue.

    I had created few posts and had defined custom permalink using the Rank Math options within the post and saved the draft, next day I re-opened the same post and did some modification and published the post.

    I had used the permalink(which I had added manually) in some other articles as internal links which were reporting as 404 by SEMRUSH so when I checked, I found out then when I published the post, the permalink has changed to the title of the post

    So I had to create a redirection.

    I have been getting this multiple times now for different posts as I cannot finish a post in one day so every other day when i save the draft, the permalink gets updated to the post title.

    Please let me know if you need any more details

    Regards
    Deepak

    • This topic was modified 4 years, 2 months ago by Deepak.
    • This topic was modified 4 years, 2 months ago by Deepak.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The title of the post can be added as the slug of the post URL. This can be modified by editing permalink in Rank math meta box under General Settings.:
    img

    Please check if this is the case with your post. If not, please try and find a way we can replicate the issue so we can find a way to resolve the same.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Deepak
    Rank Math free

    Hello,

    Yes that is how I add the slug. But it gets changed when I click on “save draft”

    I am using classic editor and this is only seen with the current release I was on.

    Regards
    Deepak

    Alberto
    Rank Math business

    Hello,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    Sorry for the issue you are facing.

    It would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Please let us know if you find the culprit.

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Deepak
    Rank Math free

    I managed to reproduce the issue. It is happening sporadically. Now I cannot say if there is a conflict with any plugin but I have not changed anything in the environment.

    I still use “Disable Gutenberg” to use classic editor as always.

    I started seeing this only with 1.0.48.2 as I publish 20-30 posts per month and I never saw such issue earlier.
    My current RM version is 1.0.49

    I have added the link of the video in sensitive section

    Regards
    Deepak

    Hello

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
    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.

    Deepak
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    It seems to be working fine on our end:
    https://i.rankmath.com/jfAyo3

    1. We released a quick Beta update you can try to see if that helps.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates
    https://rankmath.com/wp-content/uploads/2020/02/Rank-Math-Beta-Testing.jpg

    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard >> Rank Math >> Status & Tools >> Database Tools >> Remove Rank Math Transients >> Remove transients
    https://i.rankmath.com/Pbu5J6

    Please clear the caches from the server and WordPress after updating.

    You can disable the Beta updates once you update to the latest version and the issue is fixed.

    2. Assuming you are using the latest version of all the plugins, themes, and WordPress (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you. Thank you.

    Deepak
    Rank Math free

    Hello Team,

    I am afraid the BETA release also has the same BUG so I will rollback the update now

    The steps I tried:
    1. Updated RM plugin to beta version
    2. Cleared transients in RM
    3. Enabled Troubleshooting mode (switched theme to generatepress, enabled GP premium plugin required for the theme, disable Gutenberg plugin enabled, RM enabled, RM google indexing API enabled)
    4. Writing a new post and after doing all the changes, clicked on publish post and the slug changed again

    Created another video and some more screenshots. Link is shared in the sensitive section

    Hello,

    The login link has expired. Please add an expiry date of 7 days and let us know.

    Looking forward to helping you. Thank you.

    Deepak
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Please check the sensitive data section, the plugin, and the permalink function is working perfectly.

    It has to be a conflict with some plugin or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you. Thank you.

    Deepak
    Rank Math free

    Hi Team,

    It is not so straight forward to reproduce the issue and even I am not sure what I am doing different when the issue occurs.

    I would like to understand the action plan here as we know there is a problem. May be it is a conflict with theme or the Gutenberg plugin.

    But how do you plan to address this? Assuming there is a conflict then what are the next steps as you are not able to reproduce this.

    Isn’t the RM plugin supposed to be compatible be Generatepress theme and disable Gutenberg plugin? Or any other theme or plugin in that matter? And if there is a conflict shouldn’t this be addressed?

    How would it help if I just reproduce this again? Will you know the code which causes this bug? Unless you enable some additional debug logs to understand the root cause?

    Regards
    Deepak

    Hello,

    We need you to pin down the conflicting plugin/theme by following the troubleshooting guide so we can check further.

    Looking forward to hearing from you on this.

    Just enable the troubleshooting mode, then start activating the theme and the each plugin one by one until you can reproduce the error so we can check further.

    Looking forward to helping you. Thank you.

    Deepak
    Rank Math free

    Hi Team,

    I have already done that, the troubleshooting mode was enabled with only two allowed plugins

    1. Generatepress theme
    2. Disable Gutenberg

    If I remove Gutenberg then my post gets publish with Gutenberg editor which I can’t use for my site. So this is my minimal requirement.

    Regards
    Deepak

    Hello,

    Please use the Classic Editor plugin instead of Disable Gutenberg.

    That does the same thing and is maintained properly.

    Let us know. Thank you.

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

The ticket ‘BUG: Link of the post changes when editing an existing post’ is closed to new replies.