1. Check that your path to template for home.aspx is correct. It's trying to find it in /templates/pages/home.aspx but failing. Did you move it or renamed something?
2. Make sure that your path for 404 is set correctly. Looks like it's trying to find /en/404notfound.aspx but failing which give a 404 = infinite loop. Either use a static error page like /404.html or use the correct path to an episerver page like /en/[urlsegment]. I guess you have the path to your 404 page in Web.config. Check that it's actually going to a working 404 page.
Thanks Daniel for the reply.
The template is set correctly and when I preview the 404 page from edit mode to a front end mode it works correctly.
Check if you have any content in recycle bin that is used by start page. That can generate pretty funny errors. If it works from edit mode when you are logged in but not on public site when you are logged out, that is often the reason.
I also recommend using static html pages for error pages to avoid issues like above. Turning off Episerver global error handling in sitesettings and using.Net default custom errors Web.config section can get rid of the redirects hopefully.
Hi,
I have a website in EPiServer CMS 6 R2.
After deploying to staging environment, home page is causing 404 error and giving issue of too many redirects.
All the internal pages are working.
When I hit home page URL, it gets a big URL and ultimately resutls in too many redirects error.
http://domain.com/404notfound.aspx?aspxerrorpath=%2fen%2f404notfound.aspx%3faspxerrorpath%3d%252fen%252f404notfound.aspx%253faspxerrorpath%253d%25252fen%25252f404notfound.aspx%25253faspxerrorpath%25253d%2525252fen%2525252f404notfound.aspx%2525253faspxerrorpath%2525253d%252525252fen%252525252f404notfound.aspx%252525253faspxerrorpath%252525253d%25252525252fen%25252525252f404notfound.aspx%25252525253faspxerrorpath%25252525253d%2525252525252fen%2525252525252f404notfound.aspx%2525252525253faspxerrorpath%2525252525253d%252525252525252fen%252525252525252f404notfound.aspx%252525252525253faspxerrorpath%252525252525253d%25252525252525252fen%25252525252525252f404notfound.aspx%25252525252525253faspxerrorpath%25252525252525253d%2525252525252525252fen%2525252525252525252f404notfound.aspx%2525252525252525253faspxerrorpath%2525252525252525253d%252525252525252525252fen%252525252525252525252f404notfound.aspx%252525252525252525253faspxerrorpath%252525252525252525253d%25252525252525252525252fen%25252525252525252525252f404notfound.aspx%25252525252525252525253faspxerrorpath%25252525252525252525253d%2525252525252525252525252fen%2525252525252525252525252f404notfound.aspx%2525252525252525252525253faspxerrorpath%2525252525252525252525253d%252525252525252525252525252fen%252525252525252525252525252f404notfound.aspx%252525252525252525252525253faspxerrorpath%252525252525252525252525253d%25252525252525252525252525252fen%25252525252525252525252525252f404notfound.aspx%25252525252525252525252525253faspxerrorpath%25252525252525252525252525253d%2525252525252525252525252525252fen%2525252525252525252525252525252f404notfound.aspx%2525252525252525252525252525253faspxerrorpath%2525252525252525252525252525253d%252525252525252525252525252525252fen%252525252525252525252525252525252f404notfound.aspx%252525252525252525252525252525253faspxerrorpath%252525252525252525252525252525253d%25252525252525252525252525252525252ftemplates%25252525252525252525252525252525252fpages%25252525252525252525252525252525252fhome.aspx%25252525252525252525252525252525253fid%25252525252525252525252525252525253d8%252525252525252525252525252525252526epslanguage%25252525252525252525252525252525253den
Please me know the possible reasons.
Thanks & Regards,
Vrinda Bhayani.