i read that 301 and 302 errors represent the fact that a file has been moved from one location to another or from one server to another. how do i set 301 and 302 errors? is it through htaccess just like 404 errors? and how exactly do they work. thanks in advance for your help.