php - 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:

How can I fix this problem?


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.




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.

People are also looking for solutions to the problem: php - Laravel datatable date format doesn't work


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.