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
-
Are followed links from these high authority domains any good?
Hi Mozzers, I have a link building question, in 2 parts. I am in the UK. We have a large local directory network over here which involves some high authority national news domains. Basically, you get a citation for free but if you go "featured" as well as the benefit of being returned top for keyword searches in the directories, buried under a tab on your page are deep links to your website, and they are followed. What are the risks/benefits of this? Are followed links from other high authority domains like Visual.ly and Behance worth it? They are easy to get and I've always believed an easy link usually isn't a good link. Thanks in advance!
Link Building | | Silkstream0 -
Home Page & Most Important Category Page Cannibalizing Each Other
OK, so here goes. We have an odd situation on our hands. Our website sells a product technically known as "nail polish strips". We are a small player at the moment, but the reviews we've gotten in "side-by-side" comparisons vs. the big boys have been crazy, and literally always in our favor. Now the issue..... The best way to describe our product as mentioned above is they are Nail Polish Strips. Our domain name includes the term "Nail Strips" in it. Of the 200+ bloggers that have done reviews and provided us links, about 80% or so have linked to the home page, most just using our websites name, some have been nice enough to actually use keyword terms like nail polish strips. Moral of the story, for the term nail polish strips, our link profile would indicate to the google machine that our home page is stronger for this term. THE BIG ISSUE HOWEVER...... Our main category on the site that shows products is the page we originally intended to optimize for the term Nail Polish Strips. And our aim was going to be to optimize our home page for something else, like maybe plain old Nail Strips. THE BIGGER ISSUE...... At any given moment, Google is having a hard time figuring it out. Based on our link profile, we should be on page one, but what we're seeing is today, it's our Nail Polish Strips category page that ranks for that term, and tomorrow that listing will be replaced with our home page. Literally, last night the home page was on the top of page two, and today, the category page is on the middle of page two. They keep flip flopping. Sometimes they both appear within the first 3 pages, sometimes only one appears on page two, the other drops out of the top 10 pages. OUR THINKING IS....... Our home page obviously has more strength and if the google machine is even implying they like it for that term, we might as well accommodate that. Keyword spy shows this term has a volume of around 18,000 searches. The term isn't hugely competitive, so we planned to 301-redirect the current category page URL that is competing with the home page, to the home page, and re-create and optimize the category page for something different, like Nail Polish Stickers or something to that effect. THE FINAL ISSUE....... The term stickers in this industry as it relates to our product has been the victim of a negative PR campaign because the big boys (or girls) are trying to say "Nail Stickers" are garbage as opposed to "Nail Polish Strips". The problem is Nail Stickers gets a lot more traffic. So we figured, we'd optimize the category page for Nail Polish Stickers, and explain in the text, that despite what some of our competitors say, just because we're using the word "stickers" to describe them, doesn't mean they are bad, so on and so forth. I ONLY MENTION THIS SO YOU SEE WHY I'M HESITANT TO PULL THE TRIGGER ON OUR ABOVE FIX. I know this is long, and I'm not doing a great job of putting it in to words, but any insight will help. I'm supposed to pull the trigger today or tomorrow on this re-direct and new strategy, but don't want to do so until I get some of my fellow ninja's opinions.
Link Building | | AarcMediaGroup0 -
Multiple on-page links to single domain
Hi, the main focus of my question is to add a bit more information to my client as to where they are going wrong. Firstly they have a directory on a third party domain with subdirectories containing all their product listings. All the links need to be no-follow for sure. However, from a link juice passing perspective if there are per page say 20-30 links to varying URLs on the same domain is it still the same sort of calculation that the link juice is sufficiently weakened that each link has little value, or because the links are to the same domain there is an extra (potential) filter going on?
Link Building | | MickEdwards0 -
What's more important page authority Vs domain authority?
Hello everyone, I am fairly new to SEO so I'm still trying to get my head round everything, I am currently looking into some back links .. well looking at competitor's back links to copy. I was just wondering what's more important page authority or domain authority? So for example if a page has a page authority of 50 and a domain authority of 10 is that better than if a page have page authority 10 and a domain authority of 50. Thanks so much in advance!
Link Building | | vanplus1 -
Domain Authority and Page Authority down - Change of Server
Dear All, Today I noticed that our page authority and domain authority is down, and the number of linking domains is also down. We do not have too many linking domains to our site, but at least one blogger link to us, with a very nice article about our site (since some months ago) and this link does not appear in the site explorer (follow link). This blog is well indexed by google, but impossible to see using open site explorer for some reason unknown to me; and two pages we helped, and they link also to us (follow links): their links appear in the webmaster tools, but not in the site explorer. Neither the blog nor those two pages were in the site explorer before, the links that were removed are from other sources (SEO analisys pages, automatic generated when I run a test by them, so I supossed not high quality links at all, not content related, we don't miss them). Our site was partially down for 1 1/2 day this week due change of server, from a shared hosting to a VPS. Now all pages are up again, and we are improving everything, working really hard (almost no sleep at all in two days). Could it also have something to do with the lower domain authority? How bad penalized google the time down of a domain? How long will we feel the effects of that? Listing published in our site are ranking exactly as before, but I am afraid this could change in the near future. Since the end of December (not directly related to my question), we do not have this nice snipped showing the main pages of our site, when we writte the exact domain name in google. At the time, we did not any change, and this did not affect the listings ranking (they even improved in some cases); we rank better for the main keyword, so the snipped changed, without other problems. So, the questions: Have made site explorer any change in the last days, to discard low quality links? Could be the lower domain authority related to the down time of our site? How long can be felt the effects of the down time in google results? Is it something that can be felt forever? =( Do you have any idea why google decides in some cases to remove the site links in the snipped? General question, I know it is not possible to answer it for any specific domain without looking at it. We would like to have those links again. Is there something we can do in order site explorer visit that blog I mentioned? I will try to crawl it using the dashboard to see what happen. Many thanks for your help! Daniel
Link Building | | te_c0 -
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 -
Link Location: In main page or inner "Link" page?
My question is what´s best of Link Building: have it in main page or in internal Link Pages. I have the problem that have to reduce the number of outgoing links in my mainpage to rank better, but do not want to miss any linkjuice. How Linking in Main Page or Internal Pages affects SERP for your website? And should they be Follow or not Follow? Thanks in advance Maria Jesus
Link Building | | goperformancelabs0 -
When searching for high quality links, in a niche area such as real estate, does page rank factor into a search or is page / domain authority the most important factor?
After having employed many different methods for finding good link partners I am now finding it more difficult to reach out and identify good quality links for a niche area such as real estate. Does page rank factor into the search much or is it better to focus on page / domain authority as a major factor?
Link Building | | casper4340