Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 4 votes

Meta Tags For Your osC Shop


184 replies to this topic

#141 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 16 April 2009, 04:30

View Postnnclyn, on Apr 12 2009, 03:06 PM, said:

Is there a way to do this type of fix to the categories as well?


Yes it can be done by editing index.php in much the same way....and the descriptions for how to do it is just below the one for product_info ...soo read the complete tread and you will find it
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#142 cvetyab

  • Community Member
  • 6 posts
  • Real Name:Tsvetelina

Posted 07 May 2009, 20:47

[quote name='thunderace' date='Mar 25 2006, 05:13 PM' post='824481']
I did this for myself, if it helps

Adds dynamic page titles and meta info to osCommerce based on the existing breadcrumb so no extra queries.

Replace <title></title> with ..




create a file called meta_info.php and place in catalog>includes.

File contains the following: -


.....
Hi I did this but now instead my shop title is writen " My standart shop title" How do I change that my site is in bulgarian. Thanks

#143 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 08 May 2009, 01:47

Quote

Hi I did this but now instead my shop title is writen " My standart shop title" How do I change that my site is in bulgarian. Thanks

You should ask in the support tread for the meta tags contributions you have used...


But usually in such a case there is a language file where you can edit that information
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#144 diy

  • Community Member
  • 352 posts
  • Real Name:kosmas
  • Gender:Male

Posted 08 May 2009, 15:59

Οκ this is stupid but I will ask it anyway.

I have been using a contrib- which I dont remember -to fix the <title> meta (i am calling a metaqueries.php file )

I want to use meta tag controllers contrib BUT I like the title as it is now and use meta tag controller for meta tags expept <title>

Will calling 2 differet meta tag files slow my index.php and product_info.php pages ????

Edited by diy, 08 May 2009, 15:59.


#145 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 09 May 2009, 03:20

View Postdiy, on May 8 2009, 04:59 PM, said:

Οκ this is stupid but I will ask it anyway.

I have been using a contrib- which I dont remember -to fix the <title> meta (i am calling a metaqueries.php file )

I want to use meta tag controllers contrib BUT I like the title as it is now and use meta tag controller for meta tags expept <title>

Will calling 2 differet meta tag files slow my index.php and product_info.php pages ????


Depending on your hosting/server speed it might slow it down slightly.
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#146 cvetyab

  • Community Member
  • 6 posts
  • Real Name:Tsvetelina

Posted 09 May 2009, 18:28

I didn't use any contribution, I used the Robert Fischer mode.It is working for all other pages but not for the index on both languages, in english and bulgarian the index page the title is "my standart sop title" insead of the titles i put in /english/index.php and bulgarian/index.php. When I remove the <?php include(DIR_WS_INCLUDES . 'meta_info.php'); ?> from the main index.php is showing my titles, but then is no meta tags on my main page? Any help i dont realy need any contribiotion because my site is small, so this is fine for me. Thanks

#147 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 10 May 2009, 10:37

View Postcvetyab, on May 9 2009, 07:28 PM, said:

I didn't use any contribution, I used the Robert Fischer mode.It is working for all other pages but not for the index on both languages, in english and bulgarian the index page the title is "my standart sop title" insead of the titles i put in /english/index.php and bulgarian/index.php. When I remove the <?php include(DIR_WS_INCLUDES . 'meta_info.php'); ?> from the main index.php is showing my titles, but then is no meta tags on my main page? Any help i dont realy need any contribiotion because my site is small, so this is fine for me. Thanks

Just use this mod instead: Easy Meta Tags
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#148 diy

  • Community Member
  • 352 posts
  • Real Name:kosmas
  • Gender:Male

Posted 10 May 2009, 21:50

View Postcvetyab, on May 9 2009, 07:28 PM, said:

I didn't use any contribution, I used the Robert Fischer mode.It is working for all other pages but not for the index on both languages, in english and bulgarian the index page the title is "my standart sop title" insead of the titles i put in /english/index.php and bulgarian/index.php. When I remove the <?php include(DIR_WS_INCLUDES . 'meta_info.php'); ?> from the main index.php is showing my titles, but then is no meta tags on my main page? Any help i dont realy need any contribiotion because my site is small, so this is fine for me. Thanks

you could use anothet conrib but until then

this is the code that amplies to index.php as there is no beracrumb

if ($title == '') {
	//below are hardcoded to show meta info when no breadcrumb exists
	$title = 'My standard shop title';
	$meta_description = 'My standard shop description';
	$meta_keywords = 'My standard shop keywords';
  }
  //Display <title> and meta info
  echo '<title>' . $title . '</title>' . "\n";
  echo '<meta name="description" content="' . $meta_description . '" />' . "\n";
  echo '<meta name="keywords" content="' . $meta_keywords . '" />' . "\n";
  ?>

You can diirctly change the wording if you use just one language

or try TITLE; instead of My standard shop title and see if ti works and whatever else you want on the 2 others

Edited by diy, 10 May 2009, 21:51.


#149 cvetyab

  • Community Member
  • 6 posts
  • Real Name:Tsvetelina

Posted 11 May 2009, 02:28

Thanks, but still no working in bulgarian. If I change the words directly the meta words show if they are in english, but in bulgarian instead for example "Маркови дрехи за деца" is showing "?????? ????? ?? ????" Thank you anyway, I will take a look in the easy meta tag contribution.

#150 Arron Brown

  • Community Member
  • 55 posts
  • Real Name:Arron Brown

Posted 02 June 2009, 11:49

ive just installed the cDynamic Meta Tags v1.0 add on, and ive folloed the read me installation doc. however im getting the following error in my browser when i try to load my shop

Warning: main(includes/functions/meta.php) [function.main]: failed to open stream: No such file or directory in /homepages/20/d283444189/htdocs/catalog/includes/meta_tags.php on line 54

Fatal error: main() [function.require]: Failed opening required 'includes/functions/meta.php' (include_path='.:/usr/lib/php') in /homepages/20/d283444189/htdocs/catalog/includes/meta_tags.php on line 54

whats gone wrong?

#151 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 02 June 2009, 12:10

View PostArron Brown, on Jun 2 2009, 11:49 AM, said:

ive just installed the cDynamic Meta Tags v1.0 add on, and ive folloed the read me installation doc. however im getting the following error in my browser when i try to load my shop

Warning: main(includes/functions/meta.php) [function.main]: failed to open stream: No such file or directory in /homepages/20/d283444189/htdocs/catalog/includes/meta_tags.php on line 54

Fatal error: main() [function.require]: Failed opening required 'includes/functions/meta.php' (include_path='.:/usr/lib/php') in /homepages/20/d283444189/htdocs/catalog/includes/meta_tags.php on line 54

whats gone wrong?
You have not added all the required files from the add-on

thgis one is missing

includes/functions/meta.php
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#152 Arron Brown

  • Community Member
  • 55 posts
  • Real Name:Arron Brown

Posted 02 June 2009, 12:37

nice one cheers

#153 ctec2001

  • Community Member
  • 223 posts
  • Real Name:Michael
  • Gender:Male

Posted 05 June 2009, 06:39

Will someone please check my temp site Visit My Website and see if I set up the cDynamic Tags correctly. I had to change information in the DB to get keywords and descriptions on the index page. I would like to know if I did the install correctly before moving it to the active site.

I am trying to get a feel on the Meta Tag thing. I noticed the title in the browser at the top changed. Is this Good?

Thank for your help in advance

Mike
Do or Do Not, there is no try.

#154 garnet

  • Community Member
  • 119 posts
  • Real Name:az

Posted 05 June 2009, 12:19

Hi for cDinamic metatag, why do I get the bold text

<META NAME="Description" Content="Hewlett Packard LaserJet 1100Xi (HPLJ1100XI) by Hewlett Packard - HP has always set the pace in laser printing technology. The new generation HP LaserJet 1100 series sets another impressive pace, delivering a stunning 8 pages...">
<META NAME="Keywords" Content="hewlett packard laserjet 1100xi, hplj1100xi, hardware, printers, store_keyword">

for item description page
and

<META NAME="Description" Content="Hardware at - STORE_METDEX">
<META NAME="Keywords" Content="hardware, graphics cards, printers, monitors, speakers, keyboards, mice, memory, cdrom drives,">

for categories page.

in /catalog/includes/languages/english.php store name is set to kupuvalnik.com

Do I have to change somethig else?

Thanks a lot
OSC beginner

#155 garnet

  • Community Member
  • 119 posts
  • Real Name:az

Posted 05 June 2009, 12:56

I think I found the problem. In the qsl file you have to specify the values for STORE_KEYWORD, STORE_METDEX and STORE_DESCRIPT.
The only problem is how do I do this for more than one language?
OSC beginner

#156 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 06 June 2009, 04:07

View Postgarnet, on Jun 5 2009, 01:56 PM, said:

I think I found the problem. In the qsl file you have to specify the values for STORE_KEYWORD, STORE_METDEX and STORE_DESCRIPT.
The only problem is how do I do this for more than one language?


Depends on which version of c-dynamic meta tags you use...

some versions store it in the db and you can edit it in your shops admin. (I am not sure if these versions are multi-lingual though)

The multi-lingual versions have a language file where it can be edited.

includes/languages/english/meta_tags.php

this file should ofcourse be edited in accordance to language used and added to any other languages folders in use at your site.
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#157 garnet

  • Community Member
  • 119 posts
  • Real Name:az

Posted 06 June 2009, 12:19

View Posttoyicebear, on Jun 6 2009, 05:07 AM, said:

Depends on which version of c-dynamic meta tags you use...

some versions store it in the db and you can edit it in your shops admin. (I am not sure if these versions are multi-lingual though)

The multi-lingual versions have a language file where it can be edited.

includes/languages/english/meta_tags.php

this file should ofcourse be edited in accordance to language used and added to any other languages folders in use at your site.


Hi
I use cDynamic_Meta_Tags v1.5.3
and there is a meta_tags.php for every language. this has been translated for bulgarian.
the problem is with the sql file

INSERT INTO `configuration` VALUES ('', 'Store Description', 'STORE_DESCRIPT', 'The Next Level Of osCommerce', 'Place your sites meta description here, for use with dynamic meta-tags<br>Leave empty for no description<br>', 1, 40, NULL, '2003-12-05 05:01:41', NULL,'tep_cfg_textarea(');
INSERT INTO `configuration` VALUES ('', 'Store Index Description', 'STORE_METDEX', 'Productivity Sold Here', 'Place a seperate \r\nindex page meta description here, for use with dynamic meta-tags<br>Leave empty for no description<br>', 1, 41, NULL, '2003-12-05 05:01:41', NULL,'tep_cfg_textarea(');
INSERT INTO `configuration` VALUES ('', 'Store Key Words', 'STORE_KEYWORD', 'ecommerce, oscommerce, shopping cart', 'Place your sites meta key words here, for use with dynamic meta-tags<br>', 1, 42, NULL, '2003-12-05 05:01:41', NULL,'tep_cfg_textarea(');

you can see it goes to configuration table and there are STORE_DESCRIPT, STORE_METDEX, STORE_KEYWORD, you can modify this, but only in one language. The name of every page is your pages details plus some of the above that can be only in one language. The linking words (from ...\lang\lang\meta_tags.php) are picked up for the proper language.
Any ideas will be appreciated
OSC beginner

#158 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 06 June 2009, 16:40

Just use this version:

cDynamic Meta Tags v1.4 Didier Debbaut 11 May 2005


Its fully multi-lingual
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.

#159 garnet

  • Community Member
  • 119 posts
  • Real Name:az

Posted 28 June 2009, 01:46

Hi all,
this might be very easy to fix, but couldnt figure it out.
Now in the metatags, the description and the keywords are truncated after some symbols. Havent counted them but is there a way to increase this limit, so it will print my whole description and keywords.
On a sidenote, will this affect SEO at all or it doesnt matter. I have seen top 3 Google wesites with 50 words in the kyeword tag.
OSC beginner

#160 toyicebear

  • Community Sponsor
  • 5,692 posts
  • Real Name:Nick
  • Location:World Citizen

Posted 05 August 2009, 13:45

View Postgarnet, on Jun 28 2009, 01:46 AM, said:

Hi all,
this might be very easy to fix, but couldnt figure it out.
Now in the metatags, the description and the keywords are truncated after some symbols. Havent counted them but is there a way to increase this limit, so it will print my whole description and keywords.
On a sidenote, will this affect SEO at all or it doesnt matter. I have seen top 3 Google wesites with 50 words in the kyeword tag.

It can be adjusted...its currently set up to use "best practice" tag lengths


As a side not ...why you can see some sites with many keywords rank well ... that is not so strange keywords and meta tags are more or less "ignored" by Google and all the other major search engines.

The actual on page text is way more important in the search results
Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce

Check out my profile [click here] for information on professional services, custom coding, templates, SEO optimization, modifications, commercial support and help.