我写了一些重定向,因为我们正在更新网站,但我们遇到了一些麻烦。Htaccess重定向不同的网址重定向
下面是一些例子的URL重定向:
www.website.nl/location/depul.html -> www.website.nl/poppodium-de-pul
www.website.de/location/depul.html -> www.website.de/de_pul
www.website.nl/location/naturereserve.html -> www.website.nl/natuurgebied
www.website.de/location/naturereserve.html -> www.website.de/naturschutzgebiet
不同的语言有不同的URL。所以我必须将.de url重定向到.de上的页面和.nl url上的页面上.nl
我试图使用重定向301,但它似乎不可能使用完整的url重定向的网址。
Redirect 301 www.website.nl/location/depul.html www.website.nl/poppodium-de-pul
有谁知道我能做些什么?
感谢
我想,但我如果是从website.NL请求重定向到/location/depul.html/poppodium-DE-PUL但它重定向到/ de_pul如果它来自website.DE。 – Robin