how to know wordpress issuing 302 or 301

WordPress always uses 302 redirect instead of 301 redirect. I am not going to discuss what is 301 and 302 redirect header use google :) . Now I am going to tell you how to check if your WordPress blog using 301 or 302 redirect header. Simply down load wget for windows ( Linux wget command ) from http://pages.interlog.com/~tcharron/wgetwin.html and from windows command prompt issue : wget http://yourblog.com/somepage/ It will show following output example :

C:\>wget http://timewasteblog.com/about/ –14:02:22– http://timewasteblog.com:80/about/ => `index.html’ Connecting to timewasteblog.com:80… connected! HTTP request sent, awaiting response… 302 Moved temporary Location: http://timewasteblog.com/about-2/ [following] –14:02:23– http://timewasteblog.com:80/about-2/ => `index.html’ Connecting to timewasteblog.com:80… connected! HTTP request sent, awaiting response… 302 Moved temporary Location: http://timewasteblog.com/about-2/ [following] http://timewasteblog.com/about-2/: Redirection to itself.

Bingo – I am still using 302 redirect , ya. Ok now i need fix that. how to fix that ? i will describe process in next post.

Other Posts related to current topic


MyFreeCopyright.com Registered & Protected
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
Copy right related
Blog author MR.Rav

Enter your email address:

GET UPDATES TO YOUR E-MAIL

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">