URL applying rule(s):
https://olddomain.ch/de/qahmkitd73/
https://olddomain.ch/fr/qahmkitd73/
https://olddomain.ch/en/qahmkitd73/
RewriteCond %{HTTP_HOST} chezcamillebloch.ch$
RewriteCond %{REQUEST_URI} ^/.*/qahmkitd73/$ [NC]
RewriteRule .* https://newdomain.ch/$1/qahmkitd73 [NE,R=301,L]
this should redirect to https://newdomain.ch/**/qahmkitd73
the **
should be dynamic from the URL (de/ or en/ or fr/)
2
Answers
You could keep your .htaccess rules file in following manner. Please make sure to clear your browser cache before testing your URLs.
You may use this redirect rule: