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
-
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 -
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 -
How to link blog posts to web pages
In past I would write blog posts and link to a static web page. The link from the blog post to the static web page would be the same keyword(s) as the web page was optimized around. With the latest Google updates, it seems like the keywords linking to the web page need to be varied, but I'm not sure what the ideal system would be?
Link Building | | Doug_Hay0 -
Any value in link building to local pages on my site?
If I'm trying to rank for the term 'wedding band' with my url: http://www.musicliveuk.com/home/wedding-bands will linking to local pages such as: http://www.musicliveuk.com/live-acts/hire-wedding-bands/wedding-bands-london help the main page to rank? I added the 'local' pages to try and pick up any traffic from long tail search queries but my main focus is on getting the main page to rank as the traffic from long tail queries is so small. So is it worth me spending time building links to these local pages in order to try and help the main page rank?
Link Building | | SamCUK0 -
Link Building: No linked to content in industry
Hello, I'm doing link buidling for a small ecommerce niche. There's no resource content in the niche (looking at OSE Top Content) that has attracted backlinks (on any sites) How should this effect what resource content I should create. Thanks!
Link Building | | BobGW0 -
Finding pages with a high Page Authority
Hi, Whats the quickest way to find pages with a high authority using SEOMoz? Cheers Mik
Link Building | | increation0 -
Do sites on the same c-block and same server count as seperate linking root domains when linking to each other?
Lets say there are 50 businesses who have their website on the same server and are on the same c-block but the owners of the individual sites are different (i.e. they are all completely different sites not relevant to each other). Each of those sites are linking to each other due to a feature on the sites. This obviously increases the number of total links to each site but does it also increase the number of linking root domains? Or does this just show up as one linking root domain due to all of them being on the same server and the sharing the same c-block?
Link Building | | cinternicola0