301 Variable Redirection with PHP

Yesterday I posted “301 REDIRECTION WITH PHP“, a mini how-to where I explained how to make a permanent redirection with PHP. But, if your case is similar to mine, that code it is not sufficient, and we must make a different redirection for each URL request. To do that in one file, you must write the […]


301 Redirection with PHP

Sometimes you might want to redirect your visitors to a new URL address. One reason you may want to do this is that the page they are trying to access no longer exists. There are 3 types of redirection, 301, 302 and 303. ‘Redirection 301’ is for that pages that are moved permanently. In PHP, […]