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
-
Value of Links? What is each link worth?
Morning Everyone, I just had this thought and wondered what everyone's opinions were in terms of link value in monetary terms. We'll assume for the purposes of this that the links come from contextually relevant sites and that the sites in question have got the Moz DA from being high quality and have a good quality incoming link profile. Its a bit of a theoretical question, but i guess imagine if the only way you could get links was to pay for them, what would they be worth to you. This is link value for SEO purposes, they will have in addition value from traffic from good sites, that no doubt varies wildly depending on topic. I assume everyone also agrees on: The first link from a domain is the most valuable High DA sites are worth more than low ones. So could anyone who has an opinion on the link value suggest a monetary value for links. Its really just using a monetary amount to see how best to target my time. Here is my example of what might be expected, but I am hoping people with more knowledge will perhaps correct it. DA Rating First Link 2nd-5th Link 5th-10th Link 10Plus Links 5 $5 $2 $1 $0 15 $7 $3 $2 $1 25 $25 $10 $5 $2 35 $45 $20 $7 $3 45 $65 $30 $11 $4 55 $95 $45 $19 $5 65 $200 $100 $45 $6 75 $350 $120 $65 $9 85 $700 $240 $95 $15 95 $1100 $450 $200 $30
Link Building | | wellandpower1 -
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 -
Do footer links pass less link juice?
One of my best inbound links for PA and DA happens to be a footer link, curious if it's less valuable or has any value at all.
Link Building | | Theskimonster0 -
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 -
What are your favorite tactics for getting links to money-pages?
We've got content marketing and other great tactics for getting links to content pages, but what are your favorite tactics for getting links to your money pages (i.e. product pages, landing pages, devices pages, sales letters, etc.) For example: For certain sites (especially some ecommerce sites), one can get a few backlinks by doing giveaways, contests, or events Some sites can give their product to bloggers to review If you're selling an exciting product and/or a product that appeals to a passionate user base, such tactics can work great. There are some sites that such tactics won't work very well for, though. For example, if you sell a boring or highly specialized product that bloggers won't want to review or giveaway as a contest prize - such as valves used in a specific commercial application, or an expensive B2B product that you can't really giveaway. Creativity is of course important, but sometimes it can only take you so far. What are your favorite strategies for getting quality backlinks to your "money pages" especially for sites that don't fit into the "ecommerce site selling cool stuff" category?
Link Building | | AdamThompson0 -
Does blocking domains help remove bad links?
I have affiliate websites that are harming for one of 2 reasons: 1. They are on adult websites (and I don't want to be in a bad neighborhood) or 2. They are using a Frameset (so their content appears identical to mine and I am getting "credit" for all their junk links) I cannot get these websites to remove our links so I have blocked their IPs on our production firewall. Is this an effective method or should I do something else with these links?
Link Building | | theLotter0 -
Does linking to a subdomain give link juice to the main domain?
I have a few domains that I'm going to use for link building, will the link juice from the sub domains transfer to the main domain?
Link Building | | Vsky0