Improve company productivity with a Business Account.Sign Up

x
?
Solved

Canonical Links for index page

Posted on 2011-09-15
4
Medium Priority
?
425 Views
Last Modified: 2013-11-18
I have my site developed in Miva Merchant which is a eCommerce shopping cart. By default the homepage is called SFNT.html in Miva Merchant just like default.aspx in asp.net.

So I created a base called index.html which is 100% identical to SFNT.html and now i want to add a canonical link to both pages so Google will know to index only one page.

here is my question by default when I type mysite.com, it alwasys displays SFNT page so is it good to add a canonical link to SFNT page like below

<link rel="canonical" href="http://mysite.com/index.html" />

or should I do the opposite and but this in index.html

<link rel="canonical" href="http://mysite.com/index.html" />

but I am using index.html all over the site and no where am i using SFNT.html

Please advice me appreciate it
0
Comment
Question by:niceoneishere
  • 2
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
Tony McCreath earned 2000 total points
ID: 36547094
I'd always try and make the domain only URL the official URL and have everything link to it.

However, the canonical tag is a good band aid and will work. Again I would use the basic domain as the canonical URL as it is implementation independent.
0
 
LVL 2

Author Comment

by:niceoneishere
ID: 36549012
ok should I put the domain name as the canonical link in both SFNT and index page sir.

Thanks
0
 
LVL 23

Expert Comment

by:Tony McCreath
ID: 36549309
That's what I would recommend.

And if possible remove all references to those alternate home pages so the issue actually goes away.
0
 
LVL 2

Author Closing Comment

by:niceoneishere
ID: 36559865
thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
Laravel is the most sought after web development framework. It comes with ample amount of features that make it easy for developers to work around it. Know about its features in detail.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question