UPDATE template SET template = CONCAT('stuff to the left',template,'stuff to the right') WHERE title LIKE 'redirect_%';