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
-
Existing links on domain with previous history - keep or disavow?
Our client has bought a domain with a history for a different type of venue in another location. Inbound links exist related to this prevous venue - should we disavow these?
Link Building | | designlobby0 -
Submitting pages to google to expidite them finding links to my site
Is it a good practice to submit a page linking to my site to expedite google finding the link or is it better to wait for the google spider to find it? Thanks, Ron!
Link Building | | Ron100 -
Internal Links - First Link Rule Confusion
Hello All - I would like to create a guide for my team of rules for internal links and I could use some help. My understanding is that Google only counts the first link to a page, so any crafted keyword text links within the content do not count if the page in question is linked to from the main navigation. Is this correct? For example, if the menu or drop down menu in main site nav (which exists on all pages of the site) includes a link to a particular section that will be the only one that ever counts since the menu is on every page? Example: let's say a website selling cat toys includes a drop down menu on the homepage with links to "holiday cat toys". Does this mean that no other text links in content on the site will support that page from an SEO perspective since the link is in the main nav and will always be the first one counted? In the past we have added text links in the content on the homepage to important pages on the site. It seems to work, though now I'm questing these tactics based on the first link rule. I would appreciate some advice, clarification, thoughts, etc. Thanks!
Link Building | | JBMediaGroup0 -
Google indexing nofollow links
Hi Guys I have yellowpages.com.au appearing in the link profiles for some of my clients, but not in others (even if clients without the link in their profile have had an actual link on yellowpages.com.au longer than some who do have it in their profile). My understanding is that Google MAY eventually index a nofollow link... My question is what would cause Google to actually index it?
Link Building | | JuiceBoxOM0 -
I have well over 110 identical backlinks of widely varying quality - is it worth taking the page they're linking to down?
The site on which I'm working has been experiencing a month-to-month decline since the Panda and Penguin updates - I didn't get an unnatural links notification, but have clearly fallen off the face of Google with many of the more important rankings. After running a scan on my backlinks, I found over 110 identical backlinks (it looks like the same medical definition and my website is listed in the endnotes as a source - just the URL, not anchor text), some from reputable websites with high pageranks and others that look very 'spammy.' We've redesigned the architecture of the site, so the actual link itself has a 301 redirect on it, but I'm just wondering exactly how much of a liability is it to have these links out there? I'm guessing it's an all or nothing kind of thing given the identical content on each page - on one hand, I'm pretty frantic to get to the root of the Google penalties and get back in their good graces. On the other hand, I don't want to kill the site completely by going after a set of valuable links. Has anyone dealt with this before?
Link Building | | travis-taylor0 -
Whats the quickest way to measure inbound linkes to an inner page?
Greetings from 12 degrees C just stopped raining wetherby Uk 😉 Whilst there is a stack of tools out there capable of measuring inbound links to a site i need a tool that can target a specific page and inform me about the origin & volume. Put another way i need to know what tool could tell me how many links this page is getting:http://www.sandersonweatherall.co.uk/office-to-let-leeds/ Thanks in advance,
Link Building | | Nightwing
David0 -
How useful/ damaging is it to have links repeated on every page ?
Our site is dynamic in nature we have tens of thousands of indexed pages with numerous individual brands pages - all of the brand pages are equally important. We are trying to distribute link juice to those pages as much as possible - so my question is --- Is it smart and or useful or perhaps damaging or spammy to have a space on the bottom of each page throughout our site with links to each and every single brand page ? is this practice considered as duplicate content etc ?
Link Building | | AJMKristi0 -
Can link juice be passed in an iframe from domain A to domain B
Need to give our web partners our booking form which must be loaded in an iframe calling back to our domain. Is it possible to pass any link juice from their domain loading our iframe back to us. Was thinking of a "Powered by" text link in the form footer, but I'm guessing the link needs to be outside the iframe. Would love to hear any thoughts or workarounds on this.
Link Building | | apolloseo1