A quick table of the differences in 301, 302, 303, and 307 Redirects.
On a project I needed to redirect a URL based on the presence or absence of a URL parameter. This is the htaccess rule I added.
When creating 301 redirects, I often want to check multiple URLs quickly from the command line (to avoid the manual clicking in the browser and browser caching of results). I’ve written this script to speed up my process.
As a web developer, this article is going to focus on the use of a QR code (Quick Response Code) to point to a website URL. The first step in properly implementing your QR code, which points to a website URL, is to ask yourself, “Does this need a QR code?” Hint: the answer is […]
I had to setup a redirect the other day with a hashtag. Whenever a visitor hit a specific URL, I wanted to redirect them to another URL but I also wanted to include a hashtag to indicate where they came from when tracking the information in Google Analytics. It appears the secret is the NE […]
Chrome Caches Redirects Google Chrome caching redirects, is a known behavior and not one that is planned to change. This is a logical decision, unfortunately the lack of any obvious mechanism to clear these redirects is frustrating at times. There are generally two situations where this occurs. When the Website Returns a HTTP Status Code […]
While SEO is not my focus of expertise, it is an interesting field which impacts the work I do. I was surprised when fellow developer Dustyn Doyle pointed out to me that Google was indexing 301 redirects. Based on my research, I couldn’t find any of these 301 redirect links coming up in general searches; […]
Testing redirects can be a nightmare since the web browsers aggressively cache redirects. Use incognito mode in Chrome to make it easy to clear cached redirects by closing the Incognito window. Even Better Update Testing redirects from the command line works even better. curl -I http://www.example.com/ will return the headers for the request including the […]