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
-
Link's that are an internal site search?
Hi hope your're all well. I sell Red, Blue, Green Widgets within each color I have many sub types, the subtypes change all the time,and a sub type has many variations in itself. I'd like to set up links that direct customers to popular searches of sub types say: widgets.com/red/blue-spots....search string... Will Google crawl these search links and see that there is good content behind it? How does Google handle links that are also a site search? Can it be bad and should I "no follow" them? Hope someone can give me some direction on these, many thanks in advance!
Technical SEO | | Thea880 -
Is an international redirect hurting my ranking
We're a small international company that redirects users based on their language identifier.
Technical SEO | | _entreprenerd
I've now taken a big interest in and also how it affects ranking. When I look at my MOZ dashboard the fundedbyme.com domain has a higher ranking than fundedbyme.com/en/ for example. Our company wants to target other markets such as Spain and Germany, I am imposing penalties on myself by not having rel="canonical" in place and redirecting to the TLD?0 -
HTTP 500 Internal Server Error, Need help
Hi, For a few days know google crawlers have been getting 500 errors from our dedicated server whenever they try to crawl the site. Using the "Fetch as Google" tool under health in webmaster tools, I get "Unreachable page" every time I fetch the homepage. Here is exactly what the google crawler is getting: <code>HTTP/1.1 500 Internal Server Error Date: Fri, 21 Jun 2013 19:52:27 GMT Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.3.3 X-Pingback: [http://www.communityadvocate.com/xmlrpc.php](http://www.communityadvocate.com/xmlrpc.php) Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> My url is [http://www.communityadvocate.com](http://www.communityadvocate.com/)</code> and here's the screenshot from Goolge webmater http://screencast.com/t/FoWvqRRtmoEQ How can i fix that? Thank you
Technical SEO | | Vmezoz0 -
"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 -
Does anchor text penalty apply to internal links?
We already know that over optimsied anchor text for external will cause a penalty. But what about internal links? All of our blog posts include an advertisement linking sales pages. These links all use the exact same anchor text. Is linking to an internal page from so many other pages (blog posts) likely to trigger a penalty? Here is an example: http://www.designquotes.com.au/business-blog/four-ways-to-enhance-your-e-commerce-site-for-busy-shoppers/ This links to http://www.designquotes.com.au/web-design-quotes Many of the posts link to the same page using the anchor text "Compare Web Design Quotes from Local Designers."
Technical SEO | | designquotes0 -
Redirecting internal pages to another domain
Hi, I recently redirected the domain www.organic7thheaven.com to http://www.7thheavennaturals.com/ However, the internal pages of www.organic7thheaven.com such as http://www.7thheavennaturals.com/products/sensitivesouls/ are now displaying a 404 Not Found Message How can I have it so that pages such as the above automatically also redirect to http://www.7thheavennaturals.com/ Thanks!
Technical SEO | | MJMarketing0 -
Absolute of Relative Internal Website Links
Hi, I am not sure what is considered best practice when linking between pages on the same site - absolute or relative: Link Or Link I notice a lot of CMS systems (WordPress) use the absolute method - is there a reason? Any help much appreciated. Barney.
Technical SEO | | barnst0 -
Internal Linking Structure - help Req'd
I have a website that due to the way in which it was put together a few years back always redirects to a /subdomain folder when the top level domain is entered. When analysing the new SERPS tool i spotted that when the .com domain was assessed it didn't pick up the internal links that were pointing to the /subdomain. Q) Could the /redirect cause a problem when crawled by Google, and if i'm linking back to the homepage should i be using the domain or the subdomain as the link (even though one redirects to the other......)
Technical SEO | | NSJ780