Ask Yoast: Use a 302 or 307 redirect?

Redirects serve multiple purposes. For every occasion there’s a specific redirect that works best. Some redirects seem quite similar though, for instance, the 302 or 307 redirect. You can both use them to temporarily point users to another URL. So we’re not surprised some people wonder what’s the exact difference. Let’s clarify this here!

WordPress specialist Marcel Bootsman, also known as Nostromo on Twitter, has send the following question to Ask Yoast:

Can you explain when to use a 302 or a 307 redirect when temporarily redirecting a URL?

Watch the video or read the transcript further down the page!

Become a technical SEO expert with our Technical SEO 1 training! »

Technical SEO 1 training$ 199 – Buy now » Info

When to select a 302 or a 307 redirect?

Let me explain when to use which one, if you need a temporary redirect:

“Well it’s actually quite simple. If the URL is really, really temporary
please do use a 307. Only use a 302 if you want the URL that you are redirecting
to show up in the search results with the content of the page that you are redirecting to.

So you have page A with a URL and you have page B with a content. You want the URL of page A to show up with the content of page B in the index. If that’s what you want use a 302. If that’s not what you want use a 307. And if something is not temporary but permanent use a 301 redirect and not anything else.

Good luck!”

Read more: ‘Which redirect should I use?’ »

Ask Yoast

In the series Ask Yoast we answer pressing SEO questions from followers. Need advice about the SEO of your website? Let us help you out! Send your question to ask@yoast.com.

Advertisements

Author: Search Engine Optimisation Company

Our team have been offering SEO expert services to clients since the early days of the internet. Whilst the tactics have evolved over the years, our overall goal by no means has and thats making sure our users web pages to rank on page 1 for appropriate keywords at the same time only using honest and long term strategies. Plan to Dominate the Search Engines? While many agencies are convinced that they have to resort to black hat SEO tactics to get results, we can get the 1st page rankings for all of our customers despite the fact that constantly guaranteeing we stick to strategies that are not frowned upon by the the search engines. What happens when you turn to black hat strategies? Without a doubt, you will get some early success, however the internet search engines will quickly discover what you are doing and you can face severe penalties which includes having your website banned with the google search results altogether. We work within guidelines of leading search engines such as Google, Yahoo and Bing! so you never need to be concerned about receiving any penalties as a result of the work we carry out for you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s