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!!!
-
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.
-
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-
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Rel Sponsored on Internal Links
Hi all. Should you use rel sponsored on internal links? Here is the scenario: a company accepts money from one of their partners to place a prominent link on their home page. That link goes to an internal page on the company's website that contains information about that partner's service. If this was an external link that the partner was paying for, then you would obviously use rel="sponsored" but since this is a link that goes from awebsite.com to awebsite.com/some-page/, it seems odd to qualify that link in this way. Does this change if the link contains a "sponsored" label in the text (not in the rel qualifier)? Does this change if this link looks more like an ad (i.e. a banner image) vs. regular text (i.e. a link in a paragraph)? Thanks for any and all guidance or examples you can share!
Technical SEO | | Matthew_Edgar0 -
"noindex" internal search result urls
Hi, Would applying "noindex" on any page (say internal search pages) or blocking via robots text, skew up the internal site search stats in Google Analytics? Thanks,
Technical SEO | | RaksG0 -
What if I point my canonicals to a URL version that is not used in internal links
My web developer has pointed the "good" URLs that I use in my internal link structure (top-nav/footer) to another duplicate version of my pages. Now the URLs that receive all the canonical link value are not the ones I use on my website. is this a problem and why??? In theory the implementation is good because both have equal content. But does it harm my link equity if it directs to a URL which is not included in my internal link architecture.
Technical SEO | | DeptAgency0 -
How to find an internal link that is generating a duplicate
Hello Mozers Can anybody help me. It's a bit OCD, but, I really want to find the internal links within a clients site that are generating duplicate urls. I did start looking page by page using search, but got a bit stir crazy! I'm sure one of you smart SEO's will have a simple, clever solution:) Thanks Catherine
Technical SEO | | catherine-2793880 -
Internal Linking
Hello there, I own a "how to" website with 1000+ articles, and the number of articles is growing every day. Often some articles are easier to understand if I link a certain step to an article that was written before, because that article explains the step in more detail. Should I use "read here/read more" or the "title of the article I'm referring to" as anchor text? When is internal linking too much? Should I use nofollow?
Technical SEO | | FisnikSylka0 -
How Much Authority Needed for Page with 1000 Internal Links?
Hypothetically speaking, if you wanted your homepage to have 1000 links, how much Page Rank or link authority would you need at a minimum (in order for Google to crawl all the links on the page)? Here is an example: http://www.khanacademy.org/#browse
Technical SEO | | ProjectLabs0 -
Internal Linking
Where is the best information on internal linking. I'm so confused and everything I read says something different. Ahhhh Thanks
Technical SEO | | meardna770 -
Does Google care how you write internal links?
I am changing ecommerce platforms. For my internal linking on the old site there was a lot of old links written like this: http://www.domain.com/page-name But now i am writing links mostly like this: /page-name Will that make a difference to search engines? Is one easier than the other for them to interpret?
Technical SEO | | Hyrule0