HTTPS & Redirects
-
Hi
We're moving to https imminently & I wondered if anyone has advice on redirects.
Obviously we'll be redirecting all http versions to https - but should I be checking how many redirects are in each chain and amending accordingly?
If there's 4-5 in a chain, remove the middle unnecessary URLS ?
Advice please
-
Hi, We are on Magento and moving to https for all URLS soon as well. We have just had them on customer pages, checkout and admin but time to move on.
Interesting to read about those database redirects also. We have thousands in place over years as we've tidied up the catalogue and they get automatically created.A few years back I deleted them on a site upgrade and we seemed to take a knock in rankings... but it could have been the new site source code contributing to this also. Things have settled and we have good seo ... but ive concerns over changing to full https...eekkk.
What htaccess codes did you use to redirect all existing http urls to the https versions?
Was it just something like?RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
-
The https migration will have the same URLS but I'm trying to tidy up the redirects we currently have
So each time a title is updated on the site, a new redirect is added to the database but the others are not removed.
Shall I just delete from the database? I just want to make sure I'm not deleting those old URLs with authority in the chain
-
Delete those one that do not have content.
Keep in mind that https migration is intended to hace almost the same URLs, only changing http for https.
Cant imagine why having those extra URLs in the middle of the chain.Is there something that Im missing?
-
I think each time they get a redirect request they just update all the existing URLs in the file.
My question is which ones do I delete? I need to update the first URL & the last & remove the middle but from the file I can't determine which URL was first in the chain...
-
Try to convince your dev team that those redirects are not needed.
If those middle pages dont exist, why the redirect?I'd settle in max 2 hops, that is 2 redirects. This is just my maximum.
The best for google: 1 redirect.
Max tolerated by google: 4-5. -
Hi
Yes, I am just trying to work out how our dev team manage the redirects.
I'm not sure whether they actually go through a redirect chain.. this is an example of the data pulled from the redirect export:
-
sloping-top-for-ekwo-industrial-1-tier-lockers redirect > sloping-top-for-manutan-industrial-lockers
-
sloping-top-for-industrial-1-tier-lockers redirect > sloping-top-for-manutan-industrial-lockers
-
sloping-top-for-industrial-lockers redirect > sloping-top-for-manutan-industrial-lockers
-
-
Hello Becky!
If possible, lower down the number of redirects even though Google understands well up to 4-5 hops. Matt Cutts said it in these videos:
Can too many redirects from a single URL have a negative effect on crawling? Is there a limit to how many 301 (Permanent) redirects I can do on a site?Best Luck.
GR.
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
-
Menus, Ecommerce & SEO
Hi Our Dev team have updated our website with a new menu structure, they have given us 2 options to choose from. 1st option I think is better for SEO - this will be showing top 8 categories and then subcategories once you hover over category 1. Not much change from our current structure, just a slightly different layout. (I have added an image example of what option1 will look like) 2nd option - is preferred by management - shows all 24 categories & no subcategories. My question is, will removing the current subcategories from the main menu make them lose rankings & make them harder to rank in future? I'm guessing everything will move down a level in the structure and lost page authority... Does anyone have any articles/case studies to prove this point? Any help is much appreciated 🙂 Becky DKzgD
Intermediate & Advanced SEO | | BeckyKey1 -
301 redirects Ruby on Rails
Can anyone point me to the best way to implement 301 redirects on a Ruby on Rails website?
Intermediate & Advanced SEO | | brianvest0 -
Https Loss of Search traffic
Hey guys, We moved our site to from http to https. We subsequently lost 25% in our search traffic in 1 Month. We changed a few other pieces such as images, added new content etc. Has anyone got any suggestions on how we start to understand what happened? Thanks in advance.
Intermediate & Advanced SEO | | Johnny_AppleSeed0 -
Any SEO value in gTLD redirect?
So, my client is thinking of purchasing several gTLDs with second level keywords important to us. Stuff like this...we don't want .popsicles, just the domain with the second level keyword. Those cost anywhere from $20-30 right now: grape.popsicles cherry.popsicles rocket.popsicles companyname.popsicles The thinking is that it's best to be defensive, not let a competitor get the gTLD with our name in it (agreed) and not let them capitalize on a keyword-rich gTLD (hmm). The theory was that we or a competitor could buy this gTLD and redirect it to our relevant page for, say, cherry popsicles. They wonder if that would help that gTLD page rank well - and sort of work in lieu of AdWords for pages that are not ranking well. I don't think this will work. A redirected page shouldn't rank better that the page it links to...unless Google gave it points for Exact Match in the URL. Do you think they will -- does Google grade any part of a URL that redirects? Viewing this video from Matt Cutts, I surmise that a gTLD would be ranked like any other page -- if its content, inbound links, etc. support a high DA, well, ok then, you get graded like every domain. In the case of a redirect, the page would not be indexed as a standalone so that is a moot point, right? So, any competitor buying a gTLD with the hopes of ranking well against us would have to build up pagerank in that new domain...and for our purposes I see that being hugely difficult for anyone - even us. Still, a defensive purchase of some of these might not be a bad idea since it's a fairly low cost investment. Other thoughts?
Intermediate & Advanced SEO | | Jen_Floyd0 -
301 redirect recommendations
One of our clients we are working on have two sites the main with a PR5 and a separate one with a PR4. We are planning on doing a 301 from the PR4 to a page on the PR5 Is it best to do: www.PR4.com ----> www.PR5.com/releveantPR4page or www.PR4.com/page ----> www.PR5.com/releveantPR4page Most pages on the PR4 site can fit into one PR5 page logically. However the PR4 has an about us, contact us, blog/with posts, FAQ, Applications, Legal Resources which are all pretty out dated.. The PR4 site is kinda messy and we are not sure if it will be easy to 301 each page individually with the user in mind. can we do a sitewide 301 redirect from the root PR4.com to a page PR/5.com/releveantPR4page and also do deeper 301's? PR4.com/PR4page ---> PR5.com/releveantPR4page
Intermediate & Advanced SEO | | Bryan_Loconto0 -
ISAPI Redirect in httpd.ini doc
Hi folks, Due to working on a site older than myself, I find myself in a position whereby I need to set up some redirects in the httpd.ini document. I had wrongly assumed this would be in the same way as I would in htaccess, but alas, no dice. There's nothing special about what I'm trying to do, but I think the expressions are what are confusing me. I'm trying to redirect this example page - http://www.example.com/subfolder/DisplayArticle.asp?ID=12345 to it's subfolder http://www.example.com/subfolder/. Here's what I have: [ISAPI_Rewrite] Redirecting old article to new locations RewriteRule ^/subfolder/DisplayArticle.asp?ID=12345 /subfolder/ [R=301,L] Can someone please point me in the right direction? Thanks Matt
Intermediate & Advanced SEO | | Horizon0 -
How to stop Google crawling after 301 redirect?
I have removed all pages from my old website and set 301 redirect to new website. But, I have verified old website with Google webmaster tools' HTML verification file which enable me to track all data and existence of pages in Google search for my old website. I was assumed that, Google will stop crawling and DE-indexed all pages after 301 redirect. Because, I have set 301 redirect before 3 months. Now, I'm able to see Google bot activity on my website with help of Google webmaster tools. You can find out attachment to know more about it. How can it possible & How Google can crawl removed pages? You can see following image to know more about it. First & Second
Intermediate & Advanced SEO | | CommercePundit0 -
My site penalized after 301 Redirect or redesign?
Hi, I have a question regarding my site (http://www.pokeronlineitalia.com) that has, all of a sudden, lost rankings on several keywords; plus, Google Analytics and the plug-in Clicky installed on my site (the site is built on WordPress) claim that my site has no visitors/visits anymore. I would like to provide a little background of what has happened. Three weeks ago I asked my web hosting company to do a 301 redirect from http://pokeronlineitalia.com to http://www.pokeronlineitalia.com. At the same time I asked a web hosting company to to a redesign of the site. Strangely, the day after the new redesigned site went online Google Analytics and the Clicky plug-in showed that my site, from one day to the other, had no visitors/visits anymore (I had installed Google Analytics and Clicky before the 301 redirect). In addition, I noticed that I had lost positions on many keywords for which I used to rank on the second page. However, the PR of the site has remained intact and Google is indexing it without problems. Plus, I still rank high for a keyword. I tend to believe that because of this, my site was not penalized by mighty Google...but I'd like an SEO expert to tell me what he thinks about it. In particular, please answer this: has my site lost rankings because of the 301 redirect? Has my site been penalized because of the redesign? Is this only a temporary situation? Thank you very much for your help. Sal
Intermediate & Advanced SEO | | salvyy0