zhouein - 2011/1/27 1:38:00
查看了N多PA网站
只要在玉米后随便加上不存在的页面ufgusdgf.aspx
绝大部分不可以跳转
而在IIS和web.config里<error statusCode="404" redirect="/error404.html" />
只是不存在的路径(不含.aspx)才跳转
官方站是可以的
附件:
未命名.jpg
zhouein - 2011/1/27 1:42:00
做好一个站
baidu收录了一定数量的页面 http://ip/xxxxx.aspx
当你去删掉一些栏目或页面后xxxxx.aspx已经不存在
从baidu的连接过来就不会跳转
zhouein - 2011/1/27 14:42:00
终于明白
IIS属性-asp.net-Edit Configuration-Custom Errors-将custom error mode >>ON
当然你还需要配置web.config里的<error statusCode="404" redirect="/error404.html" />
zhouein - 2011/1/27 14:46:00