Redirects with + symbol not working

Some of my tags have been picked up by Google with a ‘+’ symbol as the word separator instead of a ‘-’.

E.g. /tags/south+hobart/instead of /tags/south-hobart/.

Both are visible on my site and Google Search Console is considering these duplicate pages.

I tried adding a redirect:

    {
        "from": "/search/south+hobart/",
        "to": "/search/south-hobart/",
        "permanent": true
    },

…but it’s being ignored.

Why is it being ignored?

Can you try escaping the plus?

    {
        "from": "/search/south\\+hobart/",
        "to": "/search/south-hobart/",
        "permanent": true
    },
1 Like

That was it! Thank you very much.

1 Like