Tuesday, April 19, 2011

redirect 301 in .htaccess file

When I consolidated all of my number eaters games to one file. I still had external links to the old games such as hoodamath.com/games/additioneaters.com <!--more-->But I wanted any user that was looking for addition eaters to be redirect to my newly made number eaters game. I did this by adding a line to my .htaccess file

redirect 301 /games/additioneaters.php http://hoodamath.com/games/numbereaters.php