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
-
After 301 redirect
hello i do after 301 redirect from old domain to new since 3 month ago my qa : should i replace the backlinks links to new doamin Or the he backlinks in the old link will works
Intermediate & Advanced SEO | | cristophare790 -
Redirect old image that has backlinks
Hi Moz Community! I'm doing an audit of a website and did a backlink analysis. In the backlink analysis, there is an image that has 66 backlinks but the image doesn't exist on the website anymore (it was on a website that was created in 2011 - 2 web launches ago). I don't believe a 301 redirect will work for an image that doesn't exist anymore. How would I redirect the image URL (it's WordPress so we have a specific URL that other websites are linking to but get 404 errors) without going to each individual website and requesting they change the URL link? Any advice or recommendations would be great. Thanks!
Intermediate & Advanced SEO | | BradChandler1 -
How to Implement AMP for Single Blog Post?
Hello Moz Team, I would like to implement AMP for my single blog post not on whole blog. Is it possible? if Yes then How? Note - I am already using GTM for my website abcd.com but I would like to use for my blog post only and my blog is like - abcd.com/blog..............let me clarify Blog Post means - abcd.com/blog/my-favorite-dress Thanks!
Intermediate & Advanced SEO | | Johny123450 -
Is AMP works on blogs only?
I have installed AMP Plugin in my WordPress website but when I check pages with /amp/ it shows 404 error. But for blog pages, for the example www.website.com/blog/post/amp/ it shows amp version of the particular page. Also, nothing is showing in search console Accelerate Moile pages.
Intermediate & Advanced SEO | | SEO-Stephanie0 -
301 Redirect from now defunct website?
Hi guys Quick question about 301 redirection between domains. I currently manage a website, lets call it website A. Website A sells a particular product range, however the decision has been made by the powers that be to pull the plug on the business and sell the products previously sold via Website A via another website within the parent companies control.....lets call it Website B. I need to make it clear to customers of Website A that the company no longer operates but want to pass the SEO equity that has been built up over time to the relevant pages on Website B. My plan was to 1. 301 Redirect all key landing pages on Website A to the most relevant pages on Website B 2. Initially keep the website A homepage live but change the message to say "Website A no longer operates, but Website B can help etc. etc."  Remove all sub links from navigation. 3. Monitor referral and direct traffic levels and consider 301 redirecting website A homepage to Website B homepage in the long term. My questions: Does this sound like the best approach? If not, what alternatives are there? Will Website A look like a link farm for Website B? I dont want this obviously!
Intermediate & Advanced SEO | | DHS_SH0 -
Privacy Policy & T&C's SEO related question
With Adwords they request a Privacy Policy and T&C's sometimes for an Ad to be approved. Silly question I know but do you think Google looks out for pages like this to identity websites which are more genuine for organic? Thanks
Intermediate & Advanced SEO | | activitysuper0 -
News sites & Duplicate content
Hi SEOMoz I would like to know, in your opinion and according to 'industry' best practice, how do you get around duplicate content on a news site if all news sites buy their "news" from a central place in the world? Let me give you some more insight to what I am talking about. My client has a website that is purely focuses on news. Local news in one of the African Countries to be specific. Now, what we noticed the past few months is that the site is not ranking to it's full potential. We investigated, checked our keyword research, our site structure, interlinking, site speed, code to html ratio you name it we checked it. What we did pic up when looking at duplicate content is that the site is flagged by Google as duplicated, BUT so is most of the news sites because they all get their content from the same place. News get sold by big companies in the US (no I'm not from the US so cant say specifically where it is from) and they usually have disclaimers with these content pieces that you can't change the headline and story significantly, so we do have quite a few journalists that rewrites the news stories, they try and keep it as close to the original as possible but they still change it to fit our targeted audience - where my second point comes in. Even though the content has been duplicated, our site is more relevant to what our users are searching for than the bigger news related websites in the world because we do hyper local everything. news, jobs, property etc. All we need to do is get off this duplicate content issue, in general we rewrite the content completely to be unique if a site has duplication problems, but on a media site, im a little bit lost. Because I haven't had something like this before. Would like to hear some thoughts on this. Thanks,
Intermediate & Advanced SEO | | 360eight-SEO
Chris Captivate0 -
Automatic redirect to external urls
Hi, there is a way to create a "bridge page" with automatic url redirect ( 302 ) without google penalization? In this moment, my bridge pages are indexed on google with title and description of the redirected page.. Thanks in advance. Mauro.
Intermediate & Advanced SEO | | raulo790