Post by account_disabled on Nov 26, 2023 9:50:34 GMT
Here are some examples that may be useful. Redirection in case of an encrypted connection If we activate an SSL certificate, remember to include the following code to force the page to open with use the following code: [R=301,L] Redirecting the subpage to a new address Is the product or item available at a different address? Then you need to use the following code: RewriteEngineOn RewriteBase / Redirect 301 /old-address.htm /new-adres.html 301 or 308 redirect? The most well-known type of redirection that should be used in the case of a permanent change of address is 301. However, Google materials also contain information about another type of permanent redirection, namely 308. So which one should you use? Types of redirects Source:=pl, 08/12/2021 The 308 redirect is the http 1.1 standard.
But it is not yet widespread enough to make its use currently Special Database necessary. It may still not be supported by some search engines, browsers or servers. Therefore, at this stage, the 301 redirect is the right choice. Redirect 301 and 302 302 redirection is used when we only want to temporarily transfer the user to a given address. This means: we signal to the search engine algorithm that for some reasons we are currently redirecting the Internet user to another subpage, but we will soon return to the previous one. We indicate that both addresses are active, but currently the one to which 302 points should be displayed to Internet users. The key difference with 301s is that there is no SEO power transferred. Another issue - the current address will not be indexed - it should remain in the Google database. Rel=canonical instead of 301 redirect Using the rel=canonical tag, we show search engine robots the canonical version of the page, i.e. the original. Its task is, among others, Eliminating Google's indexing of subpages that are duplicates does not contribute anything. These may be, for example, subpages generated as a result of using result filtering. However, is this a solution that can replace the 301 redirect? It is worth using rel=canonical when, for some reasons, we cannot use a 301 redirect. The advantage of implementing this solution is that we do not need access to the server configuration files - just add the following code in the This is relatively easy and we should be able to handle it without any major problems. How long to keep a 301 redirect? For a year?
Recently, after one of John Mueller's statements, a theory emerged in the SEO industry that it is enough to maintain a 301 redirect for a year and then it can be removed, because Google has already transferred SEO power to the new address anyway. John suggests keeping the 301 redirect as long as you want your landing page to rank high. What mistakes should you avoid? Using a 302 redirect We already know the difference between a 301 redirect and a 302 redirect. Unfortunately, these two codes are often confused and can lead to undesirable results. So let's use the Site Audit Tool to examine the status of the redirection that is being used on our site. Redirecting to the wrong place Let's try not to make this mistake. Let's make sure that users are redirected to the page they are actually looking for. Otherwise, you can be sure that your conversion rate will drop dramatically. Javascript redirection The use of Javascript redirection is strongly discouraged by specialists because it poses the risk that search engines will not be able to render the page. The reason for this problem may be that many sites do not allow indexing of JS or CSS files. 301 redirection – an essential element in SEO Using 301 redirects is an everyday occurrence in the SEO industry and an essential element in it. It is not difficult to implement, does not require advanced technical knowledge, and its use in many situations is crucial. In case of problems, you can use the support of an SEO agency .
But it is not yet widespread enough to make its use currently Special Database necessary. It may still not be supported by some search engines, browsers or servers. Therefore, at this stage, the 301 redirect is the right choice. Redirect 301 and 302 302 redirection is used when we only want to temporarily transfer the user to a given address. This means: we signal to the search engine algorithm that for some reasons we are currently redirecting the Internet user to another subpage, but we will soon return to the previous one. We indicate that both addresses are active, but currently the one to which 302 points should be displayed to Internet users. The key difference with 301s is that there is no SEO power transferred. Another issue - the current address will not be indexed - it should remain in the Google database. Rel=canonical instead of 301 redirect Using the rel=canonical tag, we show search engine robots the canonical version of the page, i.e. the original. Its task is, among others, Eliminating Google's indexing of subpages that are duplicates does not contribute anything. These may be, for example, subpages generated as a result of using result filtering. However, is this a solution that can replace the 301 redirect? It is worth using rel=canonical when, for some reasons, we cannot use a 301 redirect. The advantage of implementing this solution is that we do not need access to the server configuration files - just add the following code in the This is relatively easy and we should be able to handle it without any major problems. How long to keep a 301 redirect? For a year?
Recently, after one of John Mueller's statements, a theory emerged in the SEO industry that it is enough to maintain a 301 redirect for a year and then it can be removed, because Google has already transferred SEO power to the new address anyway. John suggests keeping the 301 redirect as long as you want your landing page to rank high. What mistakes should you avoid? Using a 302 redirect We already know the difference between a 301 redirect and a 302 redirect. Unfortunately, these two codes are often confused and can lead to undesirable results. So let's use the Site Audit Tool to examine the status of the redirection that is being used on our site. Redirecting to the wrong place Let's try not to make this mistake. Let's make sure that users are redirected to the page they are actually looking for. Otherwise, you can be sure that your conversion rate will drop dramatically. Javascript redirection The use of Javascript redirection is strongly discouraged by specialists because it poses the risk that search engines will not be able to render the page. The reason for this problem may be that many sites do not allow indexing of JS or CSS files. 301 redirection – an essential element in SEO Using 301 redirects is an everyday occurrence in the SEO industry and an essential element in it. It is not difficult to implement, does not require advanced technical knowledge, and its use in many situations is crucial. In case of problems, you can use the support of an SEO agency .