[Axelsson]
02-29-2008, 06:57 PM
I have a database filled with different URLs.
Like this:
http://www.sponsor.com/product345/
http://www.sponsor.com/product123/
http://www.sponsor.com/product647/
http://www.sponsor.com/product765/
I would like to replace
http://www.sponsor.com/ with http://www.mydomain.com/
But let the product-pages be left untouched so the new URLs will look like:
http://www.mydomain.com/product345/
http://www.mydomain.com/product123/
http://www.mydomain.com/product647/
http://www.mydomain.com/product765/
Does anyone know what the SQL-Query would look like?
Like this:
http://www.sponsor.com/product345/
http://www.sponsor.com/product123/
http://www.sponsor.com/product647/
http://www.sponsor.com/product765/
I would like to replace
http://www.sponsor.com/ with http://www.mydomain.com/
But let the product-pages be left untouched so the new URLs will look like:
http://www.mydomain.com/product345/
http://www.mydomain.com/product123/
http://www.mydomain.com/product647/
http://www.mydomain.com/product765/
Does anyone know what the SQL-Query would look like?
