There are many old type links:

example.com/old_Supercontent/ example.com/old_Ultracontent/ example.com/old_Megacontent/ example.com/old_Gigacontent/ 

how to properly redirect them to

 example.com/new_Supercontent/ example.com/new_Ultracontent/ example.com/new_Megacontent/ example.com/new_Gigacontent/ 

respectively? Is it possible to write in one line at once for all? Or do you need to write a separate rule for each?

    1 answer 1

    It is possible via RewriteEngine and all addresses from old_* redirect to new_* :

     RewriteEngine on RewriteRule ^old\_([A-Za-z]+)/?$ example.com/new_$1/ [L]