Find & Replace In Mysql / 301 Redirect 2

Our site works with php/MySQL

1) I need to change file names that have underscore _ in them to hyphen -. Run find & replace in 7 tables of our MySQL database.

2) We need a 301 Redirect from any file name that has underscores (up to 6 underscores) in them to redirect to same file name with hyphen instead.

This includes 7 .htacess files. but all will be the same command.

Leave a Reply

Your email address will not be published. Required fields are marked *