I want to redirect sevaral URL which have this pattern
domain.com/cat1/cat2/?customize_changeset_uuid=2af74ec4-ebea-450c-ab57-386390c941ae&customize_autosaved=on
to
domain.com/cat1/cat2
So basically iIneed to strip away everything that comes after the /?customize_changeset
The numbers are changing. I figured that this should go into .htaccess, but can't get it working
My tries:
RewriteEngine on
RewriteRule ^/?customize(.*)$ $1
If I do it like this, it also doesn't work
Redirect 301 domain.com/cat1/cat2/?customize_changeset_uuid=2af74ec4-ebea-450c-ab57-386390c941ae&customize_autosaved=on domain.com/cat1/cat2/
Then i tried this snippet
ErrorDocument 505 example.com
without success