You can replace url's on the fly, or resave it to the database with the following... You can also put a <cfloop> around the whole thing and do it for every record in the database
<!--- GET ALL PAGES WITH BAD URLS FROM DATABASE ---> <CFQUERY Name="SetURL" datasource="#Application.Datasource#"> SELECT PageDataField FROM tbl_gallery WHERE ID = <cfqueryparam cfsqltype="cf_sql_integer" value="1" maxlength="4"> </CFQUERY> <!--- OK - SET THE NEW URLs WHERE NEEDED---> <CFSET newPageContent = #ReplaceNoCase(SetURL.PageDataField,"<a href=""http://" , "<a href=""http://phat-links.com/page.cfm?goto=","ALL")#> <!--- UPDATE DATABASE RECORD TO REFERENCE NEW URL ---> <cfoutput> #newPageContent# </cfoutput> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240202 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54