A 301 redirect is one of the methods used by webmasters (when creating websites) and SEO specialists (during optimisation). The frequently used “three hundred and one” is a way of redirecting a user from one page to another – this applies to entire domains as well as individual pages. To be able to do this, the relevant formulas must be included in the portal’s .htaccess file. If a CMS is used, it is also possible to automatically draw up rules using the relevant plug-ins.
Why is the implementation of this type of solution so important and should be an integral part of the optimisation of any website? This is because a 301 redirect allows:
- access to a page only at one address, which eliminates the problem of creating duplicate content for all its versions (https://…, https://www…, http://… and http://www…);
- referring users from the old domain to the new one;
- referring users to the correct location when the URL of specific resources has changed.
Over time, 301 redirect pages disappear from search results.
A 302 redirect works on a similar principle, but should only be used as a temporary measure and therefore in cases of temporary technical problems with the site or during site upgrades. The “three hundred and two” setting does not cause the redirected pages to be de-indexed, so it is a method that every SEO specialist or webmaster must be familiar with.