Mobile app version of vmapp.org
Login or Join
Kristi941

: Allow users to access my beta subdomain but pass link juice to the main site My site can be accessed by either http://example.com or http://beta.example.com. The sub domain beta is the same

@Kristi941

Posted in: #Backlinks #Redirects #RobotsTxt #Seo

My site can be accessed by either example.com or beta.example.com. The sub domain beta is the same site but a different version and I want users to be able to use the beta but any links gained on the beta domain I want the link juice to pass to the main domain. How can this be done?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

2 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

The best way to do this is with a rel canonical link tag in the head of each of your pages.

So the home page of both your main site and your bet site would have this:

<link rel="canonical" href="http://example.com/" />


And foo.html on each would have this:

<link rel="canonical" href="http://example.com/foo.html" />


That way Google knows which is your preferred site. Google will also treat all inbound links to the beta site as if they pointed to the main site.

10% popularity Vote Up Vote Down


 

@Nimeshi995

Never treat Googlebot any different than actual site visitors

You should never treat Google bot any different from actual users. Redirecting Googlebot using user agent or other similar tactics and not users will likely harm your site as its against Google's guideline rules.

Cosmetic changes say hello to canonical links

If the beta site has the same content but different cosmetic changes through CSS then you should use canonical links pointing to the master pages that way any links gained on beta will pass to the main domain.

If the content is different

If the content is actually different then you should not attempt to redirect Juice as this again will not go well with Google, if you want the juice to flow to the main site then you should run it on the main domain with a sub folder /beta/.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme