Updated September 2026 · Written and maintained by the Progression Agency strategy team
An HTTP 404 bad request is not one error, it is two — and knowing which one you are actually looking at is most of the fix. A 404 means the server understood your request perfectly and has nothing at that address. A 400 Bad Request means the server could not understand the request at all. They have different causes, different fixes and different consequences, and browsers sometimes present them in ways that blur the two. This page separates them, then covers 404 bad gateway confusion, and finishes with what a site owner should actually do about broken URLs.
The short answerA 404 means the page does not exist at that address: check the URL for typos, load the domain on its own to confirm the site is up, and search the site in case the page moved. A 400 Bad Request means the request itself was malformed: open the site in a private window, and if that works, clear the cookies for that one site — an oversized cookie header is the most common browser-side cause. A 502 Bad Gateway is neither of those; it means a server upstream returned an invalid response and there is nothing you can do from your side. If you own the site, the fix for a 404 is a 301 redirect to the closest genuine equivalent, a 410 for pages retired deliberately, and repairing the internal link that pointed at the dead URL in the first place.
What is a 404 error?
HTTP 404 Not Found means the server received and understood your request and there is no resource at that address. The request was valid; the address was not. That distinction is what separates it from every other error on this page.
A 404 does not mean the site is down. It means one specific address on it does not resolve. The fastest confirmation is to delete everything after the domain and load the homepage: if that works, the site is fine and the path is wrong.
Common causes of a 404
- A typo or a truncated paste in the address.
- A page that was renamed or moved without a redirect being put in place.
- A page deliberately deleted by the site owner.
- An internal link on the site still pointing at an old address.
- An external site linking to a URL that changed years ago.
- Case sensitivity: some servers treat /Page and /page as different addresses.
- Trailing slash inconsistency between the link and the server’s expectation.
Is a 404 always a problem?
No. Returning 404 for something that genuinely does not exist is correct behavior, and a site with no 404s at all is usually one that redirects everything to its homepage, which is worse. A 404 becomes a problem when it replaces a page that had traffic or inbound links.
What is a 400 Bad Request?
HTTP 400 Bad Request means the server could not understand the request. Something in what your browser sent was malformed — the URL syntax, a header, or most often a cookie that has grown too large. Unlike a 404, this one is frequently caused on your side and frequently fixable in under a minute.
The scorecard above is a triage tool. Anything marked yes is usually resolvable from the browser; anything marked no requires the server operator. The partial rows are the ones worth testing in a private window first, because that single step tells you which side the problem sits on.
Causes of a 400 error you can fix yourself
- An oversized or corrupted cookie for that specific site. This is the most common cause.
- A malformed URL, often from a paste that included a stray character or a line break.
- Invalid characters in the address that were not encoded properly.
- A request header made too large by a browser extension.
- A stale cached redirect pointing at a malformed address.
How to fix a 400 error in three steps
- Open the same URL in a private or incognito window. If it loads, the problem is local state.
- If it loaded privately, clear the cookies and site data for that one site only.
- Reload the original window. If it still fails, retype the URL by hand rather than pasting.
Clearing cookies for one site is deliberate advice: clearing everything logs you out of everywhere for no benefit, since the malformed cookie belongs to the site returning the error.
What is the difference between 404 and 400?
A 404 means the address does not exist; a 400 means the request could not be understood. The 404 is about what you asked for, the 400 is about how you asked. That is why the fixes are completely different: one is a URL problem and the other is usually a cookie problem.
| Code | Name | What it actually means | Usual fix |
|---|---|---|---|
| 400 | Bad Request | The server could not parse your request | Private window, then clear that site’s cookies |
| 401 | Unauthorized | Authentication is required and was not supplied | Sign in |
| 403 | Forbidden | The server understood but refuses to serve it | Check permissions or sign in as the right user |
| 404 | Not Found | No resource exists at that address | Check the URL; search the site; the owner should redirect |
| 410 | Gone | Deliberately removed and not coming back | Nothing; this is intentional |
| 500 | Internal Server Error | Something failed on the server | Nothing from your side; report it |
| 502 | Bad Gateway | A server upstream returned an invalid response | Wait and retry; report it if persistent |
| 503 | Service Unavailable | The server is overloaded or in maintenance | Wait and retry |
| 504 | Gateway Timeout | An upstream server did not respond in time | Wait and retry |
The important reading of that table: only the first and fourth rows are frequently fixable by the person seeing them. Everything from 500 downward is a server-side condition, and no amount of clearing cookies will change it.
The chart makes the same point visually. The 400 row scores highest on ‘fixable by you’ and lowest on SEO impact, which is why a 400 is annoying rather than serious. The 404 row is the reverse: harder to fix from the browser, and materially worse for a site if it replaces something that ranked.
What is a 404 bad gateway?
It is a conflation of two separate errors, and if you saw that phrase you almost certainly received one or the other rather than both. A 404 Not Found means the page does not exist. A 502 Bad Gateway means a server acting as a gateway received an invalid response from an upstream server. They come from different layers and have different fixes.
Check the actual status by opening the browser’s developer tools, selecting the network tab, and reloading. The status column shows the real code. This matters because a 502 usually resolves itself and a 404 usually does not.
If it really is a 502
Wait a minute and retry, because 502s are frequently transient. If it persists across several minutes and several pages, the site has an infrastructure problem and the only useful action is reporting it. Nothing on your device will change the outcome.
If it is a 404 after all
Then follow the 404 steps: check the URL, load the domain alone, search the site for the page, and report the broken link to the owner with the exact address and where you found it.
The sequence above is ordered by cost rather than by likelihood, which is why it starts with re-reading the address. The first three steps take under a minute between them and resolve the large majority of cases without anybody else being involved.
For site owners: what to do about your own 404s
Redirect what had value, return 410 for what was retired deliberately, and repair the internal links that pointed at the dead address. Redirecting everything to the homepage is the common shortcut and it is worse than leaving the 404 in place.
The quadrant chart sets the priority. Old pages that carried traffic and backlinks sit top right — high value, easy fix — and should be redirected first. Genuinely retired pages sit bottom left and should return 410 rather than be pointed at something irrelevant.
What that ordering shows is that six of the seven common causes are inside your own control, and the top two are found by crawling your own site rather than by waiting for a visitor to complain. A crawl is the highest-return hour available to most site owners.
Why blanket redirects to the homepage are wrong
Because a redirect from a specific product page to a homepage is, from a search engine’s point of view, a soft 404: the destination does not fulfill the request. It also frustrates the visitor, who now has to search for what they wanted. Redirect to the closest genuine equivalent or return 404 or 410 honestly.
| Signal | Threshold that makes it urgent | Action |
|---|---|---|
| Organic sessions to the old URL | Any measurable traffic | 301 to the closest equivalent today |
| Referring domains to the old URL | One or more | 301 to preserve the link value |
| Internal links pointing at it | Any | Fix the links in the source pages |
| Appears in Search Console coverage | Repeatedly across weeks | Investigate; it is being crawled for a reason |
| Only found by a crawler | No traffic, no links | Low priority; 410 if retired deliberately |
| Random bot-generated address | Never existed | Ignore; 404 is correct |
Use the top three rows as a work queue and ignore the bottom one entirely. Sites accumulate 404s from automated scanning that never existed and never mattered, and treating those as work wastes the hour that should go to the first three rows.
When to use 410 instead of 404
When you removed the page deliberately and nothing replaces it. A 410 Gone states that the removal was intentional and permanent, which is a clearer signal than 404 and typically leads to faster de-indexing. For a discontinued product with no successor, 410 is usually the honest answer.
Fix the link, not just the symptom
A redirect makes the error disappear while the broken internal link stays in the page. The next crawl finds it again, and over years a site accumulates chains of redirects that slow everything down. Repair the link in the source page as well as adding the redirect.
Does a 404 hurt your search rankings?
Only when it replaces a page that had traffic or inbound links. A 404 for something that never existed costs nothing. A 404 on a page that ranked and had links wastes both, and that is the case worth fixing quickly.
| Situation | Does it hurt? | What to do |
|---|---|---|
| 404 on a URL that never existed | No | Nothing |
| 404 on a page with no traffic and no links | Negligible | Leave it, or return 410 |
| 404 on a page that ranked | Yes | 301 to the closest equivalent, quickly |
| 404 on a page with external backlinks | Yes | 301 to preserve the link value |
| Many internal links pointing at 404s | Yes, indirectly | Fix the links; it wastes crawl effort |
| A custom 404 page with helpful navigation | No effect on the code | Good for people; does not change the status |
| Soft 404: a 200 status on a ‘not found’ page | Yes | Return a real 404 or 410 status |
The last row is the one people get wrong most often. A page that says ‘not found’ while returning a 200 status tells search engines the content is real, which is worse than an honest 404 because it invites indexing of an empty page.
| Situation | Correct response | Why not the alternative |
|---|---|---|
| Page moved to a new address | 301 to the new address | A 404 wastes the traffic and the links |
| Product discontinued, successor exists | 301 to the successor | Visitors want the replacement |
| Product discontinued, no successor | 410 Gone | A redirect to a category is a soft 404 |
| Temporary outage on one page | 503 with a retry hint | A 404 tells search engines it is gone |
| Content moved temporarily | 302 | A 301 tells search engines the move is permanent |
| Address never existed | 404 | Nothing else is honest |
| Campaign URL expired | 410 or 301 to the evergreen page | Depends on whether a successor exists |
The pattern in that table is that the right answer is almost always the one that describes reality most accurately. Search engines and visitors both behave better when the status code is honest than when it is optimized.
Custom 404 pages are for people, not for search engines
A good 404 page explains what happened in plain language, offers site search, and links to the main sections. It does not change the status code and it should not pretend the page exists. Its job is to keep a visitor on the site rather than to influence anything technical.
How to prevent 404s in the first place
Decide URL structure once, redirect whenever anything moves, crawl regularly, and treat discontinued content as a decision rather than a deletion. Most 404s on established sites come from a migration where the redirect map was an afterthought.
- Choose a URL pattern at the start and do not change it for cosmetic reasons.
- Whenever a page moves, create the 301 redirect in the same change, not later.
- Before any replatform, export every URL with its traffic and map every one.
- Crawl the site monthly and fix internal links pointing at dead addresses.
- Check Search Console coverage reports rather than waiting for complaints.
- Have a written rule for what happens to discontinued products and expired pages.
- Keep redirect chains short: point old URLs at the final destination, not at another redirect.
Rule seven quietly matters. Chains of redirects accumulate over years, slow every request through them, and occasionally break entirely when an intermediate step is removed. Repointing old URLs directly at the current destination is maintenance worth doing annually.
If you are planning a site move, our web design and development page and ecommerce development page both cover the migration planning that prevents this category of problem entirely.
404 status, and what it means when search returns one
The number itself is a plain HTTP status code, and the confusion is usually about which of several similar situations produced it.
A 404 status means the server understood the request and has nothing at that address. Search 404 results — a 404 search returning the error page rather than results — usually means the site’s internal search is routing to a missing template rather than that nothing matched. That distinction matters: a genuine no-results page should return 200 with a helpful message, because it exists and is working. Returning a 404 status for an empty search result is a configuration error that costs you the chance to keep the visitor.
Error pages on your own site: a five-minute check
Type a deliberately wrong address on your own domain and look at three things: what the page says, whether it offers a route onward, and what status code it returns. Most sites fail at least one of the three, and all three are cheap to fix.
| Check | How | Failing looks like |
|---|---|---|
| The status code | Developer tools, network tab, reload | 200 OK on a not-found page |
| The message | Read it as a stranger would | Technical jargon or a bare error number |
| The route onward | Look for search and main navigation | A dead end with a back button |
| Branding | Does it look like your site? | A default server page from the host |
| Logging | Ask whether 404s are recorded anywhere | Nobody finds out until a customer complains |
| Mobile | Load it on a phone | Unstyled or unreadable |
The first row is the one that matters technically and the third is the one that matters commercially. A helpful error page keeps a visitor who would otherwise leave, and an honest status code keeps search engines from indexing an empty page.
Losing traffic after a site change?
Broken redirects and unmapped URLs are the most common cause, and they are usually fixable. We can audit what happened and tell you what is recoverable.
Web platform, performance and search talks from the platform publishers
Publicly available sessions on the web platform, performance and search. None of these are ours; each is credited to its channel and upload date, every identifier was checked live before publication, and each tile loads its player only when clicked.
Getting found in search
- Snapchat filters and Lenses
- Organic SEO services
- SEO company in Portland
- SEO company in Kent, WA
- Ecommerce SEO services
- Customer data platforms
- Selling on Target Plus
- SEO for fintech
- SEO company in Atlanta
- Search engine marketing agency
- SEO company in Illinois
- Fairfax SEO company
- Oregon SEO
- Medford SEO
- Bend SEO
- Springfield, Oregon SEO
- Oregon City SEO
- Bellevue SEO
- Video for local SEO
- SEO diagrams
- Boca Raton SEO company
- Winery SEO
- Seattle SEO companies
- SEO company Las Vegas
- Texas SEO company
- SERPRobot review
- Ranktracker review
- Nightwatch review
- SEO company in Dallas
- SEO company in Oakland
- SEO company in Denver
- SEO company in Houston
- SEO company in Charlotte
- SEO companies by city
- Web design companies by city
- SEO company in Hawaii
- SEO for HVAC services
- Statewide SEO services
- Small business SEO
- SEO experts
- SEO pros and cons
- What is corporate SEO?
- Does URL length affect SEO?
- Meta description length
- SEO services
- SEO agency
- What are SEO services?
- What is SEO?
- Buyer personas
- Retail market research
- Local SEO services
- Local search
AI, AEO and what is changing
Paid media and lead generation
- Marketing agency contracts
- Is my agency doing a good job
- Why competitors outrank you
- Why rankings dropped
- Traffic but no leads
- Instagram marketing agencies
- Marketing automation software
- Hotel PPC agency
- Freebie ideas and lead magnets
- Angi for contractors
- Email marketing for home services
- Direct mail marketing
- Lead generation websites
- Dental lead generation
- Search engine advertising
- Display advertising
- Search Ads 360
- Organic search vs paid search
- Are Google Ads worth it?
- How to stop Google Ads
- Google Ads vs Facebook Ads
- Social media advertising
- What batch work is
- Free tools for service businesses
- What digital presence is
- Website visitor tracking
- Email marketing examples
- Fear-based advertising
- The annual business review
- Twitter alternatives
- Lead generation agency
- Contractor lead generation
- Solar leads
- What is lead generation?
- What is a funnel in marketing?
- Cost per lead benchmarks
- Performance marketing agency
- What is appointment setting?
- Search ad conversion rate trends
- PPC agency
- HVAC leads
- Social media marketing pricing
- Digital advertising agency
- Media buying vs media planning
- Choosing a marketing company
- CRM software examples
- Global marketing companies
- Buc-ee’s marketing analyzed
- Product launch ideas
- Hulu and streaming advertising
- Advertising agency in Houston
- Dentist PPC
Websites and design
- Hire PHP developers
- Bankruptcy lawyer website design
- Web design in North Carolina
- Web design in Seattle
- Ecommerce web development
- Ecommerce development services
- Squarespace customization
- Consulting websites
- Beauty stores on Shopify
- Content commerce
- FTP clients
- Website design and development
- Design, development and management
- Creating a gallery
- Custom CSS
- Summary blocks
- Website maintenance services
- Web design agency, San Jose
- WordPress outsourcing
- StoryBrand website framework
- StoryBrand websites
- StoryBrand website design
- Squarespace logos
- Product configurators
- Web development services
- How much does a website cost?
- What to include on a homepage
- Website redesign services
- Website maintenance
- Shopify ecommerce agency
- Ecommerce website design
- BigCommerce vs Shopify
- Service business website design
- Healthcare website design
- Websites for restaurants
- Squarespace design services
- Squarespace vs WordPress
- Wix vs WordPress
- Web design in Queens
- Web design for small business
- Shopify agency
- Shopify checkout optimization
- Headless commerce and Hydrogen
- Shopify pricing guide
- Shopify checkout extensibility
- Squarespace pricing
- Publishing a Squarespace site
- What Squarespace is
- Learning Squarespace
- Squarespace dropdown menus
- Domain vs website
- Videography websites
- Ecommerce product configurators
- Negative space in design
- YouTube channels for web designers
- How to back up a Squarespace website
- Best dental websites
- Website dimensions and image sizes
- Web design in Charlotte NC
- Web design in Nashville
- Web design in Seattle
- Web design in Atlanta
- Retail consulting
- Product design agencies
- Digital product agencies
Choosing and working with an agency
- What does a digital marketing agency do?
- Marketing agency pricing
- What does retention mean?
- How to calculate success rate
- What does backlog mean?
- Best marketing agency
- Branding services for small businesses
- Fashion consulting
- Triadic color schemes
- The 8 principles of design
- How to write a brochure
- TikTok Wrapped: what actually exists
- Full-service marketing agency
- Marketing agencies in Philadelphia
- Agencies in Portland, Oregon
- Boutique marketing agency
- Marketing agency for small business
- Digital marketing services
- Digital marketing agency in New Jersey
- Fractional CMO services
- What is a fractional CMO?
- About Progression Agency
- Startup marketing agency
- Marketing agency in Tampa
- Marketing agency in San Diego
- Digital marketing in Florida
- Marketing agency in Nashville
- Marketing agency in Portland
- Client testimonials
- Contact us
- Marketing agency near me
- Online reputation case studies
- Digital marketing agency, Dallas
- Orlando digital marketing agency
- Advertising agencies in Westchester
- Water damage restoration leads
- General contracting leads
- Home inspection leads
- Spray foam insulation leads
- Mold remediation leads
- Digital marketing agency in Toronto
- Digital marketing internships
- Marketing consulting firms
- Marketing agency in Austin
- Advertising agency, Columbus
- Advertising agency, Charlotte
- Digital transformation consulting
- Ethos in advertising
- Sales promotion examples
- Experiential marketing agency
- Marketing strategy
- Small business marketing
Social, content and brand
- Sports PR and athlete branding
- Mobile app PR agency
- Arts and culture PR
- Lifestyle PR
- Executive brand building
- Create a LinkedIn business page
- Editing Instagram Reels after posting
- Reordering Instagram highlights
- Trending Reels audio
- TikTok trends this week
- Instagram active times
- Instagram posting guide
- TikTok video length
- Instagram Reel length
- TikTok pay per view
- YouTube pay per view
- Why people use social media
- Buffer review
- Social media agency in Denver
- Social media agency in Chicago
- Publicity vs public relations
- Specialist PR agencies
- PR for startups
- PR firms in Pittsburgh
- Influencer marketing guide
- Reputation management in NYC
- Brand advertising case studies
- Logo design in New Jersey
- Documentary interview questions
- Video production in Washington DC
- Video production in Jacksonville
- Video production in West Palm Beach
- Wellness photography
- Public domain image sites
- Social media marketing
- Manufacturing social media marketing
- Social media marketing tips
- Managing a business social account
- Social media and marketing trends
- Social media food marketing
- Influencer marketing agency
- Video marketing agency
- Creative agency
- What branding costs
- What color represents strength
- Branding agency
- Graphic design
- Choosing a color palette
- Medical logo design
- Hospitality branding agency
- Can a brand own a color?
- Iconography definition
By industry and by situation
- Google Business Profile verification
- Law firm video production
- Press release examples
- Advertising agency in Raleigh NC
- WordPress developers in NYC
- PR firms in Austin, Texas
- SEO in Portland, Oregon
- Houston ad agencies
- B2B SaaS marketing agency
- Cybersecurity marketing agency
- B2B intent data providers
- Marketing for home builders
- How to start a landscaping business
- Oregon business licensing
- Landscaping contract template
- Attracting high-income clients
- Human Design coaching explained
- Minneapolis marketing agency
- Web design San Antonio
- Telecom marketing agency
- Starting a graphic design business
- Sales personality types
- Retail competitive analysis
- What is product mix?
- What is BNI?
- When your market shifts
- Virtual conference best practices
- Landscaping profit margins
- Landscaping business structure
- Landscaping marketing
- Pest control marketing
- Nonprofit marketing
- How to get more customers
- Marketing ideas for small business
- Marketing plan template
- Roofing marketing agency
- Marketing agency for contractors
- Landscaping marketing agency
- Auto dealer marketing agency
- Med spa marketing agency
- Chiropractic marketing agency
- Marketing agency for accountants
- Restaurant marketing agency
- Tech marketing agency
- Cannabis marketing agency
- Real estate marketing agency
- Medical marketing agency
- SEO agency Los Angeles
- SEO company in Seattle
- Kitchen remodeling marketing
- Bathroom remodeling marketing
- Bathroom remodeling leads
Distinguishing the 400 family from the 404
A 404 says the resource does not exist; a 400 says the request itself was malformed. Both appear to a visitor as a broken page and they have different causes: a 404 is usually a link or a rename, a 400 is usually an oversized header, a malformed cookie or an encoding fault, and it is frequently client-side rather than a fault of the site.
Frequently asked questions
What does HTTP 404 mean?
What does 400 Bad Request mean?
What is the difference between 404 and 400?
How do I fix a 400 Bad Request?
Why does clearing cookies fix a 400 error?
Should I clear all my cookies?
What is a 404 bad gateway?
What is a 502 Bad Gateway and can I fix it?
How do I know which error I actually received?
What is the difference between 403 and 404?
What is the difference between 404 and 410?
Is a 404 bad for SEO?
Should I redirect every 404 to my homepage?
What is a soft 404?
Does a custom 404 page help my SEO?
How do I find all the 404s on my site?
Which 404s should I fix first?
Should I fix the internal link or just add a redirect?
What causes most 404s on an established site?
How do I stop a site migration creating 404s?
How long do redirect chains matter?
Can a browser extension cause a 400 error?
Why does a URL work for someone else but not for me?
What should I include when reporting a broken link to a site owner?
Get a free marketing proposal
Tell us what you are trying to grow and we will come back with a plan, not a pitch deck. Same-day reply on weekdays.
