1

我需要将永久所有(例外情况除外)请求重定向到根目录/它将为文件whatever.html提供服务

。IE

All should give 301 permanent to /
http:://www.domain.tld/whatever/anything/realy  == 301 ==> http://www.domain.tld
http:://www.domain.tld/blabla  == 301 ==> http://www.domain.tld
http:://www.domain.tld/ == 301 ==> http://www.domain.tld

except for
http://www.domain.tld/special.html == serve ==> special.html


root should serve the defailt file (as specificed in index)
http:://www.domain.tld  == serve => somefile.html

有任何想法吗?

4

0 回答 0