I started to add some CJ datafeeds and test things out. The results come up within the search, however, when you click on any of the links, the page goes to the homepage instead of the landing page.
How do I fix this?
Thank you.
Hello David,
It was the $config_useRewrite = TRUE issue. Once I changed it to false, it worked fine. Moving forward, what do I need to place within the htaccess file in order to use mod rewrite?
Also, is there a sitemap creation tool I can use to create a sitemap for my site using PriceTapestry?
Thank you for the fast help and reply!!
Hi,
All it sounds like now is that .htaccess isn't in place yet. Once it is, you will be able to re-enable $config_useRewrite by setting it back to TRUE in config.php and then you should have clean URLs!
Because it is difficult to distribute a file that begins with "." as in .htaccess the file is actually in the distribution as htaccess.txt
What you need to do is rename this file to .htaccess and the easiest way to do this is normally with your FTP program. In the remote window, right-click on htaccess.txt and look for the Rename function, and then rename to .htaccess and that should be all you need to do!
For the XML sitemap, the script generates a sitemap automatically which you can see if you browse to sitemap.php (from the top level folder of your website/Price Tapestry installation). Note that this file returns a sitemap index, but any search engine that supports the sitemap.xml format will accept this and then request each individual feed sitemap file individually which is where the actual product page URLs are mapped.
Cheers,
David.
--
PriceTapestry.com
Hi intershop,
That sounds like you may have installed Price Tapestry into a sub-directory; but $config_baseHREF in config.php is still pointing to the top level of your website.
For example, if you have installed Price Tapestry in /shopping/ then line 6 of config.php would be:
$config_baseHREF = "/shopping/";
(also note that if you have enabled clean URLs ($config_useRewrite = TRUE;) then a similar change is required in .htaccess, so continuing the above example line 5 would be:
RewriteBase /shopping/
If that's not the case, if you could post the installation URL (I'll remove it before publishing your reply) I'll check it out right away for you...
Cheers,
David.
--
PriceTapestry.com