Hi david,
I set up my rewrite to take out the /product/ in front of the product name in the URL. It's still showing up in the sitemap.
I changed line 32 from
$sitemapHREF = "product/".urlencode(str_replace(" ","-",$row["normalised_name"])).".html";
to
$sitemapHREF =.urlencode(str_replace(" ","-",$row["normalised_name"])).".html";
but that didn't work. I'm still seeing the /product/ in the url.
do i need to regenerate a sitemap? Or maybe reimport?
Hi Lunen,
That's almost correct but the . at the start of the value shouldn't be there - have a go using:
$sitemapHREF = urlencode(str_replace(" ","-",$row["normalised_name"])).".html";
Cheers,
David.
--
PriceTapestry.com