Home > MySQL, PHP, Redirect > Find & Replace In Mysql / 301 Redirect 2

Find & Replace In Mysql / 301 Redirect 2

January 10th, 2012

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.


Find & Replace In Mysql / 301 Redirect 2

Comments are closed.
Bear