Solved

Canonical Links for index page

Posted on 2011-09-15
4
401 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:
Tiggerito 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:Tiggerito
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web Reply Form - PHP with Upload 4 66
Angular 2 - Issue in page Layout 2 59
Accurate Analytics (Not Google) 2 38
CSS: Making responsive table look nicer 7 23
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…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now