How to fix the CNC, or do the redirect?

Hello transfer the site to a new cms is indexed publication having a URL in the form
https://site.com/post/id(post)_slug(post).html


The new site has the url of the posts in the form https://site.com/blog/id/

Is it possible using htacess how to redirect old links to new or tell me any solution
P. S google didn't help
March 20th 20 at 11:31
2 answers
March 20th 20 at 11:33
Solution
RewriteRule ^post/([0-9]{1,})_([0-9a-z]{1,})\.the html blog/$1 [NC,R=301,L]
March 20th 20 at 11:35
so it is clear that this is a working version but I have not worked at all revrite
inserted so
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^post/([0-9]{1,})_([0-9a-z]{1,})\.the html blog/$1 [NC,R=301,L]

Find more questions by tags Web Development