Hi guys! I'm a newbie and I have been reading for days now but I can't understand how do make it work!
I will stay on the same server and have a seo mod installed that makes all php to html running on apache.
My store will remain on the same domain but all old products/categories and so on need to be redirected (301). The problems is that it's dynamic url's and I just can't get how to make it work! How the code should look, where to add the code and so on!
Also I start to wonder if the seo that makes all php to html is the reason?
Anyway here is what I want to redirect
Code:
http://domain/view_product.php?product=S711
http://domain/stay-ups-7/strumpbyxor-rose-37.html
Here is what I tried with after reading for hours =)
Code:
rewritecond %{QUERY_STRING} ^(.*)_product=S711$
rewriteRule ^view_product.php?product=S711$ /stay-ups-7/strumpbyxor-rose-37.html [R=301,L]
I wonder if it's even possible to redirect the old urls to my new site with html docs since the view_product.php don't even answer as I understand .... and if we don't care about that part anyway how should my htacess file understand the dynamic "calls" view_product? does .... I just don't get it!
A big thanks in advance if someone could give me some nice info here.
A free ride on a Swedish elk to the first that have a nice answer =)