Internal 302s
-
I am noticing a lot of 302 status codes on my site. After inspecting the elements, I believe this is because a link on a certain page is 302ing to a secure page. So when it changes the URL from http to https its using 302. Is this something important to change and would I change this to 301s? There are thousands like this.
Thanks much!!!
-
I believe it is important for a website to use only one version of the URL either HTTP or HTTPs or else you will also see lot of duplication of content problems as well. It is recommended to choose one and redirect 301 all other forms to the one your preferred.
-
Download and run screaming frog SEO spider
http://www.screamingfrog.co.uk/seo-spider/
it is wonder percent free and runs on Mac, Windows and Linux
the only cost is incurred when you go past 500 pages.
However this tool will allow you to change 302 into 301 if needed. If using the paid version.
You can also use http://Internetmarketingninjas.com/tools/
look for broken link checker and site map creator.
It will give you a good idea of what's going on your site and it costs you nothing. unless you are using a very unique set up like a reverse proxy or you're setting up your own load balancers you probably should not of the 302 although some people think it's wise to use it on Loggins and in some cases SSLs always found that logins
see if you have any of the things below and run your site through the tools above they will tell you what you need to do. If you need more help let me know,
Thomas
unique circumstances below
http://moz.com/community/q/using-a-302-re-direct-from-http-www-to-https-www-to-secure-customer-data
https://www.varnish-cache.org/trac/wiki/VCLExampleRedirectInVCL
http://community.jaspersoft.com/wiki/f5-load-balancer-and-tomcat-302-error
https://support.cloudflare.com/entries/22576178-Is-there-a-tutorial-for-PageRules-
-
First, I wouldn't use https unless you really need that page to be secure, such as forms, shopping carts, or any page where someone inputs personal information, or where their personal information (or others') is displayed.
Second, in cases where you really need to use https then yes, I would 301 redirect the http version to the https version of the page.
You may also consider using rel canonical tags to help search engines figure out which version is the one you want them to use.
Lastly, if you choose to go with http on some of those pages just make sure you update all of the internal links so they point to the right URL instead of relying on the redirects to do this for you.