Help with Temporary Redirects on Pages
-
Hi Guys,
My latest crawl shows this: "44% of site pages served 302 redirects during the last crawl" When I click this to investigate the issue I see:
URL:
https://www.....
https://www.....
https://www.....
https://www.....
https://www.....And under Redirect URL:
http://www....
http://www....
http://www....I've recently read an article from Yoast that this is a https:// to http:// redirect (ofcourse ).
but why is this an issue that needs to be solved and how do I solved it?Thanks again for your help and thoughts.
Joost
-
Also found this article on Yoast.com: Moving your website to HTTPS
He says:
'If you’re a web shop or otherwise transactional website you probably already have SSL for your checkout.
If so, moving your entire website to https makes a LOT of sense to me, it’s probably actually easier to maintain and makes sure that you’re doing everything to make sure your SSL traffic (and thus the most important section of your site) is as fast as possible.'Moving to HTTPS is something different than 301 redirecting I suppose? Yoast says:
_'All of your internal links should start to use https, not just to pages, but for images, JavaScript, CSS, etc.
This means going through your theme with a fine comb and cleaning all of those up.
Of course you can have your web server redirect http to https (more on that below), but not having to do the redirect is a lot cheaper.'Thanks again! Joost_
-
Hey Chris and Patrick,
Thanks for taking the time to write and help me out really appreciate it!
Ok so I understand that a 301 is the way to go but what is better http:// to https:// or https:// to http://
(now I'm doing the last one if I'm correct, or is this a stupid question and can it only be done one way around?).I'm working in Wordpress with Woocommerce. I've got the htaccess plugin to update the htaccess file easily.
I also have a HTTPS plugin but not sure if i need to be there to change anything.Thanks guys!
Joost
-
Hi there
Fully agree with Chris here.
You should also be able to set this up in your htaccess as well, which will handle all http to https redirects (or vice versa) - more information here.
Like Chris said, this will all depend on your CMS and site setup. I would also suggest checking your internal links, update your XML sitemap, and upload that sitemap to Google Webmaster Tools and Bing Webmaster Tools to reflect this change.
I would also suggest using relative URLs in your internal links, that way if you change your domain or protocol, you don't have to individually update every internal link on your site. This is more for convenience for you and your team.
Just wanted to add a few more things - hope this helps a bit! Good luck!
-
To understand the issue you need to understand what a 302 is vs. a 301
a 302 is a temporary redirect, it tells search engines that this redirect is temporary and so the value of that page is never really moved in the eyes of Google and alike
a 301 is a permanent redirect which tells search engines that you've move that page and its never going back, Search engines then also move all the other gooness (like link juice) with this.
You want a 302 because it allocated all more page value compared to a 302, you can read more here -
http://moz.com/learn/seo/redirection
In short because you're running a 302 redirect you're splitting the value of your site between the http & htts, and should be running a 301
change the redirects to a 301 and you will be fine, as for the how it depends on your CMS but i'm sure a bit of Googling can give you a hand.
Hope that helps & good luck.
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
-
Which Is More Important? Building a web page for customer reviews or a careers page?
Hello, I am wondering which would be more important to have on a website a customer review page or a careers page? And as far an SEO advantage which is more important and why?
On-Page Optimization | | Nicks1230 -
Should I add canonical links to pages that are redirected?
Hello! I am a little confused concerning canonical links. I have several URLs that all access my page, but I redirect them all. A lot of places I am told to redirect them or use canonicals. Other places, I read that I should always use canonicals. What is the right way for me? If I should use canonicals as well as redirects, which links should I do this on? I redirect my pages like this: http to https:
On-Page Optimization | | hermanok
http://example.com -> https://example.com www to non-www:
https://www.example.com -> https://example.com Remove trailing slashes
https://example.com/ -> https://example.com Would-be 404-requests to index.php?p=$1
https://example.com/home -> https://example.com/index.php?p=home ( show as https://example.com/home ) Example:
http://www.example.com/home/ -> http://www.example.com/home/ -> https://example.com/home/ -> https://example.com/home -> https://example.com/index.php?p=home ( shows as https://example.com/home ) Thank you!0 -
Www no longer redirects
Hi there, A while back I dropped the www from my domain. Everything redirected ok and I could still access my site using www and it would simply redirect to http://mysite This no longer seems to be occurring. I don't think I have changed anything? I don't believe I had anything in my htaccess however I am looking for some assistance in doing so. I've done a bit of reading but am not 100% confident! If anyone is interested, the url is http://cdkeyprices.com Thanks
On-Page Optimization | | MrPenguin0 -
Redirecting to new domain
Hi, I switched my ecommerce site to a new domain, how can I get my new site indexed aneast art building links when my oils site is still indexed?
On-Page Optimization | | GTCarter11870 -
Google Indexed = 35, 445 pages, Bing Indexed = 243 pages... Why?
Dear MozSquad, Can anyone check our site and let me know if there's anything super apparent that would cause Bing to treat us like a bum on the street? I recently made some structural changes which really helped with Google, but Bing didn't even budge. It's a lot harder to keep up with all the SEO initiatives I have in mind with it being a small start-up where I'm responsible for planning the entire Internet Marketing campaign, giving constant input on UX and site design, etc on top of 900 other things, so I figured it'd be a good time to use The Moz to help a brother out. Ideas? Domain: homeandgardendesignideas.com (yeah, I know it's a little long =P)
On-Page Optimization | | zDucketz0 -
302 Temporary Redirects
Hi, We currently have a number of 302 redirects set up on our e-commerce store that redirect from no forward slash at the end to a forward slash at the end of the url (see below). example: domain.com/treadmills
On-Page Optimization | | DustyBraband
Redirects to
domain.com/treadmills/ Am I correct in saying that this will not pass link juice and the redirects should be changed to 301's (or just removed?). Or are the two urls treated the same (with or without forward slash)? Thanks in advance! Regards,
Dusty0 -
Duplicate Page Title
I have a dating site, it's got a lot of duplicate page titles, most of them are the language buttons for the users to view the site in there language. but I think it's obvious that the buttons don't have anything to do with it. I'm thinking that page tittle is basically a description of what the site is. like for an example "online-dating" is this it? please tell me in terms for a dummy, how to fix it.
On-Page Optimization | | clickit2getwithit0 -
Page Review Please
Can you please tell me what I can do to improve the SEO of this page. I feel like I am seeing the forest and not the trees or the other way around. I just want to learn from the errors of this page, so I can just simply learn http://azbestlistings.com/casa-grande-az-real-estate-homes-for-sale-in-casa-grande-az Thank you,
On-Page Optimization | | sansonj0