You are here:  » product instead of products

Support Forum



product instead of products

Submitted by rolli1 on Wed, 2013-01-30 11:32 in

Hi David,

search results are like this:

{link saved}
but should be

{link saved}

I changed tapestry.php like you mentioned in http://www.pricetapestry.com/node/4846 and also I changed .htaccess, but still get this Output.
Where does this come freom?

Regards

Roland

Submitted by support on Wed, 2013-01-30 11:54

Hi Roland,

If tapestry_productHREF has been updated it looks like the links are being created perhaps by another modification that generates the product URLs directly without using the tapestry_productHREF() function;

If you could post an actual example URL (I'll remove before publishing your reply) of a page where the unchanged links are still showing I'll let you know where you'll find the code to make the changes...

Cheers,
David.
--
PriceTapestry.com

Submitted by rolli1 on Wed, 2013-01-30 14:12

Hi David,

according to webmaster Tools the following URL is not spiderable

http://www.exmple.com/product/NIU-34-length-dresses-Item-34301724.html

If I Change the .../product/... into .../products/.....the URL is correct.

Regards

Roland

Submitted by support on Wed, 2013-01-30 15:02

Hi Roland,

There is nothing in your robots.txt blocking /product/ and I am actually seeing the opposite, the first link works, and the second (as I would expect) does not work..! Please can you re-check, and let me know if you're still not sure...

Thanks!
David.
--
PriceTapestry.com

Submitted by rolli1 on Wed, 2013-01-30 15:20

Hi David,
Google tells me that the following URL can not be spidered, because the page does not exist:

{link saved}

If I click on this link then an 404 appears.

If I change the link to.../products/... the link works.

I am shure for this, because I doublechecked it.

Regards

ROland

Submitted by support on Wed, 2013-01-30 15:38

Thanks Roland,

I see that is a different site, and now I see the same. The last change to make is the links in your sitemap. In your sitemap.php look for this code at line 32:

  $sitemapHREF = "product/".urlencode(str_replace(" ","-",$row["normalised_name"])).".html";

...and REPLACE with:

  $sitemapHREF = "products/".urlencode(str_replace(" ","-",$row["normalised_name"])).".html";

Cheers!
David.
--
PriceTapestry.com

Submitted by rolli1 on Wed, 2013-01-30 16:50

thanks a lot for that

Roland