Solved

Canonical Links for index page

Posted on 2011-09-15
4
408 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
[X]
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
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to count occurrences of each item in an array.
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.

734 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