Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Unsolved Are links from staff profile pages no longer good for SEO?
Hey there, We run a small site that lists lawyers and we have an opportunity to ask the lawyers to display a 'badge' on their own website's staff page, linked back to the page on our site that they are listed on. Initially I thought this would be good link building (i.e. the lawyer's own staff/profile pages on their website linking to our site where they are listed = a highly relevant link). I was less concerned about the authority of the law firm's sites, though these will range from sometimes low-ish to medium. I just assumed that Google would see the value in the lawyer wanting to link to our site where they are listed. However, our SEO has said that these days Google doesn't give much/any value to these types of links from individual staff pages. His advice was to try and get the badge added to one of their service pages (or their About page) which will be unlikely as the badge is person-specific. I thought I'd ask if this was everyone else's experience regarding Google not valuing links from individual staff pages? Thanks for you help 🙂
Link Building | | Andy-H0 -
Backlinks vs External Links vs Referral Links vs Outbound links
Hello all, I was just wondering if you could explain the difference between all the links above? I'm confused as they all seem to be the same or similar and I would just like to clearly know what distinguishes them from eachother. Thanks for your help, Jayne
Link Building | | NCOREGSEO0 -
Should my backlinks point to my home page or to internal article pages?
Hi, I run a fitness blog and I get the majority of my backlinks through guest posts that I write on high quality sites. Sometimes they allow me to put a backlink within the article, and I'll link it to a relevant article of mine. However, in the "author bio" section my backlink anchor text is usually just my brand name. I was wondering if this backlink should point towards my home page or is it more beneficial to point it towards an important article of mine? Thanks
Link Building | | jeremyethier0 -
I just uncovered a massive 500+ domain PBN linking to competitors
As the title, some competitors I've been watching are using a PBN they (or their agency) have built. I'm looking to get some discussion on how you approach situations like this - do you just report all of the domains to Google and pray they do something? There are 4 sites I'm looking at, all competing in the same niche with very similar websites (different branding and content, but essentially the same pages). I thought all were related, but after Excel-ing all the domains to see which overlap I've found that there's several sets; PBN 1 covers 117 domains that link to competitors A, B & C. Signaling to me that these are owned by the same person. PBN 2 links together B & C with 30 domains, PBN 3 is just C with 40 domains. PBN 4 is just B with 105 domains. PBN 5 is just A with 10 domains. PBN 6 is D by itself with more than 340 domains. Signaling to me that this one probably isn't owned by the same person. It looks like new domains are added to these PBNs every week and this has been going on for quite some time. Now, I'm fully against use of PBNs that don't use authentic websites that provide value, and I can't find any of these sites that aren't just a basic WP template with a single-word text logo followed by spun content. This is a goldmine, because according to Ahrefs these sites are pulling in well over 500,000 monthly visitors between them, and these links make up the majority of each site's link profile. If these networks were to crumble, that would open up a big opportunity for more authentic sites to rank well. How would you recommend to tackle this? Do I find example URLs and write reports for each of the 500+ domains or are there better ways of working through this?
Link Building | | Leads.Bz0 -
Domain Authority and nofollow links?
Hello, I'm wondering, are 'nofollow' links from websites with high domain authority beneficial? Would they boost our own DA? In essence, I'm wondering if there is added value (other than visitors clicking the link) to being linked to by a 'nofollow' link. Thanks!
Link Building | | yacpro130 -
Will a mega menu on all pages dilute the link juice?
On our web site (http://www.betxpert.com) we have a mega menu with quite a lot of links in it. I am getting warnings in SEOmoz saying we have far to many links in our pages. But a lot of pages have large menus with a lot of links - are all pages punished for this then? My primary question is: Since the menu is on all pages, the pages linked in the menu will have a link in from all of our pages (200K+ pages) and a lot of these do not have a good ranking. So what I want to know is if the pages linked in the menu will have lower ranking because of the many links in - or is this a good thing? Should I consider setting "nofollow" for som of the links on other pages than the homepage (since this is the page with the best rank)?
Link Building | | rasmusbang0