HTTP Status Bad Request - 404, but also, add a 400 HTTP Status in certain circumstances?
-
We currently have a custom 404 page set up for our clients, but the developer has it returning a HTTP 200 for the status code. Big no, no. I'm having that fixed right now.
My question is, currently, the custom 404 page is only returned for urls with the extension .aspx:
- For example : ilovepizza.com/pepperni.aspx would return a 404 page because the correct page is ilovepizza.com/pepperoni.aspx
Any other format of URL without the extension (example ilovepizza.com/thumbtack) does not trigger the custom 404 page we've created, but it does trigger a server error with a 404 HTTP status page. I want to change this so this type of error also triggers the custom 404 page because it's more user-friendly and would return them to the website.
My question: Is there any benefit to making the /thumbtack errors return the custom 404 page but with a 400 Bad Request HTTP Status?
Kind of a novice here in those aspects, but does the 400 Bad Request status indicate that it was a user mistake and not a mistake created on the website?
Other suggestions?
-
Unfortunately I don't have experience with that.
-
Hi Scott,
Thanks for the reply. The developers will take care of that part. Have you ever heard of anyone using 400 instead of 404 when it's more of a user-generated error?
-EEE3
-
Have you tried adding this 404 page to IIS -> Website properties -> Custom Errors tab, then under 404, point to the web page that you would like to show up when a file is not found?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Http to https Canonical Question
Hello Fellow Moz Friends I have recently went from http to https for the website. Do I keep my canonicals at http or make all https? Will this affect ranking signals? Anything I should be looking out for? Thank you.
Intermediate & Advanced SEO | | Carwrapsolutions0 -
Bad Domain Links - Penguin? - Moz vs. Search Console Stats?
I've been trying to figure out why my site www.stephita.com has lost it's google ranking the past few years. I had originally thought it was due to the Panda updates, but now I'm concerned it might be because of the Penguin update. Hard for me to pinpoint, as I haven't been actively looking at my traffic stats the past years. So here's what I just noticed. On my Google Search Console - Links to your Site, I discovered there are 301 domains, where over 75% seem to be spammy. I didn't actively create those links. I'm using the MOZ - Open site Explorer tool to audit my site, and I noticed there is a smaller set of LINKING DOMAINS, at about 70 right now. Is there a reason, why MOZ wouldn't necessarily find all 300 domains? What's the BEST way to clean this up??? I saw there's a DISAVOW option in the Google Search Console, but it states it's not the best way, as I should be contacting the webmasters of all the domains, which is I assume impossible to get a real person on the other end to REMOVE these link references. HELP! 🙂 What should I do?
Intermediate & Advanced SEO | | TysonWong0 -
Is ok to add 'no follow' to every outbound link?
How do you handle outbound links from your site?.. do you no follow them all to be on the safe side?
Intermediate & Advanced SEO | | nick-name1230 -
How to fix Invalid Product Page registering as Soft 404
Somehow with our site architecture Google is crawling URLS for products we no longer carry (there are no links to those pages so I am still trying to figure out how Google is finding them).Those URLS are being redirected to our invalid product page. That invalid product page is returning a 200 OK code, but according to Google it should be a 404 so we get a soft 404 error. Google is seeing all of the URLs that redirect to that page as soft 404's as well. The first solution I can think of is to create a custom 404 page that looks just like our site, says we don't have the page/product they are looking for, has a search bar, sends a 404 code, etc. Is this the right way to go? And it will probably take some time to implement so is there a quick fix we could do first?
Intermediate & Advanced SEO | | ntsupply0 -
How to add subdomains to webmaster tools?
Can anyone help with how I add a sub domain to webmaster tools? Also do I need to create a seperate sitemap for each sub domain? Any help appreciated!
Intermediate & Advanced SEO | | SamCUK1 -
Pop Up Advertisement - Bad for SEO?
So i have been working with a company running their SEO for close to two years now. Since i started to engage with them they have always used a very simple pop up for the first time an end user visits their website (via javascript and cookies). The pop up simply ask them if they would like to download a solutions brochure from their website. So as far as pop ups go, it is at least relevant. The client loves this pop up, i do not. For a while we have always held spots #1-3 for a lot of our keywords but we have started to drop to lower on the first page. So i have been researching to see if some of the new algorithm changes are targeting sites with this type of functionality. If i have some data i could definitely get them to remove it. So the question is, do pop-ups hurt your organic ranking? Thanks for the input! Kyle
Intermediate & Advanced SEO | | kchandler1 -
Google showing me a 404 link from an external source?
In my list of 404 errors from Google webmaster I have one with the "linked from" section showing an external link. This seems like a broken link (which obviously I will try and fix to get the link juice) but why would Google recognize it as a 404? From Google: | URL: | www.broken URL | | | Error details | In Sitemaps | Linked from | | <colgroup><col></colgroup>
Intermediate & Advanced SEO | | theLotter
| http://externalwebsite.com |
| | |0 -
5th Reconsideration Request, Have i missed anything...
Hi Guys, I wonder if any of you can help me out.I'll be shortly submitting another reconsideration request to Google.I've been working on removing bad / spammy links to our site http://goo.gl/j7OpL over the past 6 months and so far every reconsideration request I have submitted has been knocked back with the following message:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Dear site owner or webmaster of http://goo.gl/j7OpL , We received a request from a site owner to reconsider http://goo.gl/j7OpL for compliance with Google's Webmaster Guidelines. We've reviewed your site and we still see links to your site that violate our quality guidelines . Specifically, look for possibly artificial or unnatural links pointing to your site that could be intended to manipulate PageRank. Examples of unnatural linking could include buying links to pass PageRank or participating in link schemes . We encourage you to make changes to comply with our quality guidelines. Once you've made these changes, please submit your site for reconsideration in Google's search results. If you find unnatural links to your site that you are unable to control or remove, please provide the details in your reconsideration request. If you have additional questions about how to resolve this issue, please see our Webmaster Help Forum for support. Sincerely, Google Search Quality Team ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I've removed over 70% of all our links - we had some large sitewide links on big sites with exact match anchor text to our main money keyword, I've also removed a large link network that our previous SEO company setup. Today I have completed an overhaul of all our internal links, near enough every blog post that we added to the site had a link back to the home page with an exact match money keyword. 1 thing that I did notice was when we got hit by the penalty it didn't affect every keyword we target just our main / most competitive keyword, yes some of our other keywords took a dip in rankings but not as much as our main keyword. When I submit our next reconsideration request I'll also attach a spreadsheet of links that I can't remove either because I can't find any contact details / blocked by whois or I'm just not getting a response when I email them. If anyone can point out anything else that I have missed or might have missed that would be great. Thanks, Scott
Intermediate & Advanced SEO | | ScottBaxterWW0