Remove trailing /connect string using htaccess (301 redirect)
domain.com/x/connect
domain.com/x/y/connect
domain.com/*/connect
I'm trying to remove the trailing /connect and redirect to the URL excluding the /connect.
Can someone please provide the correct htaccess code for this? I've tried but nothing works.
from Recent Questions - Stack Overflow https://ift.tt/2O2bpT6
https://ift.tt/eA8V8J
Comments
Post a Comment