Mobile app version of vmapp.org
Login or Join
Samaraweera270

: Display short domain (country code) in the address bar while still having the site served on a global .com I have 2 domains let say redd.it and reddit.com. Now how might I let google index

@Samaraweera270

Posted in: #GoogleIndex #Indexing

I have 2 domains let say redd.it and reddit.com.

Now how might I let google index the reddit.com but have users browse redd.it?

The purpose of this would allow the address bar to be shorter and automatically give the users a shorter domain(although not technically a url shortner) while allowing Google to use reddit.com for indexing and Google links. As explained here it appears country code extensions are penalized(not exactly but being ccTLD certainly hurts you results outside your specific country).

They only way I could see this working is 2 sites with duplicate, but I'm not quit sure if this would work. Would duplicate sites decrease ratings for one or the other site?

How might I display a short domain in address bar while indexing and displaying the reddit.com link on Google?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

2 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

You can have the .com domain automatically frame itself using the .it domain. You would maintain a parallel set of URLs. So page.html would have:

example.it/page.html http://example.com/page.html


On example.it you would have a simple frameset that would:


Include the content from example.com
Use the actual page title
Have a rel canonical link tag to direct search engines to the correct thing




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Full page title</title>
<link rel="canonical" href=http://example.com/page.html">
</head>
<frameset cols="100%">
<frame src="//example.com/page.html">
<noframes>
<a href="//example.com/page.html">Click here to continue</a>
</noframes>
</frameset>
</html>




The .com site would:


Include JavaScript to frame itself

try {
if (top.location.href != "http://example.it/page.html"){
top.location.href="http://example.it/page.html";
}
} catch (e){
// Can't access top location, must be in a frame set
}

Have all links point to the .com site so that search engines can follow them easily
Include a base tag in the head so that all links break out of the frameset by default

<base target="_top">

10% popularity Vote Up Vote Down


 

@Steve110

There is not much difference between reddit.com & redd.it, If it is your real domain names are short like this.
Assume that you have a length domain which you want to display with short URL.

IMO, All the effort what you are doing is not worth it. (Yes, I have 15+ years of expr).

Let me share how can it be done.

You can allow the googlebot to crawl the .com site and then in .htaccess redirect the users to .it website. Though this is strictly not allowed in google. it will result in your website being penalized. So do not do it


The purpose of this would allow the address bar to be shorter


Looks like you are concerned about the short address bar,But really user does not bother about the length of your domain name, unless you have more than 100 character domain name.

You can put this effort on something which will give better result.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme