Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Duplicate issues | Google


Tsimi

Recommended Posts

Hi

 

I was just reviewing my search appearance in the Webmasters Tools -> HMTL improvements and there it says that I got some duplicate contents.

This is new territory for me and SEO and all that stuff is not my forte. I have SEO - Reloaded and SEO URLs by Chemo installed.

How can I not only prevent those from happening but also remove them from that list or fix them? Any help on this is appreciated. Thanks.

Here the list:

 

1. Duplicate Meta Descriptions

 

/
/index.php
/index.php?currency=AUD
/index.php?currency=CAD
/index.php?currency=CHF
/index.php?currency=EUR
/index.php?currency=GBP
/index.php?currency=HKD
/index.php?currency=JPY
/index.php?currency=USD
/index.php?language=en
 
 
2. Duplicate Title Tags

/futatsu-domoe-set-p-236.html
/futatsu-domoe-set-p-236.html?language=de
    

/meoto-chidori-set-p-235.html
/meoto-chidori-set-p-235.html?language=de
    

/coaster-c-30_36.html
/coaster-c-32_45.html
    

/all_products.php
/conditions.php
/contact_us.php
/privacy.php
/shipping.php
/shipping.php?currency=AUD
/shipping.php?currency=HKD
/sitemap.php
/wishlist.php
    

/
/index.php
/index.php?currency=AUD
/index.php?currency=CAD
/index.php?currency=CHF
/index.php?currency=EUR
/index.php?currency=GBP
/index.php?currency=HKD
/index.php?currency=JPY
/index.php?currency=USD
/index.php?language=en
Link to comment
Share on other sites

You need to set the canonical tag on index.php - it must exclude the currency and language parameters. not familiar with that add-on so can't say if it already does that.

 

Duplicate Title tags on these pages:

 

/all_products.php
/conditions.php
/contact_us.php
/privacy.php
/shipping.php

/sitemap.php

/wishlist.php

 

mean that you have not given titles to them and you probably have the store name set for all of them. Set unique titles for all of them. 

Link to comment
Share on other sites

@@Hotclutch

 

Hi Ashley

 

Thanks for your reply.

 

 

You need to set the canonical tag on index.php - it must exclude the currency and language parameters. not familiar with that add-on so can't say if it already does that.

 

I lost you there already...canonical tag? I got Canonical Header Links inside the ht_ modules activated other then that I can't see anything else named canonical...

 

 

mean that you have not given titles to them and you probably have the store name set for all of them. Set unique titles for all of them.

 

How can I do that? They don't have their own headers where i can type a title or anything. But I'll look around....maybe I am just missing something...

A stock osC shop doesn't allow you to set different titles per page.Neither does any of the addons that I have.

Link to comment
Share on other sites

Go to a page with the currency parameter set, and one with the language parameter set, then view the source code. What appears in the head section wrt to the 

 

<link rel="canonical" href="" /> ?

 

For title tags you create new modules under header tags in the Admin.

Link to comment
Share on other sites

You may not want to exclude the language parameter with rel="canonical" depending on the content on your pages. If you have multiple languages set, but the main body content is the same and does not change, then use it.

 

PS: it's late/early here, i will comment again tomorrow if required.

Link to comment
Share on other sites

@@Hotclutch

 

Not to be a pain in the a$$, but can you be a bit more specific? I mean I did not drop on my head or anything but it is early morning here and I have a hard time to get the motor starting and I am really not good at all with this stuff.

So you tell me that any shop out there that has not installed a canonical tag addon or uses multiple languages will get this duplicate content issue? There is nothing inside a stock osC shop to prevent such thing?

If yes, then wow man that sucks.

 

The language & currency thing is inside the header.php just simple dropdown codes. Now how should I use this <link rel="canonical" href="" /> ?

And you say I should "create" new ht_ modules for each page that is listed? I have Pages Title, Pages Meta, Category Title, Category Meta and so on inside already but nothing more then that.

 

UPDATE: just read your answer...yeah early here too, I will see who else might answer here and see from there....right now I am just staggered and confused. Thanks again for your time & help. Appreciated.

Link to comment
Share on other sites

What's in your source code? stock osC bootstrap does have the canonical tag as standard, just don't recall how it's setup by default, will have to go check.

 

I will post here the example code for a new ht module for a page like conditions later, then you can do the same for all the rest.

Link to comment
Share on other sites

this is what is inside the canonical ht_ module

    function execute() {
      global $PHP_SELF, $HTTP_GET_VARS, $cPath, $oscTemplate;

      if (basename($PHP_SELF) == FILENAME_PRODUCT_INFO) {
        $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . (int)$HTTP_GET_VARS['products_id'], 'NONSSL', false) . '" />' . "\n", $this->group);
      } elseif (basename($PHP_SELF) == FILENAME_DEFAULT) {
        if (isset($cPath) && tep_not_null($cPath)) {
          $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $cPath, 'NONSSL', false) . '" />' . "\n", $this->group);
        } elseif (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) {
          $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . (int)$HTTP_GET_VARS['manufacturers_id'], 'NONSSL', false) . '" />' . "\n", $this->group);
        }
      }
    }

that looks similar to what Spooks posted once. I have no clue what that should prevent but I have that activated in the admin area.

My source code just shows the title, meta description and all the rest that comes from the template_top.php

 

UPDATE:

 

OK my home page/start page shows the title that i have set inside the SEO Reloaded part inside the english/index.php but when I look at my all_products page it just shows the shop name, no additional text.

Link to comment
Share on other sites

@@Hotclutch

 

I think I got the pages thing figured out. It is a mistake from my side and not shop related. :blush: :- o:)

I compared the specials.php page and the all_products page and the titles show different.

Looking at the language files the specials.php has a SEO code part inside it where I have to define the title, description and keywords.

The all_products.php page did not have that SEO part in it so I added it and it shows now a different title.

 

So this following list  we could say is solved

 

 

/all_products.php
/conditions.php
/contact_us.php
/privacy.php
/shipping.php

/sitemap.php

/wishlist.php

 

Now left to fix are the currency and language stuff.

Link to comment
Share on other sites

OK, glad you came right. What i meant was to see your source code, not the code of the canonical tag. Either you are using the tag or not, because the stock tag does not have any configurable options. If you are using it then it should be excluding those parameters.

Link to comment
Share on other sites

@@Tsimi Those various links are really non-issues. See here for googles advise. You should have a working canonical meta tag regardless, of course. But you can also use the ignore parameter option in both google and Bing webmaster tools.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The only thing that's confusing is whether you are using a canonical tag or not. If you can PM me a link to your site i can take a look at the source of your pages. Depending on your browser you normally right click and select "view page source".

 

if you don't fully understand how query string parameters work WRT SEO, then it is best not to select options under that category in webmaster tools. It will default to "let Google decide" and that's probably the safest option if you don't want to affect the performance of your site.

Link to comment
Share on other sites

The "W" site does not appear to be using the Canonical HT module ?

 

Edit:  my mistake,yes it is...  Would help if I was looking at a page on which the module is invoked  :blush:

Link to comment
Share on other sites

You have rel="canonical" on your product pages, but not on your index pages, which explains why the errors in Google webmaster tools are for index.php only. Depending on the ht module you selected to use, you might be able to select the pages you want the tag to display on, in which case you should select index.php.

 

I looked at your German and English product pages. You have your product descriptions translated into German, correct? In which case you don't want to exclude the language parameter. You want people who search in German to find that URL on your site.

Link to comment
Share on other sites

Thanks for checking.

 

The module name is Canonical Header Links and if I am not mistaken that is stock osC, no Addon. And there are no pages to select. I can either set it to true or false and set the sort order for it and that's about it.

Link to comment
Share on other sites

If you use the module, then it will exclude all parameters incl, language, currency, page, sort.

 

You have 2 options, recode the module to get it to work like you want, OR drop it completely and let Google decide to index your site like it wants.

 

Member Spooks had an add-on with inclusion/exclusion arrays where you could set parameters per page, maybe you can get that to work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...