News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

redirect 301 i .htaccess do not work - any help

Started by kacper1972, May 20, 2014, 23:39:10 PM

Previous topic - Next topic

kacper1972

hello

I have a big problem with redirect 301, Look please on example below:

It is work:

RewriteRule ^asd.html http://www.mydominian.com/sklep-soryks/stojaki-na-flagi.html [R=301,L]

RewriteRule ^qwe.html http://www.mydominian.com/nowosci/ta25w-dwustronne-tablice-na-plakaty-do-wieszania-detail.html [R=301,L]


But when I put to htaccess this code, it does not work:


RewriteRule ^index.php?page=shop.product_details&flypage=flypage.tpl&product_id=615&category_id=27&option=com_virtuemart&Itemid=1 http://www.mydominian.com/nowosci/ta25w-dwustronne-tablice-na-plakaty-do-wieszania-detail.html [R=301,L]



it's the same rule, only adress is difrent, but it does not work.

More information.

This is old VM shop, that I migrate from ver 1.x to 2.0.26, there was non sef url, but after migration I need sef url. I make 301 redirect in htaccess, but in shop product or shop category it does not work.

addition, this code does not work:


RewriteRule ^qwe http://www.mydominian.com/nowosci/ta25w-dwustronne-tablice-na-plakaty-do-wieszania-detail.html [R=301,L]



Any idea to help me?