Can anyone help me with this regular expression so I can replace:
This URL:
mydomain.com/artigos/8170-comooool
To:
mydomain.com/blog/817000-comooool
This is:
1: Replace the word `artigos` by `blog`
2: Add two zeros to the 4 digit number after the slash
I tried:
RewriteRule ^artigos(\d{4}-.*) /blog/$1 [R=301,L]
but nothing seems to work.