1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ', dateadd, soundex(oldurl) AS soundex_value FROM #__sh404sef_urls where newur' at line 1 SQL=SELECT oldurl, newurl, id, rank, dateadd, soundex(oldurl) AS soundex_value FROM #__sh404sef_urls where newurl <> "" and rank = 0 AND oldurl not like '%vmchk%' AND newurl not like '%format=feed%' AND newurl not like '%format=pdf%' AND newurl not like '%print=1%' AND oldurl not like '%sh404sef-core-content%' AND ( soundex(oldurl) = soundex('transfer/Penang') OR oldurl like '%transfer%' OR oldurl like '%Penang%') GROUP BY oldurl limit 500