Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Open discussion on SEO


burt

Recommended Posts

OK...done. view source something like <link rel="publisher" href="google.com/+MyGreatShop" />

 

The module install is very easy. One minute install once downloaded.

 

Setting up the business acct took longer but no big deal. Start here: http://www.google.com/+/business/

 

Thanks Gary and Gary.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

  • Replies 293
  • Created
  • Last Reply

How about having the given SEO names (obviously, only if they are given) in the categories box and manufacturers box ?

Valuable ?

 

It would make sense in a scenario like this I think.

 

Product Name > Red Leather Sofa With Brass Buttons

SEO Name > Red Leather Sofa

 

where "red leather sofa" was the target keyword.

 

So overall, given the nature of the type products our shops sell, yes. (not sofas by the way)

 

But others may have another point of view depending on the nature of their categories and products?

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

For my SEO name I've been using the pipe. Red Leather Sofa | Brass Buttons or such.

 

Not sure what that would look like in the boxes but I'll give it a shot.

 

thanks

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Thanks Steve

 

includes/modules/boxes/bm_categories.php

 

Find (about line 87):

     $categories_query = tep_db_query("select c.categories_id, categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");

 

Change to:

     $categories_query = tep_db_query("select c.categories_id, coalesce(cd.categories_seo_title, cd.categories_name) as categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");

 

And Find (about line 112):

         $categories_query = tep_db_query("select c.categories_id, categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");

 

Change to:

         $categories_query = tep_db_query("select c.categories_id, coalesce(cd.categories_seo_title, cd.categories_name) as categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");

 

includes/modules/boxes/bm_manufacturers.php

 

Find (about line 38):

     $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name");

 

Change to:

     $manufacturers_query = tep_db_query("select manufacturers_id, coalesce(manufacturers_seo_title, manufacturers_name) as manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name");

 

 

If you have the time to try it and report back that would be excellent. Thanks very much.

Link to comment
Share on other sites

In the shop I am testing this on I use the superfish categories box but I activated the regular categories box and it is showing the SEO titles. Before it was just "dog costumes" Image attached.

 

For the manufacturers box, I am seeing the SEO title in the drop down if that is what is to occur. Before the first mfg just showed as "Aria" Image attached.

 

Given the layout/design in this particular shop I am not sure I'd use these as there is a lot of text there. Note the drop down in the mfg box doesn't let the user see the full text anyway, but maybe a redesign of the box itself would address that.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Link to comment
Share on other sites

Steve, great thanks for testing :)

 

That's exactly how I wanted it to look. The individual site owner can decide on if they want to use seo titles or not for these things. The length of the name in the dropdown is an admin setting...max values (I think).

 

I'll add this into the next release of Reloaded.

Link to comment
Share on other sites

  • 2 weeks later...

http://addons.oscommerce.com/info/8864

- update to the opengraph module to deal with the new names for some keys

 

If you only need this new module (in other words you have all the rest installed already), simply upload the following files to overwrite what you already have in place:

/includes/modules/header_tags/ht_product_opengraph.php

/includes/languages/{language}/modules/header_tags/ht_product_opengraph.php

Link to comment
Share on other sites

  • 2 weeks later...

I coded in the ability for the shopowner to add a "product seo title", which over-rides the product name in certain places (eg: in the <title> tag and so on). Should this seo title reflect throughout the whole site (eg in the products_new page, the specials infobox and so on), replacing the products name everywhere ?

 

Personally I can't see a good reason for that...

Link to comment
Share on other sites

The product name is something that distinguishes one item from the next, it is brief as space is limited, like if you print catalogs i would use the product name.

Or if you have a list of products stick to name, but use the seo title on the detailed page ?

seo title can become very long, but it is what you want to rank for, so the more places you can use it, I think the better.

It is a tricky question, I don't think one size fits all, so it would all have to be configurable I think.

 

On a related note, I've been doing some tricks with views, so you could create a view for the catalog side, that returns the seo title iso the products name by default,

if you retrieve the configuration data before the database tables, you could make it configurable to ...

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

just realized, one of the things i changed from standard oscommerce ... the length of the products_image in the products table, and in product_images is set to varchar(64).

It is my understanding since it is a varchar, increasing it won't really increase the database size.

 

I have changed it to 80 chars as I have some brands where the images are in subdirectories and the name is kinda seo optimized.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

@@bruyndoncx - thanks :)

 

I've been thinking on this some more, there is at this moment (in the Reloaded addon) just 2 places that the SEO Title over-rides the usual info:

 

1. in the <title> tag of the underlying code on the product page

2. in the breadcrumb, instead of the products_model

 

In my mind I want to add:

 

3. change the product page so that the actual product name shows the SEO Title

4. opengraph module returns the SEO Title instead of Product Name (used in external places like Pinterest, Facebook, Addwish)

5. twitter card module returns SEO title instead of Product Name (used in Twitter)

 

Obviously if the SEO Title does not exist for a product, then the usual product name would show in all these places.

 

Thoughts ?

Link to comment
Share on other sites

  • 3 weeks later...

Anyone have any more ideas for supercharging SEO ? Anyone want to recommend changes to the work already done ?

 

I'm at the point of a finalised release so if there are any more ideas, now is the time.

Link to comment
Share on other sites

a suggestion, and Im not sure of how practical this would be, is to somehow be able to modify the og tags as used by add-this layers to give a better "whats next" functionality - ideally this would be like mini x-sell type function.....

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

Obviously if the SEO Title does not exist for a product, then the usual product name would show in all these places.

 

Thoughts ?

 

This is a good idea. Something I have been doing is adding yet another new field - h1 title - I use this so that if there is a product that requires a very long name, then it can be kept short so that display stays consisitant in the various areas of the site it could show up, but on the product page itself, then the h1 title kicks in and can be just as long as need be. From an SEO perspective, the h1 should be simular to the pages title so that they complement each other, bringing value to what is on the page.

 

In summary I use it to:

  • Keep product names short across the board
  • Complement the page title
  • Use more charaters than allowed in the page title when nessasary

It may add more work to a shop owners task, but is another tool that can aid in SEO for the human visitor as well as the bots.

Follow the community build:

BS3 to osCommerce Responsive from the Get Go!

Check out the new construction:

Admin Gone to Total BS!

Link to comment
Share on other sites

Well anyone any opinions on the value of extra info pages being super charged with the header reloaded considering content is what The Grand Master Yoda ( I mean Google ) wants .... content is king??

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Well anyone got any opinions on the value of extra info pages being super charged with the header reloaded considering content is what The Grand Master Yoda Google wants .... content is king ??

 

Regards

Joli

 

PS: Sorry double post just practicing my Strikethrough's

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Definitely. Would be a relatively simple exercise to create a ht_ module to work in conjunction with the info manager addon. The point of making the new seo system into proper header tag modules is for this exact flexibility.

Link to comment
Share on other sites

a suggestion, and Im not sure of how practical this would be, is to somehow be able to modify the og tags as used by add-this layers to give a better "whats next" functionality - ideally this would be like mini x-sell type function.....

 

No core function (or slated to go into core) should be changed to accomodate an addon.

Addons should be changed to acccomodate the core...

Link to comment
Share on other sites

This is a good idea. Something I have been doing is adding yet another new field - h1 title - I use this so that if there is a product that requires a very long name, then it can be kept short so that display stays consisitant in the various areas of the site it could show up, but on the product page itself, then the h1 title kicks in and can be just as long as need be. From an SEO perspective, the h1 should be simular to the pages title so that they complement each other, bringing value to what is on the page.

 

In summary I use it to:

  • Keep product names short across the board
  • Complement the page title
  • Use more charaters than allowed in the page title when nessasary

It may add more work to a shop owners task, but is another tool that can aid in SEO for the human visitor as well as the bots.

 

In the system I have coded up the ability to have a "seo title" per product. This was used at:

 

breadcrumb

<title tag of product page

 

New fileset uploaded yesterday extends this

 

h1 heading on product page

twitter cards (re-introduced into the seo package)

opengraph

 

Gives more flexibility to the Shop Owner.

Link to comment
Share on other sites

  • 2 weeks later...

This is new to me, and of course I thought of osCommerce becuase of its multilingual capabilities - https://www.mozilla.org/en-US/firefox/os/

View the source code and look at the meta tags. You will find:

   <link rel="alternate" hreflang="x-default" href="http://www.mozilla.org/firefox/os/">
   <link rel="alternate" hreflang="ca" href="http://www.mozilla.org/ca/firefox/os/" title="Català">
   <link rel="alternate" hreflang="cs" href="http://www.mozilla.org/cs/firefox/os/" title="Čeština">
   <link rel="alternate" hreflang="de" href="http://www.mozilla.org/de/firefox/os/" title="Deutsch">
   <link rel="alternate" hreflang="el" href="http://www.mozilla.org/el/firefox/os/" title="Ελληνικά">
   <link rel="alternate" hreflang="en-US" href="http://www.mozilla.org/en-US/firefox/os/" title="English (US)">
   <link rel="alternate" hreflang="es-AR" href="http://www.mozilla.org/es-AR/firefox/os/" title="Español (de Argentina)">
   <link rel="alternate" hreflang="es-CL" href="http://www.mozilla.org/es-CL/firefox/os/" title="Español (de Chile)">
   <link rel="alternate" hreflang="es-ES" href="http://www.mozilla.org/es-ES/firefox/os/" title="Español (de España)">
   <link rel="alternate" hreflang="es-MX" href="http://www.mozilla.org/es-MX/firefox/os/" title="Español (de México)">
   <link rel="alternate" hreflang="et" href="http://www.mozilla.org/et/firefox/os/" title="Eesti keel">
   <link rel="alternate" hreflang="fr" href="http://www.mozilla.org/fr/firefox/os/" title="Français">
   <link rel="alternate" hreflang="hr" href="http://www.mozilla.org/hr/firefox/os/" title="Hrvatski">
   <link rel="alternate" hreflang="hu" href="http://www.mozilla.org/hu/firefox/os/" title="magyar">
   <link rel="alternate" hreflang="it" href="http://www.mozilla.org/it/firefox/os/" title="Italiano">
   <link rel="alternate" hreflang="ja" href="http://www.mozilla.org/ja/firefox/os/" title="日本語">
   <link rel="alternate" hreflang="pl" href="http://www.mozilla.org/pl/firefox/os/" title="Polski">
   <link rel="alternate" hreflang="pt-BR" href="http://www.mozilla.org/pt-BR/firefox/os/" title="Português (do Brasil)">
   <link rel="alternate" hreflang="ro" href="http://www.mozilla.org/ro/firefox/os/" title="română">
   <link rel="alternate" hreflang="sr" href="http://www.mozilla.org/sr/firefox/os/" title="Српски">

 

Does this tell the bots that an alternate page in a different language exist - so go index it?

We do know that Google counts seperate languages as seperate pages - so it could be a good helper for multi-language shops.

Follow the community build:

BS3 to osCommerce Responsive from the Get Go!

Check out the new construction:

Admin Gone to Total BS!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...