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
-
SPAMMY links to my search results page
Hi, I have a big problem, somehow someone has built THOUSANDS of SPAMMY links to my site's search result pages with keywords that does not even make sense or inline with the site. Links are dofollow and goes to /?s=TERM see the for yourself https://analytics.moz.com/pro/link-explorer/inbound-links?site=https%3A%2F%2Fhealthtian.com See image https://imgur.com/a/fahetyZ Please is there a way to BLOCK all at once? i feel these links are impacting on my site. Thanks
Link Building | | Lordcharsty1 -
Does removing pages, so that they return 404, also remove any impact of spam links pointing to that page?
A site with numerous spam links pointing to an old forum. The forum is now removed so do I need any further action? thanks,
Link Building | | ElaineDesignLobby0 -
How Effective Are Links Between The Same Company's Websites With Different Domain Extensions?
Morning! The main competitor of an eCommerce site I'm working on has a total of 31 sites for 31 different countries. Each one of these sites has a different domain extension (.com, .co.uk, .fr, .it etc.), and every single one of these sites' pages links to all the other homepages through a dropdown menu on the navigation bar. When I pop the .co.uk URL (our main competitor) into Open Site Explorer, I'm advised they have a 45,079 links from 475 domains. If I look at 'just discovered' links, most are from their own sites - I guess MOZ picks these up every time a new page is created. Now, these guys are huge in the UK. They rank in the top 10 for pretty much every single search term and, to put it into some kind of perspective, their Search Metrics score is 33,000 compared to our measly 160! Don't get me wrong, they do get some decent links from authoritative sites, but it seem most of their links are from their own sites. How does Google view these? Does my competitor have these thousands of 'internal' backlinks to thank for their current position? I've just checked their .kr URL and this has 12.5 million(!) links from just 450 domains. Do every single one of these links pass equity? Or does Google just look at one from each domain? Thanks, Lewis
Link Building | | PeaSoupDigital0 -
Removing a link to a 404 page
Hi guys, If I found a low quality or spam link pointing to my site, but the link points to a 404, 500, etc (inaccessible, error page), Should I bother asking him to remove the link? Thanks
Link Building | | WizardOfMoz0 -
Are the following considered bad links for Link Building.
I've been doing a lot of research lately on link building & I've read a lot about having a diverse amount of links. Social links, Blog links, comment links, footer links, No follow links, Directory links as well as links with Anchor text URL match, brand match, partial brand match, non-descriptive, and with keywords. But there is a lot of talk of removing those links that look like a site that's built just for link building purposes.... but Directories are basically built for link building are they not? I'm wondering if anyone can tell me if they feel links from the following directories would be bad links. (Non-Paid) http://www.yoganza.com http://www.wkool.com http://www.wee-directory.com http://www.voicelet.com www.hotfrog.ca http://www.webdirectorieslist.com http://multiplelistingboard.com http://mozdirectory.net http://freedirectorypr.info Industry specific below: http://bestautolinks .com http://automotivedome.com http://automobilebuzz.com http://craigsautolinks.com Thanks so much for the help!
Link Building | | DCochrane0 -
PPC Landing pages and SEO landing pages query
We do a fair amount of work on PPC and because of this a lot of our PPC landing pages also do quite well in SEO. We are thinking that the landing pages do well because they get a lot of traffic from PPC and therefore, maybe google can index and take note of these pages quicker? The pages that usually shoot right up the rankings are new pages used for long tailed keywords. So I have a few questions: Does the traffic from PPC actually have any effect on SEO rankings? If we were to create a page that was to act solely as an SEO landing page, would google take note if there was no traffic? Would simply linking from our main site to the landing page be enough to give it a bit of authority, in which we can build upon? Thanks in advance.
Link Building | | esendex0 -
Inbound Links from Web Pages Based in Other Countries
I have noticed that some of my competitors have in-bound links to their sites from high PageRanked websites. But when I investigate the websites, they are based overseas, to be mainly used for linking. Does it hurt them that the sites are based overseas despite the high Page Rank?
Link Building | | findachristianjob0 -
Which parameter does google value more: number of incoming links or on-page optimizations (meta data and keywords)?
I am just starting with the SEO and I have a client in the travel industry whose website is not ranked well on the search engines. After doing the seo audit we see that the website's on-page optimization (meta titles, meta description, meta keywords and h1, h2, etc tags) is bad. At the same time there are very few incoming links into the website. These are the key 2 issues we found. In order to proceed most effectively, what do you think would be more effective to focus on first? Doing the on-site optimization or focusing more on the link building? Do the search engines, in particular, google - weight more either of these parameters? thanks so much for all your advice! all the best egle
Link Building | | queenz0