Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nicholus Ives 8 posts 78 karma points
    Feb 10, 2023 @ 15:50
    Nicholus Ives
    0

    Add a / slash to the end of the url

    Hello,

    Our SEO company has asked us to add a trailing slash to the end of our urls. We have done this, but someone can still type in the url without the trailing slash and they would like us to add it on.

    So if someone types... https://www.mydomain.com/news

    it becomes ...

    https://www.mydomain.com/news/

    I've tried implementing a rewrite rule in the web.config file, but this just seems to cause one issue after another. Is there a way to do this natively in Umbraco?

    Thanks!

  • Huw Reddick 1932 posts 6722 karma points MVP 2x c-trib
    Feb 11, 2023 @ 09:10
    Huw Reddick
    0

    TBH it is probably easier to remove them entirely rather than try to be consistent in adding them. They have not been an SEO requirement for some time, you just should be consistent.

    https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash

    https://eu.umbhost.net/blog/2021/08/how-to-remove-trailing-slash-in-umbraco-9-rc

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies