Mobile app version of vmapp.org
Login or Join
Ogunnowo487

: In case of a server error, should I change the URL in the address bar? Let's say the user surfs to http://mysite.com/some-path and encounters error 500 which leads to a custom error page. What

@Ogunnowo487

Posted in: #HttpCode500 #Redirects #Url

Let's say the user surfs to mysite.com/some-path and encounters error 500 which leads to a custom error page.

What is the best practice regarding the URL shown in the address bar while in the error page - should I leave mysite.com/some-path or should I change it to mysite.com/custom-error.aspx? Is there a good reason not to leave the URL as is?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ogunnowo487

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

Definitely leave the URL as it as it is typed into the browser. That way search engines, bots, users, etc. will know that that particular URL is not a valid URL. If you were to redirect to another URL, it's possible that bots, etc. could still index the bad URL, which is not what you want.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme