Methods to Setup 301 and 302 Redirects by googlewebinfo55

Today I’ll explain the differences between 301 or 302 redirects, and how they impact SEO below: 301 redirects: A 301 redirect tells search engines to content permanently moved and consolidates the old URL with the new URL. This it’ll carry over its value (and often its rankings too).

302 redirect: A 302 redirect tells search engines content has temporarily moved and DOES NOT consolidate the old URL with the new URL. The old URL will remain in the index and will still be able to rank as it did before.

  • Why is it important to 301 redirect URLs for SEO?
  • To preserve your build-up rankings. 301 redirects will pass as much value from the old URLs to the new URLs as possible. Redirecting old URLs to the most relevant new URLs
  • You must find the most relevant new URL for each of the old URLs because you’re going to try and carry over the rankings the old URL has to the new URL. Therefore it’s super important to think about this carefully.
  • If you don’t do the redirects may be seen as soft 404s and search engines won’t pass the authority over from the old URL.

You can easily set up redirects in SiteGround without editing any files.

 

Setup Redirects in SiteGround Hosting

Before explaining the setup process, remember the following things:

SiteGround Redirects for WordPress Sites?

You may wonder, why you should use a redirect from the hosting account when there are plenty of free plugins available for this. There are good reasons for this. WordPress plugins will only work when you want to set up redirects within the site’s articles. You can’t set up a redirect from an HTML page from a subdirectory to one of your WordPress pages or vice versa. For example, the Redirection plugin will show you a warning when you try to create a redirect with a page from outside your WordPress installation.

Warning in Redirection Plugin

You can see the warning message reading “Some servers may be configured to serve file resources directly, preventing a redirect occurring”. Though the plugin will not stop creating a new entry, you can check it will show you an error. In the end, the redirect will not work as intended.

Redirect Not Working

Second thing is that WordPress plugins will not work for subdomain and domain to domain redirects. You can easily do this with the SiteGround “Domain Redirects” setup. Here are some possible scenarios that work like a charm with SiteGround hosting redirects.

Remember, in all these scenarios the sites should be hosted in the same hosting account. As we have checked, regex redirect also works with the setup.


How to Setup Redirects in SiteGround Hosting?

Follow the below step-by-step instructions to set up 302 or 301 redirects in the SiteGround hosting account.

Go to Site Tools Interface
Domain Redirects in SiteGround
Create New Redirect in SiteGround
Example Redirect
Redirect Created

Validating the Entry

SiteGround will validate the entry when type. You can see the green outline indicating the entry is valid and the red outline with a message showing an error.

Error Validation

However, after creating an entry you should manually test the redirection is working properly by opening the source URL in the browser. It should redirect to the destination path as per your redirection setup in SiteGround.

Managing Redirects

You can view all created entries under the “Manage Redirects” section. Each entry will have two options for editing and deleting. Anytime, you can click on the delete icon to remove the entry permanently from the setup. This will disable the redirect and you need to set it up again if needed. Similarly, you can click on the pencil icon to edit the entry to change the redirect type from 301 to 302 and vice versa.

Edit and Change Redirect Type

Limitation in the Setup

We love this feature as it works well across all your domains and subdomains. However, there are some limitations.