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
-
My site is linked from over 900 "The Globe"-domains - disavow or not?
Hi! As some of you may be familiar with, there is a giant spam-network with the same design and same page title on all domains: "The Globe - The world's most visited web pages". For example: theglobe.at
Link Building | | Sindre
theglobe.co.za
www.internet-search.us I've now discovered that over 900 of these spam-domains link to my site. My plan was of course to disavow them all, but Google is explicit on telling me to be careful. «Only disavow if you are certain that the links are damaging to your rankings». And to be honest, I'm not sure. Also: it seems drastic to disavow almost a thousand pages. I'm afraid to mess something up. What would you do?3 -
Internal Linking - Post links vs Side Bar Links behaving differently
Hi, I have a question regarding the internal linking behavior. My website is www.hindimeaning.com which is approx 3 years old. I have approx 450 posts. Now i have a widget on right sidebar "Popular posts". A widget below my posts "Related Posts". And a simple html CSS menu above the posts (I removed menu around 6 month before so currently it will not show.) I crawled my site with moz crawler (same are the result from google crawler as well) and it shows menus links as internal links. While sidebar widget "Popular posts" and "Related Posts" are not showing as internal links. If we talk theoretically what i learn till now is "every link on a page behaves as internal link". Then why the widget links are not showing as internal links. Thanks, Mahesh Kumar
Link Building | | chaudhary04890 -
Do links to my website improve all pages?
I'm currently building links to my home page (through directories) and blog pages. However, none of these pages are actually targeted pages for main keywords. In SEO, do links to any webpage of a site contribute to the improved rank of other pages?
Link Building | | Gavo0 -
Are links with space considered to be the same as links with %20?
I wonder if Google would consider those three links to be the same? http://www.example.com/test page.html http://www.example.com/test page.html http://www.example.com/test+page.html
Link Building | | lucek0 -
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 -
Best way to structure a service area page with many locations to maximize internal links to them?
Currently our service area page (http://www.njlimocarservice.com/services.html) very sloppily lists many of the towns we serve in multiple counties - over 50 approx (scroll down). They have been placed that way so there is links to them from one of the subpages directly linked from the root domain. I am now attempting to make it pretty and organized with my designer. I intend to maintain a link to each individual town/landing page for SEO purposes to keep it close to root domain. My questions is how to best structure this. I don't want to list by county because some people don't know what county the town is in. However an alphabetical list may be overkill as there is so many. The other option is to get a search form or dropdown list on there but how will my landing pages be recognized by crawlers if there is no internal links from my root domain? Eventually we plan to expand further so what happens when we add 100+ landing pages? What will then happen to my internal link juice? Thanks!
Link Building | | kabledesigns0 -
How many links with page authority to beat competition if we already score 62
How many links with page authority do I need to beat or get closer to competitor with page score 78 and domain authority score 72, if we already score 68 on page and 62 domain authority. This is in one of many beauty product markets. I ask because there is a company offering me for $80 each 10 links with higher than 70 page score (up to 80) and higher than 74 domain score (up to 86). All the other factors: number of links and social are almost the same for our website and the competitor's
Link Building | | beehappy1 -
Do links from my own subdomain to my main domain carry any value?
I currently have a Wordpress blog set up on a subdomain i.e blog@ etc. I wanted to know whether the links from the blog to my main site carry any value.
Link Building | | Store210