broken links when removing product and category base

#325892
  • Resolved Jake Taylor
    Rank Math free

    i want to remove the /shop /product and /category prefixes from the urls on my site but when i select the option all my links are broken on the website and return a no results found page.is there a way to repair the broken links ?

Viewing 1 replies (of 1 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us and we regret the inconvenience caused.

    Assuming you’re using the Strip Category Base and Remove Base options to remove the prefixes, after enabling these options, please head over to your WordPress admin area > Settings > Permalinks, and hit the “Save Changes” button (without making any changes).

    Once done, clear your website and browser’s cache and see if that fixes the issue.

    If the issue persists, please take a backup of your .htaccess file and replace it with the default WordPress .htaccess file. You can get the file contents from here: https://wordpress.org/support/article/htaccess/

    You can follow this guide to edit the .htaccess with Rank Math:
    https://rankmath.com/kb/edit-htaccess/

    Once done, again clear your website and browser’s cache and see if the issue is fixed.

    Let us know how that goes.

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

The ticket ‘broken links when removing product and category base’ is closed to new replies.