November 14, 20169 yr ... or you can 301 with php before the headers are sent, often tidier for cleaning up stray garbage e.g. /oldpage.php?fart=3&cheese=1 or for transferring from a string based to a pretty url structure e.g. /products.php?cat=shoes&col=red to /products/shoes/red.
November 29, 20169 yr .htaccess is good for redirection, if you're using wordpress website then you redirection plugin, easy tool
January 28, 20179 yr You can add redirection code in .htaccess file but every time do changes with it is not an recommended way to do redirection. So I want to suggest you to add redirection through plugin to your website. I found one free plugin for that some days ago named Trash Duplicate and 301 Redirect → goo.gl/6eQWpI
Create an account or sign in to comment