I am using zen-cart 1.3.9c but I was previously using a software to blend zencart into Joomla. It was far more hassle than the worth of it so I have now transferred the site out of Joomla back into a standalone Zen-Cart install.
Here's my problem, when I put the standalone site live it will have slightly different urls than thd zen-cart/joomla version had so google will have a freak out with lots of page not found errors. The seo urls are still being created almost the same, the differences are quite small.
I want to redirect all the old urls to the new urls before I make this site live.
There are two differences between the old and new urls. First difference is that the shop used to be in /shop/ directory and is now in the root. The other difference is all the old urls used to end in .html and now they don't.
Examples would be
OLD /shop/childrens-housewares/bookends/cupcake-bookends.html
NEW /childrens-housewares/bookends/cupcake-bookends
another one
OLD /shop/classic-films/et-mug.html
NEW /classic-films/et-mug
As you can see the new urls are almost the same with just minor differences. If it was just a case of being in the root instead of the /shop directory I know how to do it but because it is also loosing the .html form the end I'm a bit lost. I investigated a bit and tried adding RewriteRule ^/shop/(.*).html$ /$1 [R,L] to the end of my .htaccess file but it doesn't work. Anybody else got any ideas?
Any help would be much appreciated
Thanks in advance for any help you can offer
Huw




