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 -
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 -
Getting Page Optimization Error
Hello, I am trying to use the On-Page grader and i keep getting Page Optimisation error: The url is : https://marketsmithindia.com/mstool/evaluation.jsp The page seems to load fine in multiple browsers. I also dont have any rogerbot user-agent related errors on other pages. Please help resolve. Regards, Neeraj
Link Explorer | | Neeraj-Khanna0 -
804 error preventing website being crawled
Hi For both subdomains https://us.sagepub.com and https://uk.sagepub.com crawling is being prevented by a 804 error. I can't see any reason why this should be so as all content is served through https. Thanks
Link Explorer | | philmoorse0 -
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 MoZ Bar gives different PA and DA to my homepage? Surly they should have the same metrics?
Hi guys, is it normal that when looking at my homepage with the mozbar i get the same DA and PA? It seems that it should provide the same results. Thankss
Link Explorer | | artdivision0 -
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 -
Open Site Explorer does not show my website backlinks
My website URL - packforcity.com I have backlinks from pinterest, flickr, yahoo, etc. but open site explorer does not show any in backlinks. my pinterest PA is 47.??? any suggestions why it does not show in backlinks?
Link Explorer | | ross254sidney0