Many people don't realize that browsers cache 301 redirects. A 301 redirect is a permanent redirect from one URL to another. It only makes sense that a browser should cache a 301 redirect, after all, it is permanent.
A common mistake when setting up multiple redirects for a website is failing to put them in the correct order. Typically, the person setting them up realizes that order is important; but it isn't always clear how the redirects should be ordered.
If you have decided to change your site’s domain and are hosting your old site on an Apache server, then redirecting traffic to the new site is relatively simple. The most important aspect of the move is to ensure that you don’t lose visitors and that you don’t lose any existing rankings with the search … Continue reading Redirect an Old Domain to a New Domain with .htaccess
The Euclidean algorithm is a mathematical formula for efficiently determining the greatest common divisor between two integers. It is great for simplifying fractions. Yep, I can see your eyes glassing over already. If you really want to know more about this algorithm other than my code snippet, just read the about Euclid’s algorithm on Wikipedia. … Continue reading The Euclidean Algorithm in PHP
How many times have you been to a website, found a link that sounded interesting, and clicked on it only to be taken to a page that says ‘page not found’? Broken links can be extremely frustrating for your website’s visitors. They can also be costly to you if visitors can’t access your sales or … Continue reading Check for Broken Links!