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
-
Does Google index internal anchors as separate pages?
Hi, Back in September, I added a function that sets an anchor on each subheading (h[2-6]) and creates a Table of content that links to each of those anchors. These anchors did show up in the SERPs as JumpTo Links. Fine. Back then I also changed the canonicals to a slightly different structur and meanwhile there was some massive increase in the number of indexed pages - WAY over the top - which has since been fixed by removing (410) a complete section of the site. However ... there are still ~34.000 pages indexed to what really are more like 4.000 plus (all properly canonicalised). Naturally I am wondering, what google thinks it is indexing. The number is just way of and quite inexplainable. So I was wondering: Does Google save JumpTo links as unique pages? Also, does anybody know any method of actually getting all the pages in the google index? (Not actually existing sites via Screaming Frog etc, but actual pages in the index - all methods I found sadly do not work.) Finally: Does somebody have any other explanation for the incongruency in indexed vs. actual pages? Thanks for your replies! Nico
Technical SEO | | netzkern_AG0 -
Value of internal links like this
Hello I have a question for internal links build in the pattern below does google value these kinds of pattern of internal links... For example i have 3 pages on website A, B and C, The page A is homepage, B is cateogory page and C is product page and I am on page C, where I build internal links like this Home > Catogory > product page
Technical SEO | | tanveerayakhan0 -
Product pages getting no internal links in Magento
Hello I think i have a serious problem. Most of my products are not getting internal links.
Technical SEO | | macrovet
I discoverd this when i was running a Crawl Test Tool Report | Moz Here an example of one product.
This product can be navigate to a normal way true the navigation structure on my website. The navigation is http://www.macrovet.nl/scheermachine/scheerapparaat-paard-paardenscheermachine.html
On this page is the product URL: http://www.macrovet.nl/aesculap-econom-equipe-gt674.html
Time Crawled 2014
Title tag: Aesculap Econom Equipe GT674 | Macrovet.nl
Meta Description: Bekijk en bestel een Aesculap Econom Equipe GT674 paardenscheermachine voor de scherpste prijs Macrovet.nl
HTTP Status Code: 200
Referrer http://www.macrovet.nl/sitemap.xml
Link Count: 550
Content-Type Header: text/html; charset=UTF-8
4XX (Client Error): NO
5XX (Server Error): NO
Title Missing or Empty: No
Duplicate Page Content: NO
URLs with Duplicate Page Content (up to 5)
Duplicate Page Title:No
Long URL NO
Overly-Dynamic URL NO
301 (Permanent Redirect) NO
302 (Temporary Redirect) NO
301/302 Target
Meta Refresh NO
Meta Refresh Target
Title Element Too Short NO
Title Element Too Long No
Too Many On-Page Links YES
Missing Meta Description Tag No
Search Engine blocked by robots.txt No
Meta-robots Nofollow No
Meta Robots Tag INDEX,FOLLOW
Rel Canonical Yes
Rel-Canonical Target http://www.macrovet.nl/aesculap-econom-equipe-gt674.html
Blocking All User Agents No
Blocking Google No
Internal Links 0
Linking Root Domains 0
External Links 0
Page Authority 1 Domain Autority 30 Do you have an answer what is wrong, thanks for your answers Regards,
Willem-Johan0 -
60% Internal Redirects
A new client I am working with has a site with over 9,000 internal 301 redirects. These are as a result of old links not being updated and the number of internal 301 redirects far outweighs the number of 'correct' links on the site. My personal opinion is that creates the risk of crawl errors/issues and whilst a 301 redirect is correct in this case, it does not negate the need to update internal links. The problem I have is that when I explain this to the client, they reply with an Matt Cutts video from 2008 that talks about 301 redirects being correct for site migrations. Even though the video is not entirely relevant to the point, I can not get the client to move from his position. Ideally, what I am looking for help with is the following: Am I right in my position that having this many redirects is a potential issue and that internal links should be updated? Does anyone know of any articles from 'notable/reputable' sources that I can use in order to support my position? Thanks in advance for your help.
Technical SEO | | MattHopkins0 -
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 ANCHOR TEXT LINKS
If your site has say 50 pages, and you have a anchor text link from the home page to that page, what should you do in response to last friday, I have 60 keywords in the top 10 and now thye are all in the top 30 at best. PAGE RANK is still 5s and 6s on all of these pages.... NO PROBLEM ON THIS SITE UNTIL LAST FRIDAY!
Technical SEO | | jdcline0 -
Internal links of my website is taken as inbound link ?
Hi, I was checking my links in Open Site Explorer (http://www.opensiteexplorer.org/links?site=www.bons-plans-vacances.fr) this morning and i came up with this: My main domain is taken as outbound links ...! This link : www.bons-plans-vacances.fr/ Anchor Text : (img alt)100% Bons Plans Voyages From this URL : www.bons-plans-vacances.fr/ I have the same problem with my subdomains : voyage.bons-plans-vacances.fr/sejour/Toutes-Destinations I have that HTML code on the link : Any help ? This is very strange .. i have the same result in google webmaster tools. Thanks 🙂 eDE9b.jpg
Technical SEO | | BonsPlansvacances0 -
Why was my homepage kicked out from results, but not my internal pages?
My domain's homepage has been ranking 1st position for an specific term for about 8 months. Our domain got hacked and it took just one day to make the website right again. A week after our homepage didn't appear anymore in Google results, it isn't even indexed. However the rest of our internal pages keep being indexed and ranking as usual. How can I make my homepage appear again in the results? Is there a way to speed up this process? Will it be in the same position as before, or will it have some sort of penalization for the hacking?
Technical SEO | | HerbalTechnologies0