Search code examples
phplaravelgooglebothttp-status-code-503

Google bots get 503 errors while indexing my website


While google (or any other robot) is crawling my website developed using Laravel, it gets 503 Server Unavailable error. I can visit my website without any problem and do not get any error: http://www.kurumyonetimsistemi.com

How can I fix this problem?

Edit:

503 error is because I am redirecting not found pages to a custom page. If I remove this redirect, robots get 500 Internal Server Error. But I can display my website on a browser without problem.


Solution

  • Well, after a while of searching, I have found the problem. I was getting the visitors browser language and stroing it as a cookie. This process causes errors for robots. If I remove the code, the problem is solved.