The URL redirect is the process of transferring the old URL to a new one, which allows your visitors and google post to learn about the new page. Redirects are especially useful in the following cases:
If you use platforms such as Blogger or Shopify, you may already have built -in solutions for redirects. Try to look for articles for help on the request "Redirects in Blogger".
Although users usually do not notice the differences between the types of redirects, Google uses redirects as a strong or weak signal about which URL should be canonical. The choice of the type of redirect depends on how long you plan to use the redirect and what page you want to see in the search results:
The following explains what methods of setting constant and temporary redirects are most effective for Google:
Googlebot follows the redirect, and the indexing process uses the redirect as a strong signal, that the new URL should be canonical.
Googlebot also follows a redirect, but indexing uses a redirect as a weak signal about the canonical of the target.
To configure server redirects, access to server configuration files (for example, .htaccess for Apache) or tuning redirects using server scripts (for example, PHP) are necessary. You can create both permanent and temporary redirects on the server side.
If you need to change the page of the page so that it is displayed in the search results, we recommend using a constant server redirect when possible. This is the best way to ensure that Google-Poral and users fall on the right page. The status code 301 and 308 means that the page was forever moved to the new URL.
If you need to temporarily redirect users to another page, use a temporary redirect. This will also help Google save the old URL in the search results for a longer period. For example, if the service on your site is temporarily unavailable, you can set a temporary redirect to redirect users to a page with an explanation of what is happening, without influencing the original URL in the search results.
The implementation of server redirects depends on your hosting, server environment or programming language on your site’s bachelor.
An example of a constant redirect using PHP:
header('HTTP/1.1 301 Moved Permanently');
header('Location: https://www.example.com/newurl');
exit();An example of a temporary redirect using PHP:
header('HTTP/1.1 302 Found');
header('Location: https://www.example.com/newurl');
exit();If you have access to a web server configuration file, you can configure the redirect rules yourself:
# Постоянный редирект: Redirect permanent "/old" "https://example.com/new" # Временный редирект: Redirect temp "/two-old" "https://example.com/two-new"
location = /service {
# для постоянного редиректа
return 301 $scheme://example.com/about/service;
# для временного редиректа
return 302 $scheme://example.com/about/service;
}If you cannot realize server redirects on your platform, meta-shares can be an acceptable option. Google distinguishes between two types of meta-cores:
Google processes and performs JavaScript using Web Rendering Service after the URL has been fully processed. Use JavaScript redirects only if it is impossible to make server or meta-codium. Keep in mind that sometimes rendering may not pass successfully, and Google will not see Redirect.
If you cannot use standard redirect methods, add a link to a new URL with an explanation. This will help users find your new page. However, do not rely on Crypto cores, as they are not always understood by search engines.
When you use a redirect, Google tracks both old and new URLs. One of these URLs will become canonical, depending on the type of redirect. For example, if you transferred the site to a new domain, Google can from time to time show the old URL in the search, although the new is already indexed.
If you need help to set the redirects on your site, you can contact the SEO.computer SEO compound on any issue on email info@seo.computer Or whatsApp +79202044461.
ID 102