Unsolved Why my website is giving 4xx error
-
I was analyzing the website link, my website is giving me 4xx error. Google search console in not giving such error
Any suggestion will be helpful.
The site is on wordpress
-
@VS-Gary said in Why my website is giving 4xx error:
The site is on wordpress
Pinpoint the Specific 4xx Error Code:
Gather as much information as possible about the exact 4xx error code (e.g., 404 Not Found, 403 Forbidden, 400 Bad Request). This will guide you towards the most likely cause.
Check your server logs for detailed error messages, including timestamps and file paths. Use tools like WP Super Cache or Query Monitor to view detailed error information directly in your WordPress dashboard.
2. Troubleshoot Based on the Error Code:404 Not Found:
Verify file/URL existence: Ensure the requested file or resource actually exists at the specified URL. Double-check spelling, capitalization, and relative/absolute path accuracy.
Permalinks configuration: Review your WordPress permalink settings (Settings > Permalinks) and ensure they're configured correctly, particularly if you've recently made changes.
URL rewriting conflicts: If using plugins or other modifications that rewrite URLs, temporarily disable them to see if they're causing the issue.
Caching: Clear your browser cache and any caching layers on your server (e.g., WP Super Cache, Cloudflare) to rule out outdated cached responses.
403 Forbidden:File/directory permissions: Check file and directory permissions on your server using an FTP client or control panel. Ensure appropriate read/write permissions are set for the affected files and directories.
Plugin/theme conflicts: Temporarily deactivate all plugins and switch to a default WordPress theme to isolate if a plugin or theme is causing the issue. Re-enable them one by one to pinpoint the culprit.
.htaccess directives: Review your .htaccess file (often in the root directory) for any rules that might be blocking access unintentionally. Back up the file before making changes.
400 Bad Request:URL length/complexity: Shorten or simplify URLs if they're excessively long or contain special characters. Avoid spaces, non-alphanumeric characters, and excessive query parameters.
Server limitations: Check your hosting provider's documentation for any limitations on request headers, payload size, or other factors that might trigger this error.
Plugin incompatibility: Update or deactivate plugins that might be interfering with form submissions or other operations that could lead to a 400 error. -
Sometimes my website opens smoothly <a href="https://www.srinagarcabservices.com/">Srinagar cab services </a> but sometimes it shows error.
-
@VS-Gary can you give suggestion. the link is webomates.com
-
@michaelngo its hosted on wordpress (blueshost server)
-
@VS-Gary This means there's something wrong at the server end in terms of configuration files..
Where are you hosted?
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
-
Unsolved 4xx error help.
Good morning. My site says I have over 300 pages with 4xx errors. When I go in to check they are either labeled with a code 406 or 409. My page is set without the www before the url but I see that it is considered a redirect. Can this be the cause? Thanks in advance.
Support | | lgeprimeplumbing0 -
Unsolved 4xx error help
Good morning. My site says I have over 300 pages with 4xx errors. When I go in to check they are either labeled with a code 406 or 409. My page is set without the www before the url but I see that it is considered a redirect. Can this be the cause? Thanks in advance.
Support | | lgeprimeplumbing0 -
Does Moz Pro provide a list of external (vs internal) links on our website?
Is there a tool (in MOZ?) that lists all the links on our website that point to external links (vs internal links)?
Link Explorer | | analytics-moz0 -
I have over 3000 4xx errors on my site for pages that don't exist! Please help!
Hello! I have a new blog that is only 1 month old and I already have over 3000 4xx errors which I've never had on my previous blogs. I ran a crawl on my site and it's showing as my social media links as being indexed as pages. For example, my blog post link is:
Technical SEO | | thebloggersi
https://www.thebloggersincentive.com/blogging/get-past-a-creative-block-in-blogging/
My site is then creating a link like the below:
https://www.thebloggersincentive.com/blogging/get-past-a-creative-block-in-blogging/twitter.com/aliciajthomps0n
But these are not real pages and I have no idea how they got created. I then paid someone to index the links because I was advised by Moz, but it's still not working. All the errors are the same, it's indexing my Twitter account and my Pinterest. Can someone please help, I'm really at a loss with it.
2f86c9fe-95b4-4df5-aeb4-73570881938c-image.png0 -
I build DA from 15 to 26 in 45 days, but now it stop. We have links from 50+ high authority websites and building more.
Hi Team I build my website domain authority from 15 to 26 points in the last 2 months. We getting links from high DA traffic websites all across the globe through guest posting. We grow from 34 linking domains to 155 in this duration(45days) and still, we are working on getting quality links through authority websites. My DA stops on 26 which is not growing for last 2 weeks. Please share your views on it. Thanks in advance
Link Explorer | | AtulSharan1 -
Crawling 4XX errors because of URL accented
Hello guys, I am experiencing crawling errors in Moz because the URLs read by spiders contain accents and special characters, which I know isn't best but yet my client needs to keep it. I know that Moz "uses percent encoding to parse the HTML in the source code, so any line breaks and spaces in your HTML links or sitemap links are converted to %0A and %20, causing a 404 error". Is there any way to avoid these errors happening in the dashboard? Or am I supposed to simply ignore it?
Link Explorer | | fran8751 -
Error Message on Moz Crawler
Hi all, Just ran into this issue, when analysing this site. Just got this message when using MOZ "Page Optimisation Error". Anyone know why? It seems to be working fine on other SEO analyser tools. Website is: www.sbpcreativemedia.com.au Thanks in advance! luXS8V5
Link Explorer | | Dushala0 -
How we can improve DA and PA of our website?
What is the main reason PA and DA is low of my website compare to other competitors websites? How can improve PA and DA of our website?
Link Explorer | | surabhi60