Canonical not showing trailing slash in page source

#48260
  • Resolved Pete
    Rank Math free

    I notice that by default, the default canonical URL under advanced (ie if you just leave the field without adding another URL) then the field default text shows the URL as having a trailing slash.

    However when you look at the browser page source, there is no trailing slash. Why is this?

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.

    Please head over to WP Dashboard > Settings > General and check whether the Site Address and WordPress Address contain a trailing slash. If this is not set then Rank Math will not generate a trailing slash on your canonical links.

    Looking forward to helping you. 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 ‘Canonical not showing trailing slash in page source’ is closed to new replies.