You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Redirect to URL without trailing slash{path: '(.*)/',action: (context,commands)=>{constnewPath=context.pathname.slice(0,-1)+context.search;returncommands.redirect(newPath);}},
But seems that commands.redirect() does not respect the search. 😕
I would like to have the option to remove the trailing slash, to avoid the SEO duplicate content issue.
When a user go to:
myapp.com/user/abdonrd/
Redirects to:
myapp.com/user/abdonrd
The text was updated successfully, but these errors were encountered: