Disable trailing slashes
Currently, the plugin always adds a trailing slash to alternate tags (see https://github.com/straube/multiple-domain/blob/master/multiple-domain/MultipleDomain.php#L614). Since not all WordPress installations use trailing slashes -- despite being the CMS's default behavior -- this could be an option. Leaving for users to choose whether they want to have trailing slashed adds to those tags.
One alternative could be checking the current permalink settings and automatically decide to add or not a trailing slash.
Original request:
the plugin is adding a trailing slash to the url given in the meta field (in the rel=alternate tag) even though my website does not use a trailing slash at the end of the URL.
This can potentially create duplicate content issues as Google still sees such urls as distinct. I’ve had to take it off because of that.
Anyway to stop it from adding a trailing slash?
Reference: https://wordpress.org/support/topic/plugin-is-adding-trailing-slash-to-url/