Sitecore keep or preserve url when 404 page not found

In some cases we don't want to redirect the users to a 404 page only because the users typed in the url wrongly. In this case what we want is to show the 404 content but keep or preserve the url. This way they can correct the url without having to type it in from scratch.

The way to do this in Sitecore is to execute some code before the OOTB RedirectOnItemNotFound code.

Create a config patch:


And that's it.

HTH,
Andreas

24 comments

Thanks for sharing the unique content, you have done a great job

Vehicle tracking system
Fleet management software

Reply

This post is a pool of data. The pursuers are very dazzled in the wake of perusing this noteworthy post. This noteworthy post absolutely urges to pick my assignment help Services.

Reply

Good Information
"Yaaron media is one of the rapidly growing digital marketing company in Hyderabad,india.Grow your business or brand name with best online, digital marketing companies in ameerpet, Hyderabad. Our Services digitalmarketing, SEO, SEM, SMO, SMM, e-mail marketing, webdesigning & development, mobile appilcation.
"
best digital marketing companies in Hyderabad
Best digital marketing services in Hyderabad
Best web designing & development companies in Hyderabad

Reply

Dissertation writing can be the most complicated task you undertake during your student life. Based on this paper, your university is going to decide whether you are eligible for receiving your final degree or not. So, the dissertation paper that you are going to submit has to be impeccable. Wait, do not get nervous. We are here to provide you top-notch help with your dissertation. After catering to all academic needs of the students over a decade, we have become the foremost dissertation help provider in UK.
Thesis help online

Reply

It’s difficult to find well-informed people for this topic, however, you sound like you know what you’re talking about! Thanks onsite mobile repair bangalore You ought to be a part of a contest for one of the most useful blogs on the net. I'm going to recommend this web site! asus display repair bangalore An intriguing discussion is definitely worth comment. I do believe that you need to publish more about this subject matter, it may not be a taboo subject but typically people do not talk about such topics. To the next! Many thanks!! huawei display repair bangalore

Reply

Spot on with this write-up, I absolutely believe this amazing site needs far more attention. I’ll probably be back again to see more, thanks for the info! online laptop repair center bangalore You're so interesting! I do not believe I've truly read through anything like this before. So great to discover another person with unique thoughts on this issue. Really.. thanks for starting this up. This site is something that is required on the web, someone with some originality! dell repair center bangalore

Reply

Oh my goodness! Amazing article dude! Thank you, However I am experiencing difficulties with your RSS. I don’t understand why I am unable to subscribe to it. Is there anybody else getting the same RSS issues? Anybody who knows the solution will you kindly respond? Thanks!! macbook repair center bangalore An impressive share! I have just forwarded this onto a colleague who was conducting a little homework on this. And he actually bought me dinner simply because I found it for him... lol. So allow me to reword this.... Thanks for the meal!! But yeah, thanks for spending time to discuss this topic here on your website. acer repair center bangalore

Reply

Dissertation writing can be the most complicated task you undertake during your student life. Based on this paper, your university is going to decide whether you are eligible for receiving your final degree or not. So, the dissertation paper that you are going to submit has to be impeccable. Wait, do not get nervous. We are here to provide you top-notch help with your dissertation. After catering to all academic needs of the students over a decade, we have become the foremost dissertation help provider in UK.
Thesis help online

Reply
This comment has been removed by the author.

Paper writing is a daunting task, and it involves multiple technicalities. If you find it too tedious to complete it on time, allow us to ease your burden. We have been providing flawless paper writing help service to hundreds of students in the US. Place your trust in our service, and we won't let you down.
Research paper outline

Reply

Great Article. Thank you for sharing! Really an awesome post for every one.

IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

Reply

When computer networking seems tough to you, place your order for Networking Assignment Help services. Receive networking experts’ assistance by choosing correct online service provider.
Network Assignment Help
Computer Networking Assignment Help
Networking Assignments
Computer Network Assignment

Reply

I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.
DU BCOM TimeTable 2020
MU BCOM TimeTable 2020
MDSU BCOM TimeTable 2020

Reply

Thanks for sharing information
We are the best waterproofing services in Hyderabad. We are providing all kinds of leakage services which include bathroom, roof, wash area, water tank, wall cracks, kitchen leakage services in Hyderabad. With trust and honesty, we solve the issue as quickly as possible. We serve you better compared to others.
water proofing services in hyderabad
Hyderabad waterproofing services
Hyderabad waterproofing experts
waterproofing services in hyderabad

Reply

Post a Comment