WordPress Primary Category Changes After Import, Permalink Issue

#413018
  • Resolved Ayush Sharma
    Rank Math free

    Ok my Permalink structure is like this –

    http://www.website.com/category/post-name

    Now, I have two parent categories assigned to a post cat1 and cat2.

    So Permalink structure become

    http://www.website.com/cat2/post-name (i clicked cat2 first that’s why this category is on url and also in RankMath Primary category cat2 selected)

    Later I took backup of my post via inbuilt wordpress export function and got my XML file.
    also took backup of Rankmath via Inbuilt Export function.

    I deleted wordpress and installed from scratch and imported the XML file via Tools > import and
    RankMath json File but now Permalink changes to

    http://www.website.com/cat1/post-name

    How to fix this. Please help.

Viewing 1 replies (of 1 total)
  • Nigel
    Rank Math business

    Hello,

    Thank you for contacting Rank Math for help with setting the correct category slug for using your post primary category.

    Please verify that your primary category was correctly set after importing the post data. You can refer to this guide for how to set primary category: https://rankmath.com/kb/how-to-choose-a-primary-category/.

    If the primary category is already set correctly, then the permalinks are not behaving as expected and we may need to take a 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,

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

The ticket ‘WordPress Primary Category Changes After Import, Permalink Issue’ is closed to new replies.