Tracing or Preventing HTTP Redirects in Golang

In this post we’re going to have a look at how to have a close look at HTTP requests processed by Go and how to prevent automatic redirection through 301, 302 or similar redirects. This is useful both for investigating tracking links from twitter, buffer, bit.ly or email marketing, or to make sure your tools to generate them actually work 😉 For a demo, check out the Redirect Checker Tool

Continue reading “Tracing or Preventing HTTP Redirects in Golang”

Increase in Not Found Errors in Google Webmaster Tools?

I got some notifications from the Google Webmaster Tools recently. Increasing numbers in both server and not found errors. Here is how I solved them.

How to get rid of Not Found Errors?

Either put the missing content back up or tell Google and any other service or visitor that it is gone for good. I’ve written an article on How to take a site offline through .htaccess, that’s what I used here. Continue reading “Increase in Not Found Errors in Google Webmaster Tools?”

Take site offline with .htaccess

To take down a website or part of one, you can just point search engine spiders to the 410 status code.

.htaccess makes it very easy to flag a link as offline or gone. It’s what we’ll use to tell either google or other search engine spiders that the content that once was there is not anymore and that it is our deliberate choice.

Continue reading “Take site offline with .htaccess”