Learning Media

what is 301 and 302 redirects

Written by Aman yadav

Basically the difference between 301 and 302 in not so much. these are used for permanent and temporary redirection . For maintain SEO of website these both use at different conditions . So you know how to use 301 and 302  in htaccess, if not then read here . So now one by one i describe 301 & 302

Recommanded post: how to use htaccess ?

What  301 url redirection ?

This is basically use for permanent redirection where no need to maintain SEO. Now how to use this

In your htaccess file you just write :

Redirect 301 / http://www.liveurlifehere.com/

I hope you change the URL without mention.If you want to test then you can take same. If you do not want to change there is no problem 🙂 

Now your link redirect to another website .This is permanent url redirection .

What is 302 url redirection ?

Basically this is used for temporary landing page for few day’s . This is basically used for SEO purpose that means Search engine not take this page in index.

So now how to use this :

Redirect 302 / http://www.liveurlifehere.com/

I hope you change the URL without mention.If you want to test then you can take same. If you do not want to change there is no problem 🙂 

Now you can easily understand where you use 301 and where 302 url redirection.

A2hosting
Uptime
Features
Support
Overall

Pros

  • Best Support
  • Low Price
  • 100% Uptime
  • Fast Speed Server

Cons

  • No Cons For this

About the author

Aman yadav

Article writer @ Liveurlifehere Blog : I am writing on Top trending article on web,technology-how to,entertainment,top n category post .I am always try to reach you diffrent & good quality content then ever.

Leave a Comment