Sitecore uses “302 found” to redirect users to my custom 404 page - is that legitimate?

后端 未结 3 1560
花落未央
花落未央 2021-01-05 10:57

This is more of a HTTP spec question than a Sitecore question.

I have a 404 error page set up in Sitecore:



        
3条回答
  •  执笔经年
    2021-01-05 11:07

    As already mentioned correct http response headers are vital, not only for SEO but many other use cases.

    There's a Sitecore Shared Source module called "Sitecore Error Manager" which makes your Sitecore installation respond with the correct 404 header and comes with a couple of other features like configuring any other error response, even for the Sitecore media library (i.e. pdf files), multilanguage support etc.

    Sitecore Marketplace: http://marketplace.sitecore.net/en/Modules/Sitecore_Error_Manager.aspx

    Github: https://github.com/unic/SitecoreErrorManager

提交回复
热议问题