Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8304059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:43:06+00:00 2026-06-08T17:43:06+00:00

Some websites retain the URL path when a path is accessed that isn’t found

  • 0

Some websites retain the URL path when a path is accessed that isn’t found and when the page loads they simply display an error title, message and also set the HTTP status code to 404.

Other pages redirect it to a fixed 404 URL path which displays both the content and the header.

My questions are:

  • Should the URL not change so that the URL path is categorized as 404 for as long until the http response expires?
  • Should there ALWAYS be a 404 status code?
  • And even when a redirection occurs, then should the resulting page contain a 404 status code?

Or is it better to return a 404 response and include a location header pointing to the dedicated 404 URL (I’m not sure if its possible to mix redirections and 400-series status codes)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:43:09+00:00Added an answer on June 8, 2026 at 5:43 pm

    If the page that your server is returning is a “File Not Found”, it should return a 404 error. Adding in a redirect seems pointless and confusing to web-crawlers and people alike.

    With Apache you can retain the original URL, return a 404 and have a custom error message if you add this to your .htaccess file in the root of your webserver:

    ErrorDocument 404 /notfound.html
    

    Where notfound.html is your custom error page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw some websites that (for example): if you want to view your message
I have some websites that have been attacked and infected with malware. There are
I've noticed that on some websites (including SO) the link to the CSS will
Is there a twitter API that returns mood? I have seen some websites that
I've noticed that some websites don't really expose the Maps details (longitude, latitude) in
Some websites I develop have a great need for the use of Javascript, they
Some websites set a background image to advertise, e.g. <body style=background-image:url('images/adv.png')> I'm wondering how
I've noticed some websites IE will automatically trigger to display in compatibility view, but
I've seen some websites that can run code from the browser, and the code
Some websites have code to break out of IFRAME enclosures, meaning that if a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.