301 redirects

1 · Dave Dupplaw · Feb. 11, 2018, midnight
A 301 is the HTTP response code that tells your browser that the site it visited has been permanently moved to somewhere else. When moving a site, you can use 301s to automatically forward vistors from your old URLs to your new ones. The simplest form, is using Apache’s .htaccess files which allow you to control the web server’s behaviour. In the root of the location you want to redirect, add a file .htaccess and put into it: RedirectPermanent / http://my.new.domain/ Two things to note here: ...