Redirect Chain
-
Describe tu pregunta en detalle. ¡Cuanta más información proporciones, mejor! Ayuda a dar contexto a una gran respuesta.
in Moz I did the analysis of my web and it tells me that I have a redirect in chain: The redirect chains often occur when several redirecting rules are accumulated, like redirecting a 'www' to a URL other than www or a page not secure to a secure page / https: Look for any recurring string that can be rewritten as a single rule. Take special care with chains 301/302 in any combination, since 302 in the mix could affect the ability of 301 to pass the value of the link. I thank you for your help in solving
-
Miguel,
You are quite right that a redirect chain can be caused by moving to HTTPS. The problem comes when you have redirects already in place and then you move to HTTPS. So for example:
http://domain.com/location1 Redirects to http://domain.com/location2 because you have moved a piece of content.
If you then install an SSL and move to HTTPS then the route becomes:
http://domain.com/location1>http://domain.com/location2>https://domain.com/location2
So there are now 3 URLs involved.
This is a simple example with only 3 URLs - I have seen cases where there are 5 or 6 because someone left an HTTP link on the page. I have also seen redirect loops where there is an endless chain which cannot be resolved. In that case, the page just crashes.
Best practice is to scrap the first redirect and replace it with
http://domain.com/location1>https://domain.com/location2>
Depending on who you read there is a small loss of link juice when passing through a 301 (permanent redirect) and a 302 (temporary redirect) so it is important to have as few as possible. It also makes perfect sense to have as few calls to the server as possible.
Regards
Nigel
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
-
Combining products - edit existing product page or 301 redirect to new page?
We want to combine existing products - e.g. 'hand lotion' and 'body lotion' will become 'hand & body lotion'. As such, we'll need to combine the two product pages into one. What would be the best route to take in terms of SEO to do this? My initial reaction is to create a new product page and then 301 or 302 redirect the old products to the new product page depending on if the change is permanent or temporary. Would you agree? Or am I missing something?
On-Page Optimization | | SwankyApple1 -
Redirect question
Hi Everyone I've tried searching elsewhere in these forums for an answer to this but not having much luck - hope I'm not duplicating content! I get this message in Moz: "We have detected that the domain NappyValleyNet.com redirects to www.nappyvalleynet.com. We do not recommend tracking a redirect URL. Would you like to track www.nappyvalleynet.com for this campaign instead?" Is this a set-up issue on my side? I'm not sure what this means? Thank you!
On-Page Optimization | | NappyValleyNet0 -
.htaccess redirect chains
At item 4 in the post at http://moz.com/blog/htaccess-file-snippets-for-seos the author recommends combining .htaccess redirects to avoid chaining redirects. I'd be obliged if someone could expand on: 1. What he means by chained redirects 2. How to combine the redirects per his recommendation Cheers.
On-Page Optimization | | ztalk1120 -
To redirect or not to redirect...That is the question
We have old product data that is being updated (approx 30k sku's). Most of the old pages have been indexed and drive the majority of our online sales. But, the updated products have different titles, H1's, etc and have been re-formatted for the better in terms of usability. So, should we redirect thousands of pages to the new pages? Will Google be ok with that?...or should we reformat the current url's with the new data? And, if we reformat current url's with new data...the fear is that the on-page elements that the pages are being pick up for will get wiped out, (be it the H1 in some cases or the title or alt tag for another, etc) because it's simply too much to retain them during the import. Please share
On-Page Optimization | | nisvision0 -
How can I fix multiple 404 errors with Wildcard htaccess redirect
Hi all I hope that someone can help.... How can I fix multiple 404 errors with Wildcard htaccess redirect The url in question is: How can I fix multiple 404 errors with Wildcard htaccess redirect http://www.5starweddingdirectory.com/listing/search/Category/luxury_hotels_venues_uk_wedding_venues/exclusive_use_venues/letter/c http://www.5starweddingdirectory.com/listing/location/uk-england/bedfordshire-weddings/franklin-park http://www.5starweddingdirectory.com/deal/location/uk-england/chorley-weddings/curtis-bay etc, going to http://www.5starweddingdirectory.com/business the above is just a few examples, google webmaster is showing over 8.000 404 page not found errors. Thanks in advance.
On-Page Optimization | | Taiger0 -
Redirecting pages (old site to new site)
I have a question- there is one location, one set of pages for both the old and new site on the same host environment so when I did the redirect it get into a loop trying to redirect from itself to itself Not sure how its gonna affect SEO. Will pages get hit for duplicate content?
On-Page Optimization | | Yanez0 -
New jobboard: Can redirecting folder (site.com/jobboard) to subdomain (jobboard.site.com) hurt SEO?
Hi there, I'm planning to implement a jobboard on my website which needs to be installed on a subdomain (jobboard.site.com) but I'd really like to use site.com/jobboard for promoting this jobboard (jobboard collects external industry jobs). Are there any possible disadvantages when I set up a 301 redirect from jobboard.site.com to site.com/jobboard? Also: What if I want to move this jobboard to a unique domain one day (e.g. jobboard-industry-xy.com), Would that be tricky (as I'd basically have to redirect the folder-to-subdomain redirect to an external domain and therefore get a folder-to-subdomain-to-external-domain redirect...)? Cheers, Thomas
On-Page Optimization | | stl990 -
Temporary Redirect
I am having lot of Temporary Redirect on my reports, and all the links points to my ads server (openX). like this: http://ads.espectador.com/mod2/www/delivery/ck.php?n=a04fb31e&cb=138097 Here in this page there is an example.- How can I fix this? Thanks
On-Page Optimization | | informatica8100