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
-
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 -
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 -
PA 1 and DA 1, the website is not new
Hi everyone! I have a website (ponturipariuri.pro), few years old. The PA and DA used to be around 25-35 but now it shows me 1 for both PA and DA. I just discovered it and I do not understand why. Take a look at the image I attached here. There was no spam on my website. Google still shows my website on the first page for many keywords. 3ojp7qt.png
Link Explorer | | adi23050 -
Open site explorer is giving me strange redirect message.
Hi all, I tried to find answer in help section. Few people have asked this before but in none of the answers it tells how they fix it. Sorry I will need to ask here again. In Open Site Explorer i get this message. You entered the URL https://a-fotografy.co.uk/ which redirects to http://www.a-fotografy.co.uk/. Because it's likely to have more accurate metrics, we're showing data for the redirected URL instead. Click here to analyze https://a-fotografy.co.uk/ instead? My current site is https://a-fotografy.co.uk/ not sure why it is redirecting to my old domain. Weird. My web developer couldn't explain this issue. Saying that I also go my first analytics report and in priority issues I have http://a-fotografy.co.uk 302 redirect and not sure where it is redirecting to. If someone could shed some light of how to figure out how to find exactly what is redirecting to what and where is the problem. Thank you guys, Regards, Armands
Link Explorer | | A_Fotografy0 -
Incorrect crawl errors
A crawl of my websites has indicated that there are some 5XX server errors on my website: Error Code 608: Page not Decodable as Specified Content Encoding
Link Explorer | | LiamMcArthur
Error Code 803: Incomplete HTTP Response Received
Error Code 803: Incomplete HTTP Response Received
Error Code 608: Page not Decodable as Specified Content Encoding
Error Code 902: Network Errors Prevented Crawler from Contacting Server The five pages in question are all in fact perfectly working pages and are returning HTTP 200 codes. Is this a problem with the Moz crawler?1 -
Why I am not seeing any inbound link to my website?
While using the Open Site Explorer tool, I don't get any resultfor Inbound Links, while with other services and the Webmaster Tools I can see which websites are linking to mine. What I can do to see these results here on the MOZ analytics software? The website is http://b5footballcup.com Thanks for the support. Luca
Link Explorer | | lucab50 -
804 HTTPS (SSL) error
In my Moz crawl report I get: Crawl Error
Link Explorer | | Happy-SEO
Moz encountered an error on one or more pages on your site
Error Code 804: HTTPS (SSL) Error Encountered The Moz Help Section only says: 804 HTTPS (SSL) error 804 errors result from a site with misconfigured SSL software. If Moz's crawlers cannot correctly interpret an SSL response for a home page, the crawl ends immediately. My site is publicly accessible on https - https://www.compleetverkleed.nl/ And I'm not seeing any issues with my certificate. Can anyone help me out? What steps can I take to troubleshoot this error? If SSL is misconfigured, how do I configure it properly?3 -
How can I get a list of all the links going out from my website
How can I get a list of all the links going out from my website and from which pages of my site. can I get this list using Moz, I also have ahref.com account, can I use that if yes how or do I need to use some other tools. Thank you
Link Explorer | | SinaKashani0