Return a 404 When Youโre Supposed To, Or Get Dinged by Google

A friend’s website’s Google rankings have tanked after their redesign. And I think I know why. Have a look at the status codes their web server returns when you request a garbage URL (a page that couldn’t possibly exist)… #lwp-request -S www.randomcompany.com/dafsadf GET https://www.randomcompany.com/dafsadf –> 301 Moved Permanently GET https://www.randomcompany.com/search?q=dafsadf%20 –> 200 OK A 301 […]