yes marius is work
I also found this solution
RewriteRule ^oldcat(/.*|)$ /newcat/$1 [R=301,L,NC]
use like this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^oldcat(/.*|)$ /newcat/$1 [R=301,L,NC]
</IfModule>
I do not know what's the difference but it works with both
I think the first time was a cache issue
thank you marius for your time.