Tag Archives: PHP

Canonicalize your WordPress

WordPress recently updated it’s core library to handle Canonicalization of pages and posts to avoid duplicate content(as explained here). Here is a small snippet of code to provide you with a more flexible and customizable way of making canonical URLs … Continue reading

Posted in Tutorials | Tagged , , , | Leave a comment

Detect a returning user with Browser cookies

There are a few ways to tackle this problem. Let’s take a look at the easiest way to do this. basically, we will be using the browser’s COOKIES. These are data stored in your browser about your visit on a … Continue reading

Posted in Tutorials | Tagged , | Leave a comment