Google Reminds Sites to Serve a 503 When Patching PHP Offline
· Digital Living
Google has reminded site owners that if they take a site offline to patch PHP, they should return a 503 status. The 503 should be served from outside PHP, and robots.txt should stay reachable.
Google has issued a reminder for websites that go down while PHP is being patched. The advice is to serve a 503 response during the downtime, which signals that the outage is temporary.
The 503 should come from outside PHP. If PHP is the layer being patched, a response generated by PHP may not be available when it is needed. Sites should also keep their robots.txt file reachable while the rest of the site is offline.
The risk is greatest when the outage drags on. According to the report, several days of server errors may cause URLs to be dropped. For a business, that could mean pages disappearing from search results because of a maintenance job.
The reminder is brief, but it covers a routine task that many teams handle without involving their SEO or marketing staff.
Takeaway for businesses: Before any PHP patching or planned downtime, make sure your developers set up a 503 response outside PHP, keep robots.txt reachable, and finish the work quickly.