Mobile app version of vmapp.org
Login or Join
Chiappetta492

: What is the impact on SEO, when internal links pointing to "/" or "example.com" (homepage)? Let's assume I have website example.com and 1000s of inner pages. Is there any difference in terms

@Chiappetta492

Posted in: #GoogleSearch #RelativeUrls #Seo

Let's assume I have website example.com and 1000s of inner pages.

Is there any difference in terms of SEO ranking (SERP) when I link to my home page from all the inner pages using "/" and "example.com" ?

In my Google Webmaster Tool (Search Console), Search Traffic -> Internal Links
I see around 1000s of internal links pointing to my domain "www.example.com", I hope it should be displayed as "/"

My concern is, if Googlebot thinks that these internal links are pointing to some other pages rather than actual home page, then the 1000s of internal links weightage will go to some other page.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

2 Comments

Sorted by latest first Latest Oldest Best

 

@Goswami781

Google is smart enough to assign the correct link juice to the homepage for any variation that lands a bot or user back at the homepage.

However, if you are still concerned about internal links to your default page being recorded as different links then


Add redirects: check your Google analytics & Search Console for any such variations for links to the homepage, and adding a redirect to "/"


For the common ones, using .htaccess to do this, you can use:

RewriteRule ^(.*)index.(php|html?)$ / [R=301,NC,L]


It redirects URIs ending with index.php, index.htm or index.html to / and works with subdirectories, too. The NC flag means it is case-insensitive (works for both upper or lower case).


Specify the root file in Google Analytics under Site profile settings eg. index.php as being the file that is equivalent to "/". It can't hurt to set this, in fact it should combine all your hompage accesses together, and though there is no hard evidence to suggest this has any relevance to your PageRank, it wouldn't be there if it didn't help Google to better index and display your site, so I feel it is worth mentioning.

10% popularity Vote Up Vote Down


 

@Megan663

There is absolutely no difference for SEO when you create your links as relative or absolute:


<a href="/">Link</a>
<a href="http://example.com">Link</a>
<a href="http://example.com/">Link</a> (for the home page, the trailing slash doesn't matter.)


Google knows that all of those point to the home page. It will assign value to them appropriately and list them all the same in Webmaster Tools.

On the other hand these are not equivalent:


<a href="example.com">Link</a> -- Points to example.com/example.com because it is interpreted as a relative link (it is missing the and is a broken link.)
<a href="/index.html">Link</a> -- While index.html may be the file that contains the home page content, example.com/ and example.com/index.html are different URLs that could be configured to have different content. It is better not to use index.html in any links on your site.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme