重定向到找不到网页页面,如果在MVC存在的简化版,网址

编程入门 行业动态 更新时间:2024-10-25 12:25:57
本文介绍了重定向到找不到网页页面,如果在MVC存在的简化版,网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我需要如果URL doent存在用户重定向到网页找不到网页。如果用户复制网址并贴在rbowser,页面显示页面没有找到方法。

I need to redirect the user to page not found page if the url doent exist. if the user copy the url and paste it on the rbowser, the page shows page not found method.

在此,我需要将用户重定向到页面没有找到页

in this i need to redirect the user to page not found page

推荐答案

显示方式:

stackoverflow/questions/619895/how-can-i-properly-handle-404s-in-asp-net-mvc

这是指这样的:

blogs.microsoft.co.il/blogs/shay/archive/2009/03/06/real-world-error-hadnling-in-asp-net-mvc-rc2.aspx

更多推荐

重定向到找不到网页页面,如果在MVC存在的简化版,网址

本文发布于:2023-10-27 00:16:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1531765.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   重定向   简化版   页面   网址

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!