Hi! I have a client that would like to redirect http://www.aktivfritid-shop.no/kategori.asp?maingroup=02 Tredemøller&bid=1 to http://www.aktivshop.no/epages/Akti...ectPath=/Shops/Aktiv_Fritid/Categories/10/100 Is this possible to do in .htaccess? Perhaps somebody could help me by showing an example? If this is not possible - how may I redirect all visitors to URLs that is no longer in use to the www.aktivshop.no domain automatically with a permanent 301 redirect?
From aktivfritid-shop.no/kategori.asp?maingroup=02%20Tredem%C3%B8ller&bid=1 to aktivshop.no/epages/Aktiv_Fritid.sf/secdVupgoGRCSs/?ObjectPath=/Shops/Aktiv_Fritid/Categories/10/100 is not possible and makes no sense, where do you get these variables: Aktiv_Fritid.sf/secdVupgoGRCSs/?ObjectPath= ????? Possible is something like this with mod_rewrite. http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html From http://www.aktivfritid-shop.no/kategori.asp?maingroup=02 Tredemøller&bid=1 to http://www.aktivfritid-shop.no/maingroup/02 Tredemøller/bid/1.html RewriteEngine On RewriteRule ^maingroup/([^/]*)/bid/([^/]*)\.html$ /kategori.asp?maingroup=$1&bid=$2 [L] Code (markup): maybe that helped