How to troubleshoot and fix 404 errors: identify broken URLs first, then address the cause
To troubleshoot 404 errors, first identify which URLs return a page-not-found response. Then distinguish between mistyped links, moved content, and content that has genuinely been deleted, and fix the links, set up redirects, or leave the 404 responses in place accordingly. If many errors appear after migrating from Joomla to WordPress, their number alone does not establish that search rankings have suffered. First determine whether the broken URLs belong to removed sample content or important content that still needs to be available. Fixing unexpectedly broken links helps visitors and search engines access content, but does not guarantee a recovery in rankings.
List broken URLs first, rather than focusing only on the total error count
You can use Google Search Console to find URLs that return 404 responses, alongside a site audit tool to check for broken internal and external links. To track down old URLs linked to from other websites, you can also use a broken backlink checker. Identifying which content is still useful matters more than simply clearing every error.
- Check URL spelling and link destinations for extra or missing characters or incorrect paths.
- Confirm whether the original content has moved to a new URL and whether old links still point to its original location.
- Review status codes, URLs, and last request dates in server logs to identify missing pages that are still being requested.
For example, after a site migration, both old sample articles and actual service pages may return 404 responses, but they require different treatment and should not all be redirected to the same destination.
Choose whether to fix links, redirect, or retain 404 responses based on what happened to the content
- Mistyped links: Correct internal links directly. For example, if a link should point to hello-world but says hello-wold, change it to the correct URL. If the error is on another website, you can contact its owner to request a correction.
- Moved content: Set up a 301 redirect from the old URL to the new page. If considering another replacement page, make sure its content is relevant to the original need.
- Content that is still valuable but has disappeared: Consider restoring or recreating it rather than simply sending visitors elsewhere.
- Content that is genuinely no longer needed: Outdated, unimportant pages can continue to return 404 responses. If a nonexistent URL is still listed in the sitemap, remove it.
Accordingly, deleted Joomla sample content that does not need to be retained can be treated as content that is no longer needed. If an actual article has merely moved, find its corresponding page. This categorization is based on the content’s status; it does not establish that switching to WordPress itself caused rankings to fall.
Make error pages helpful, and check the actual response
A user-friendly 404 page can provide site navigation or contact options to help visitors continue looking for content, but it cannot replace fixing broken links. If the site uses a single-page application (SPA), also watch for cases where the screen says content cannot be found but the HTTP response is 200.
Google’s developer documentation notes that this may cause error pages to be indexed. In that situation, you can redirect to a URL that actually returns a 404 response or add noindex. Do not generalize this guidance to mean that all 404 pages need noindex. After making repairs, check the relevant URLs’ responses and request logs again to see whether the original unexpected errors persist.
Troubleshooting and fixing 404 errors: perspectives from across the web
How can you investigate 404 errors that appear only on some devices after a site migration?
Start by refreshing the page and checking for a mistyped URL, then test on another device or network. If the evidence suggests that only one browser is affected, try clearing that browser's cache first. If that does not help, consider clearing the relevant cookies. These steps troubleshoot individual browsing environments; they do not establish that there is no problem on the website's side.
If pages on the new website also return 404 errors, should you check the server configuration?
If the website uses Apache and has an editable .htaccess file, incorrect or corrupted rules could cause certain pages to return 404 errors, so they are worth investigating. However, replacing the file should be a last resort: back up the existing file first and consider asking a developer for help to avoid causing more serious problems through improper changes. A 404 response alone does not establish that this file is at fault.
Can you ask a search engine to validate the fixes?
Check whether Google Search Console offers a fix validation feature for the relevant issue. A 2022 tutorial recommended opening the issue details and requesting validation after addressing submitted URLs that returned 404 responses; interface labels and procedures may change over time. Validation tracks progress in resolving the issue and does not guarantee that search rankings will recover.
References
- 修正會影響搜尋體驗的 JavaScript 問題 | Google 搜尋中心 | Documentation | Google for Developersdevelopers.google.com — Source used in the article above.
- What Are Crawl Errors & How Do They Affect SEO?www.semrush.com · 2021-06-10T16:30:00Z — Source used in the article above.
- Stay Put: How to Maintain Your SEO Rankings After Reaching The Top?neilpatel.com · 2016-03-03T16:00:41+00:00 — Source used in the article above.
- 失效的反向連結會降低排名?4 方法修復失效連結!welly.tw · 2024-07-09T09:04:40.938Z — Source used in the article above.
- 【Google Search Console 完整教學】報表應用技巧、安裝驗證方式全收錄www.awoo.ai · 2022-02-18T10:01:42+00:00 — Discusses: Can you ask a search engine to validate the fixes?
- The requested URL / was not found on this server. Error 404, what is it?www.warriorforum.com — Discusses: How can you investigate 404 errors that appear only on some devices after a site migration?
- Advanced SEO Tasks when Working with Wixwww.semrush.com · 2022-09-23T01:40:00Z — Source used in the article above.
- What Is a 404 Error? How It Affects SEO & How to Fix Itwww.semrush.com · 2022-10-31T13:27:00Z — Discusses: If pages on the new website also return 404 errors, should you check the server configuration?


Join the discussion 0 comments
What are you working through? Share a question or experience and let’s find the next step.
No comments yet. Start the conversation.