Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Will I lose Link Juice when implementing a Reverse Proxy?
-
My company is looking at consolidating 5 websites that it has running on magento, wordpress, drupal and a few other platforms on to the same domain. Currently they're all on subdomains but we'd like to consolidate the subdomains to folders for UX and SEO potential.
Currently they look like this:
After the reverse proxy they'll look like this:
I'm curious to know how much link juice will be lost in this switch. I've read a lot about site migration (especially the Moz example). A lot of these guides/case studies just mention using a bunch of 301's but it seems they'd probably be using reveres proxies as well.
My questions are:
- Is a reverse proxy equal to or worse/better than a 301?
- Should I combine reverse proxy with a 301 or rel canonical tag?
- When implementing a reverse proxy will I lose link juice = ranking?
Thanks so much!
Jacob
-
Two servers? The existing one to process the redirects and a new one to handle the reverse proxy. Or vice versa. So the DNS for the old domain would point to a server that does the redirects. However, the server that hosts the site will be set to reverse proxy.
Another way of looking at this concept would be to take down and redirect the old site, and to start a new site, with the exact same files/database, that will be used to serve the content in the subdirectory/folder.
Ask what they think of that idea. I certainly don't have all the answers to every situations, but will do my best to help you find a workable solution.
-
Hey Everett,
My dev team says it's extremely difficult to do a 301 with the reverse proxy because the reverse proxy needs the domain in order to create the reverse proxy. If we place a 301 redirect it won't be able to access the domain and will be broken.
We're unable to do a server to server process because we're using load balance applications. Do you have any recommendations with this situation?
Thanks,
Jacob
-
That's good to know. I'll follow that.
Some of the articles I read made it sound like reverse proxy was another form of 301, but it didn't make sense. Now I know why.
Cheers,
Jacob
-
You need to do both.
The reverse proxy isn't about SEO so much as the ability to use subdirectories instead of subdomains, even though the subdirectories are hosted on different servers. You have to use a reverse proxy for the technological requirements of using a subdirectory (folder) instead of a subdomain when you're hosting sites on different servers but want to combine them on the same domain.
The 301 Redirects will ensure the users (including search engines) that visit the old URL on the subdomain get forwarded on to the new URL in the subdirectory. This is what preserves pagerank, and provides a good user experience. Do not keep the content available at the old URLs; Do not allow those URLs to return a 404 Status. 301 Redirect them.
I hope that clarifies your situation.
-
My dev team would prefer a reverse proxy. Is there a reason you'd rather do a 301 than a reverse proxy?
When reading this article https://moz.com/blog/what-is-a-reverse-proxy-and-how-can-it-help-my-seo it seemed that doing a reverse proxy would be preferable to just a bunch of 301's. Is that not the case?
-
It is getting over complicated. First principal is do not harm. I would not recommend a reverse proxy. 301'ing each page carry's the juice over. A 301 does everything you need.
However prior to any 301's I would be auditing each sub domain for a penalty - ie you could be pushing a penalty to the main site. So i would suggest a very thorough audit. If in doubt rel canonical that page.
Hope that assists.
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
-
How To Implement Breadcrumbs
Hi, I'm looking to implement breadcrumbs for e-commerce store so they will appear in the SERP results like the attached image. In terms of implementing to a site, would you simply add HTML to each page like this Google example? Which looks like this: Books › Science Fiction Award Winners Then is there anything you need to do, to get this showing in the SERPs results e.g. doing something in search console. Or do you just wait into google has crawled and hopefully starts showing in the SERPs results? Cheers. wn3ybMMOQFW98fNQkxtJkA.png [SERP results with bread crumbs](SERP results with bread crumbs)
Intermediate & Advanced SEO | | jaynamarino0 -
If I nofollow outbound external links to minimize link juice loss > is it a good/bad thing?
OK, imagine you have a blog, and you want to make each blog post authoritative so you link out to authority relevant websites for reference. In this case it is two external links per blog post, one to an authority website for reference and one to flickr for photo credit. And one internal link to another part of the website like the buy-now page or a related internal blog post. Now tell me if this is a good or bad idea. What if you nofollow the external links and leave the internal link untouched so all internal links are dofollow. The thinking is this minimizes loss of link juice from external links and keeps it flowing through internal links to pages within the website. Would it be a good idea to lay off the nofollow tag and leave all as do follow? or would this be a good way to link out to authority sites but keep the link juice internal? Your thoughts are welcome. Thanks.
Intermediate & Advanced SEO | | Rich_Coffman0 -
Link Brokers Yes or No?
We have a client who has asked us to talk to link brokers to speed up the back linking process. Although I've been aware of them for ages I have never openly discussed the possible use of 'buying' links or engaging in that part of the industry. Do they have a place in SEO and if so what is the MOZ communities thoughts?
Intermediate & Advanced SEO | | wearehappymedia0 -
Does a non-canonical URL pass link juice?
Our site received a great link from URL A, which was syndicated to URL B. But URL B is canonicalized to URL A. Does the link on URL B pass juice to my site? (See image below for a visual representation of my question) zgbzqBy
Intermediate & Advanced SEO | | Choice1 -
Do links to PDF's on my site pass "link juice"?
Hi, I have recently started a project on one of my sites, working with a branch of the U.S. government, where I will be hosting and publishing some of their PDF documents for free for people to use. The great SEO side of this is that they link to my site. The thing is, they are linking directly to the PDF files themselves, not the page with the link to the PDF files. So my question is, does that give me any SEO benefit? While the PDF is hosted on my site, there are no links in it that would allow a spider to start from the PDF and crawl the rest of my site. So do I get any benefit from these great links? If not, does anybody have any suggestions on how I could get credit for them. Keep in mind that editing the PDF's are not allowed by the government. Thanks.
Intermediate & Advanced SEO | | rayvensoft0 -
Redirecting one site to another for link juice
I have two sites with same theme - buying cars. I am going remove one of the sites from being crawled permenantly (ie junkthecars.com) and point domian via 301, to another similar theme site (sellthecars.com). The purpose is to simply pass the SEO link juice from one site to the other as we retire junkthecars.com.... Is a forwarding of the domain OK and the best way for the search engines to increase the rank of sellthecars.com (we hate to wast the link work done on Junkthecars.com)? What dangers should I look for that could hurt sellthecars.com if we do the redirect at a simple TLD?
Intermediate & Advanced SEO | | bestone0 -
Do 404 pages pass link juice? And best practices...
Last year Google said bad links to 404 pages wouldn't hurt your site. Could that still be the case in light of recent Google updates to try and combat spammy links and negative SEO? Can links to 404 pages benefit a website and pass link juice? I'd assume at the very least that any link juice will pass through links FROM the 404 page? Many websites have great 404 pages that get linked to: http://www.opensiteexplorer.org/links?site=http%3A%2F%2Fretardzone.com%2F404 - that was the first of four I checked from the "60 Really Cool...404 Pages" that actually returned the 404 HTTP Status! So apologies if you find the word 'retard' offensive. According to Open Site Explorer it has a decent Page Authority and number of backlinks - but it doesn't show in Google's SERPs. I'd never do it, but if you have a particularly well-linked to 404 page, is there an argument for giving it 200 OK Status? Finally, what are the best practices regarding 404s and address bar links? For example, if
Intermediate & Advanced SEO | | Alex-Harford
www.examplesite.com/3rwdfs returns a 404 error, should I make that redirect to
www.examplesite.com/404 or leave it as is? Redirecting to www.examplesite.com/404 might not be user-friendly as people won't be able to correct the URL in the address bar. But if I have a great 404 page that people link to, I don't want links going to loads of random pages do I? Is either way considered best practice? If I did a 301 redirect I guess it would send the wrong signal to the crawlers? Should I use a 302 redirect, or even a 304 Not Modified redirect?1 -
Cross linking between categories
Is it useful for SEO to cross link between TOP level categories, let's say I have a Home page and then 2 sub categories, one about green widgets one about red widgets
Intermediate & Advanced SEO | | seoanalytics
Should i create a link from the green widget to the red widget or should I leave those are separate silos ? I know that within a silo i need to cross link ( from green widget 1 to green widget 2 etc... ) but how about about from the main category to the other main category ?0