Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Canonical Links for index page

Posted on 2011-09-15
4
Medium Priority
?
421 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 1

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 1

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.

If you are experiencing a similar issue, please ask a related question

While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
The online market is growing at an unprecedented rate and retail eCommerce sales are expected to reach $4 trillion by 2020. Yet, the profit is not just there for the taking because you have to set yourself apart from the competition.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

963 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