remove trailing slash from all URLs

  • Hi,

    how can we remove trailing slashes from all URLs?
    Is it possible to use a REGEX to cover all URLs with one redirection?
    I can’t use a .htaccess… so is it possible with Rank Math Redirections?

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • Hello,

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

    Rank Math does not add the trailing slash to site URLs, I can suggest that you head over to your WP settings > Permalinks and if you have a custom structure you can remove the trailing slash from there and click save.

    If the trailing slash is not present, I can suggest that you reach out to your host and seek their help in adding a redirection to remove this.

    Looking forward to helping you. Thank you.


    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 ‘remove trailing slash from all URLs’ is closed to new replies.