I am struggling with htaccess redirects from both:
/folder/subfolder/any-value/ and /folder/subfolder/any-value to /another-folder/any-value/
The code below works for
/folder/subfolder/any-value/ to /another-folder/any-value/
But NOT:
/folder/subfolder/any-value to /another-folder/any-value/
RewriteRule ^england/devon-cornwall/(.*)/$ https://www.example.com/large-houses/$1/ [R=301,L]
As an additional crtiera, the URL /folder/subfolder/ should remain untouched.
I have searched high and low to fix the trailing slash issue on the url, but cannot find anything. Please can someone help? Thank you!