Skip to content
Advertisement
  1. SEJ
  2.  ⋅ 
  3. SEO

A Guide To 301 vs 302 Redirects For SEO

Here's a simple explanation of 301 and 302 redirects, giving you an overview of the appropriate uses for each.

Appropriate uses of 301 and 302 redirects.

There are multiple ways to redirect a webpage or an entire website, the two main ways being either a 301 or 302 HTTP response code.

Choosing the right one for the appropriate situation is important for SEO because it sends a signal to Google about how to respond to the redirected webpage, including whether to consider it as canonical.

While Google is constantly evolving how it handles signals, that provided by 301 and 302 response codes has not changed.

In this guide, you’ll learn what 301 and 302 redirects are for, when each one is used, how they impact SEO, and more.

HTTP Response Status Codes

When a browser requests a webpage from a server, the server sends a response to the browser to tell it if the request was successful.

That response is called an HTTP Response Status Code.

The response code tells the browser the status of the request for a webpage.

There are five kinds of HTTP Response Status Codes:

  1. Information responses.
  2. Successful responses.
  3. Redirection responses.
  4. Client error responses.
  5. Server error responses.

What Are 301 And 302 Redirects?

A redirect response status code is a message from the server to the browser, telling the browser that the webpage no longer exists at the requested URL.

The redirect response code also informs the browser that the requested webpage has moved to another URL and that the server is now redirecting the browser to the requested webpage at the new location.

You might want to redirect a page for a variety of reasons, including:

  • Choosing the canonical URL between WWW and non-WWW.
  • You have a new website or page.
  • Forcing the browser to use HTTPS when it visits using HTTP.
  • You’re fixing a webpage and want users to go to a different page while the old one is under construction.

The purpose of the redirect decides which kind of redirect to choose.

Choosing the wrong option could impact your SEO.

Choosing the correct redirect guarantees that you’ll at least maintain your current rankings.

What Is A 301 Redirect?

A 301 redirect sends the message to search engines that a website or page has been moved permanently.

Permanent means about a year or longer. After a year, check to see if people are still being redirected to your site.

If they are, figure out where they’re coming from and try to fix the source before you cancel the redirect.

Google’s John Mueller recently recommended keeping a 301 redirect in place for at least a year.

When Should You Use 301 Redirects?

Many people use a 301 redirect when they purchase domains that they want redirected to their primary domain.

You might do this with domains that are a misspelling of a brand or variations of the domain name, for example.

It’s also helpful to use a 301 when establishing which domain is your default site: “www.example.com” or just “example.com.”

It’s appropriate to use a 301 if you’ve merged two websites together or have outdated URLs for any other reason, as well.

What Is A 302 Redirect?

A 302 redirect lets search engines know that a website or page has been moved temporarily.

When Should You Use 302 Redirects?

Use this type of redirect if you want to send users to a new site or page for a short period of time, such as when you’re redesigning or updating your website.

Only use a 302 if you’re planning on eventually bringing the old page back or setting up a new one.

You could also use a 302 redirect if you want to test out a new page and get consumer feedback without hurting your rankings from the original page.

How Do 301 & 302 Redirects Impact SEO?

When you use a 301, Google removes the old page from their index, and most value (link equity) from that page is transferred to the new one.

With that said, it’s important to note that anytime you move a page from one URL to another, it will take search engines some time to notice the change – and therefore for you to see any potential impact/change in rankings.

In general, this time period is relatively short.

When used correctly, a 302 redirect will not hurt your SEO efforts.

When you choose this type of redirect, the original page remains indexed in Google and no value (link equity) is transferred to the new URL because Google knows this is just temporary.

Thus, you’ll retain any rankings, traffic value, and authority that page might have.

Where problems tend to arise is when people don’t know the difference between the two, and they choose a 302 to redirect a site permanently.

Essentially, they are creating a new website or page and not transferring over any of the value they’ve accrued over time from the old website or webpage.

That’s why it’s important to understand the difference between a 301 and a 302, and when it’s appropriate to use both.

How To Implement Redirects

According to Google:

“Setting up server side redirects requires access to the server configuration files (for example, the .htaccess file on Apache) or setting the redirect headers with server side scripts (for example, PHP).

You can create both permanent and temporary redirects on the server side.”

If you’re not sure how to do this, there is an Apache .htaccess Tutorial and a URL Rewriting Guide.

If your server doesn’t run on Apache, you’ll have to contact your host for direction.

If your site uses WordPress, you can take advantage of the following plugins that are intended to make redirection as easy as possible:

  • Redirection: This is intended for 301 redirects and 404 errors.
  • Simple 301 Redirects: This only works on 301 redirects, but it works well.

Redirects Impact Search Visibility

While there are nine redirect response codes that a server can send to a browser, two are used most often: the 301 and 302 HTTP response status codes.

Choosing the correct one for your purposes is critical for SEO.

That means understanding which one to use in order to help Google rank your site where it belongs.

More Resources:

  • 6 Redirect Mistakes That Can Wreak Havoc on Your Site’s Traffic
  • How Redirecting URLs Can Impact SEO
  • A Technical SEO Guide to Redirects

Featured Image: VectorMine/Shutterstock

Category SEO
ADVERTISEMENT
Adam Heitzman
Read Full Bio
VIP CONTRIBUTOR Adam Heitzman Managing Partner at HigherVisibility

Adam Heitzman is a co-founder and managing partner at HigherVisibility, a nationally recognized SEO firm. Having been a marketing executive ...

A Guide To 301 vs 302 Redirects For SEO

Subscribe To Our Newsletter.

Conquer your day with daily search marketing news.

代做工资流水公司宿迁代办企业贷流水金华购房银行流水图片芜湖企业银行流水打印信阳对公账户流水报价吉林公司流水代办芜湖打印收入证明滁州公司银行流水制作商丘打印工资流水账单宿迁车贷流水样本广州工作收入证明多少钱宁德代做工作收入证明阜阳工资证明多少钱湘潭在职证明开具菏泽日常消费流水查询中山薪资流水公司珠海收入证明费用漳州代办薪资流水苏州做背调银行流水银川对公银行流水查询哈尔滨银行流水单制作绵阳背调银行流水开具汕头企业对公流水制作西安企业流水打印多少钱郑州做工资流水单北京做收入证明遵义工资流水账单图片宜春对公流水样本衡阳查银行流水账单长沙房贷流水代开哈尔滨代办收入证明香港通过《维护国家安全条例》两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”19岁小伙救下5人后溺亡 多方发声卫健委通报少年有偿捐血浆16次猝死汪小菲曝离婚始末何赛飞追着代拍打雅江山火三名扑火人员牺牲系谣言男子被猫抓伤后确诊“猫抓病”周杰伦一审败诉网易中国拥有亿元资产的家庭达13.3万户315晚会后胖东来又人满为患了高校汽车撞人致3死16伤 司机系学生张家界的山上“长”满了韩国人?张立群任西安交通大学校长手机成瘾是影响睡眠质量重要因素网友洛杉矶偶遇贾玲“重生之我在北大当嫡校长”单亲妈妈陷入热恋 14岁儿子报警倪萍分享减重40斤方法杨倩无缘巴黎奥运考生莫言也上北大硕士复试名单了许家印被限制高消费奥巴马现身唐宁街 黑色着装引猜测专访95后高颜值猪保姆男孩8年未见母亲被告知被遗忘七年后宇文玥被薅头发捞上岸郑州一火锅店爆改成麻辣烫店西双版纳热带植物园回应蜉蝣大爆发沉迷短剧的人就像掉进了杀猪盘当地回应沈阳致3死车祸车主疑毒驾开除党籍5年后 原水城县长再被查凯特王妃现身!外出购物视频曝光初中生遭15人围殴自卫刺伤3人判无罪事业单位女子向同事水杯投不明物质男子被流浪猫绊倒 投喂者赔24万外国人感慨凌晨的中国很安全路边卖淀粉肠阿姨主动出示声明书胖东来员工每周单休无小长假王树国卸任西安交大校长 师生送别小米汽车超级工厂正式揭幕黑马情侣提车了妈妈回应孩子在校撞护栏坠楼校方回应护栏损坏小学生课间坠楼房客欠租失踪 房东直发愁专家建议不必谈骨泥色变老人退休金被冒领16年 金额超20万西藏招商引资投资者子女可当地高考特朗普无法缴纳4.54亿美元罚金浙江一高校内汽车冲撞行人 多人受伤

代做工资流水公司 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化