Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Canonical Links for index page

Posted on 2011-09-15
4
404 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 500 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

839 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