Linking to root domain or index page
-
While link building, should I link to index page of my website i.e www.mydomainname.com/index.html or should I link to root domain i.e www.mydomainname,com
Also I see duplicate title error for index page and root domain in error statistic. How can I get rid of this.
-
Hi Arti,
Generally, you want to link to your root domain. Many common website templates link to home as /index.html, but that really hasn't been necessary for years.
The easiest way to fix this would be to add a canonical tag in your homepage, which is the /index.html file. It would go in the section and look like this:
After you add this, when you look at your source code for your homepage, you should see this tag in there from whatever address you reached the page from.
There's a lot of information on duplicate content out there, and a lot of different ways to fix the same problem. Here's a good overview of the subject:
http://www.seomoz.org/blog/duplicate-content-in-a-post-panda-world
Best of luck with your SEO.
-
To me, that's not what your 404 page is for. I wouldn't recommend doing it. What happens if they typo something, or hit a bad link some other way? There's no message to tell them what happened and it creates a confusing user experience.
Better, in my opinion, to redirect the file individually
Arti, there's a good article on SEOmoz about redirects. Down the bottom, there are some how-to guides on how to do things like 301's. Just be careful of infinite loops if you're using apache.
http://www.seomoz.org/blog/url-rewrites-and-301-redirects-how-does-it-all-work
-
Hi Anthony, Thanks for your reply. Does that mean that I should actually remove index.html from my website. Also please help me for 301 redirect. Rgds Arti
-
If you have wordpress you can add
<code>php header("HTTP/1.1 301 Moved Permanently"); header("Location: ".get_bloginfo('url')); exit(); ?></code>
<code>to your 404 page.</code>
-
Hi Arti,
You'll just need to create a 301 redirect from www.yoursite.com/index.html to www. yoursite.com. This will permanently eliminate the /index.html version (which is a duplicate page) and fix the duplicate content error.
After that, build links to www.yoursite.com.
Hope this help. If you need more info on how to do the 301 redirect just let me know.
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
-
Should I focus on building links to my homepage, or internal pages?
I'm hiring several PA's to contact site's linking to my competition. Should we try to get links to content pages (blog post, article, etc) or build links directly to my homepage? More info: My site is a web application, so most links will naturally fall on the homepage. If links to content are more important we'll need to change our strategy. We are pitching the free version of the application to universities and schools as a resource for their students.
Link Building | | Dunjenman0 -
Page Authority vs Domain Authority for Inbound Links
When executed correctly, earning links from high authority sites that are relevant to my website's industry are still valuable correct? So I want to know what is more valuable to my site and influencing the ranking of my site? Is it better to gain links that have a high page authority or domain authority? What is more valuable to my site and influencing its ranking?
Link Building | | PartyStore0 -
Company is spliting up and moving to new domains, trying to keep link juice going forward
A company I am doing SEO work for is splitting into 3 and will be hosted on three separate domains. I am getting 2 of the 3, however, I am not getting the domain that has most links going to it. What is the best practice to carry any link juice going to my divisions to the new domain names? Should I contact sites linking to my divisions content on the old site and ask them to link to my new sites? Should I do 301 redirects to help carry links to my new sites? Also, I found this guide in moz http://moz.com/blog/seo-guide-how-to-properly-move-domains its from 2009, but is this still considered the best practices for moving to new domains or is there an updated guide I should be using?
Link Building | | T-wrench0 -
Internal Links and Page Authority - Best Practices
Hello, Is it bad (in terms of ranking in the SERPS) if i have a link from a page with PA of 18 going to a page with PA of 21? In other words, does it matter if the page containing the link has a lower page authority than the page receiving the link? Page A links to Page B Page A page authority is 18 Page B page authority 21 could this negatively affect my rankings? Thanks
Link Building | | Prime850 -
Effects of link bait page
Hi Mozzers! I'm thinking about putting a page with some interesting comedy content on my site as link bait and had a few questions on how i should go about it. 1. Should I link to this page from my home page or would it be better to build outside links to it and then funnel all the page rank to the pages on my site that i want ranking higher? I've been told that page rank is a tiny factor in ranking in the serps so is it worth doing if the only reason i'm building it is to funnel page rank to my important pages? The link bait page content will be on the same subject as my entire site so it will definitely help google associate my site with my product from the incoming links. 2. if a web page on my site receives links does it help other pages on my site to rank higher or just the page with the incoming links? One time i had a flurry of links pop up to my home page and it seemed like all my pages started ranking higher, but it might just have been coincidence? Any thoughts? 3. What's a good way to get my page seen by the masses to draw links? I thought about buying some stumbles on Stumbleupon to get it seen quickly but are there more or better ways to do this? Thanks in advance everyone! Ron
Link Building | | Ron100 -
Tagged pages showing too many links
I'm confused - seo moz crawl shows I have lots of pages with too many links. 150 - 200 or so. I'm not sure how any of my pages can have that many links and they don't appear to to me. Here's an example: http://www.musicliveuk.com/tag/wedding-entertainment They all appear to be 'tag' pages. These pages are blocked by meta robots anyway so is this a problem and how do I fix it? I also am very confused by rel canonical. I have 300 odd pages with this warning. Is this good or bad? Plesae help!
Link Building | | SamCUK0 -
Inbound links vs. internal links
Which scenario does more to help SEO - A) An inbound link from a low traffic/low page rank site to my site B) An internal link where one page of my site links to another page on my site
Link Building | | DVanSchepen0 -
Links from low PA pages on high DA sites... What effect do they have?
My company's website has inbound links from very high DA websites (LinkedIn 96, Yelp 91, etc.) but from pages with very low PA (1). These low PA pages are the company listings pages. In the case of Linked In, there are several products/services listed with ideal anchor text to the relevant pages on our site. How do these links effect our overall ranking and trust, and why aren't they listed when I use OSE to analyze my pages? Thanks!
Link Building | | sverdino0