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
-
How can I avoid too many internal links in my site navigation?
Hi! I always get this notification on my pages 'Avoid Too Many Internal Links' when I run the Page Optimization Score. And this is the message I get how to fix it: Scale down the number of internal links on your page to fewer than 100, if possible. At a minimum, try to keep navigation and menu links to fewer than 100. On my website I got a desktop navigation menu and a mobile variant, so in the source this will show more internal links. If I hide those links with CSS for the view, is the problem then solved? So Does Google then see less internal links? Or does Google crawl everything? I'm curious how I can fix this double internal links issue with my navigation menu.
Technical SEO | | Tomvl
What are you guys ideas / experiences about this?0 -
Regional sites built on different platforms - will this solution for international targeting work?
We are working with our dev team on a few upcoming user stories to improve store.hp.com. We came across a question which isn’t clear in the international targeting documentation. Within http://store.hp.com, we have a number of regional stores, but those are often built on separate platforms. Therefore a story developed on the US infrastructure doesn’t carry over to Canada and so forth. The Canada Store is managed by a different team, so that story needs to get scoped, prioritized, etc. independently. In regards to helping Google understand page equivalence, will Google accept the page relationship if we include hreflang tags exclusively in the sitemap for the US site and exclusively as page-level markup for Canada site? For example: http://store.hp.com/CanadaStore (hreflang notation at page-level): http://store.hp.com/us/en" /> http://store.hp.com/CanadaStore" /> http://store.hp.com/us/en" /> http://store.hp.com/us/en (hreflang notation within sitemap file): <loc>http://store.hp.com/us/en</loc> rel="alternate" hreflang="en-ca" href=" http://store.hp.com/CanadaStore" /> rel="alternate" hreflang="en-us" href="http://store.hp.com/us/en" /> Appreciate the help anyone can give! Zach
Technical SEO | | ZachKline0 -
Can google bots read my internal post links if they are all listed in a javascript accordian where I list my sources?
I post a JavaScript accordion drop down tab [ a collapsible content area ] at the end of all my posts. I labeled the accordion "Show Article Sources"., and when a user clicks it, then the accordion expands open and it shows all the sources I listed for my article. And this is where I post all of my articles links that I reference per each article. But I read somewhere that google crawlers can not read text in a drop down JavaScript tab. So I am wondering now if this is true because that would mean I have no internal linking SEO going on since it cant read the links? ..... if it is true, then I should remove the accordion from all my articles and some how include the links I reference in the actual body text so I can get SEO benefits from external linking similar content? If that's true, what is an aesthetic way to do this, any example links? Tips ? Thoughts ?
Technical SEO | | ianizaguirre0 -
Will multiple internal links with the same anchor text hurt a site's ranking?
Hello, I just watched this video from the Google Webmasters channel at YouTube: http://www.youtube.com/watch?v=6ybpXU0ckKQ My question: If a site is built up on subdomains, will linking the different subdomains with exact anchor text hurt the site's ranking? Thanks
Technical SEO | | arnoldwender0 -
Domain Mapping - International Config - WP Multisite - Problems/issues experienced ?
Hi My new clients devs are setting up new client according to below domain mapping type config Is anyone aware of any probs this could cause ? or other way should be setting up ? Also will setting up an MA campaign for the root domain 'catch all' given the domain mapping aspect etc ? Cheers Dan Set up now using WP Multisite. The root domain for the network of websites we are going to roll out, is set up as "network.domain.com. This is a "parent" domain from which all languages variants will be children of this root domain name. so: "network.domain.com/uk/" - English Language
Technical SEO | | Dan-Lawrence
"network.domain.com/tr/" - Turkish Langauge
"network.domain.com/za/" - South African
etc I then will domain map domain names to each of these children, once I get DNS control of each language's settings. I have already mapped "www.domain.com" to "network.domain.com/uk/", so the english website is set up (and launched - as you know). I fully expect that "www.domain.tr" will be mapped to "network.domain.com/tr/" and so on, but depending on domain availability at the time of purchase. Any domain name can be mapped to each of these children, and the system doesn't care, or mind! I can also map one (or more) domain names to each child, and make ONE of them the primary domain name.0 -
Tool to search relative vs absolute internal links
I'm preparing for a site migration from a .co.uk to a .com and I want to ensure all internal links are updated to point to the new primary domain. What tool can I use to check internal links as some are relative and others are absolute so I need to update them all to relative.
Technical SEO | | Lindsay_D0 -
Do we know if inbalanced anchor text distribution also applies to internal links?
I have the pages of my site linked together very well with editorial links in my copy and blog posts. But now I'm starting to wonder post-penguin if it's a problem if all my internal links to a certain page have the same anchor text? Or is my internal link juice not powerful enough to set off a red flag? I don't think I've seen this addressed anywhere or if we even know the answer to this or can only speculate.
Technical SEO | | UnderRugSwept0 -
Internal Link Counts in SEOMoz Report?
Hi, We ran a site diagnostic and it came back with thousands of pages that have more than 100 internal links on a page; however, the actual number of links on those pages seems to be far less than what was reported. Any ideas? Thanks! Phil UPDATE: So we've looked at the source code and realized that for each product we link to the product page in multiple ways - from the product image, product title and price. So we have three internal links to the same page from each product listing, which is being counted by the SEOMoz crawler as hundreds of links on each page. But in terms of the Googlebot, is this as egregious as having hundreds of links to different pages or does it not matter as much?
Technical SEO | | beso1