mardi 31 mars 2015

htaccess redirect for multilanguage sites

Ive an Homepage with 15 Languages, i tried to redirect the old linkstructure to the new Sites but ive some Problems with the redirects.


The Languages differentiate by: domain.com/de/ domain.com/en/... If you type and url without an language after it it automatic redirects to /de/


The old Links look like this: domain.com/com/


when i try to redirect from domain.com/com/ to-> domain.com/de/ this does not work right for me.



Redirect 301 /com/page.asp?id=604 /de/produkte


produces this url /de/com/page.asp?id=604



Redirect 301 /en/product.asp /en/products


this redirects works





Aucun commentaire:

Enregistrer un commentaire