Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 14 votes

Header Tags SEO


6609 replies to this topic

#81 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 19 April 2008, 00:13

View Postpsorrento, on Apr 18 2008, 06:55 PM, said:

Hi Jack,

First of all thank you so much for this contribution and the support you give on this board.
Everything worked fine for me except I have missed out on something in the installation which I cannot trace.

All my production descripts begin with the words "products new description -" and then the text on the page.

Would you know what I did wrong or is there any easy way to remove the word "products new description" from the description?

Thanks,
Paul
What are "production descripts?" Assuming you mean product descriptions, this conribution doesn't change that so I don't know why yours would change.

Jack

#82 psorrento

  • Community Member
  • 4 posts
  • Real Name:Paul Soarage

Posted 19 April 2008, 10:25

View PostJack_mcs, on Apr 19 2008, 01:13 AM, said:

What are "production descripts?" Assuming you mean product descriptions, this conribution doesn't change that so I don't know why yours would change.

Jack


In my product descriptions, I'm seeing "<meta name="Description" content="products new description - &nbsp; The New King Cobra HS9 Driver" />
<meta name="Keywords" content="products new keywords1,keywords2 , Cobra HS9 Driver" />

So it looks like my descriptions just get appended as opposed to replacing to the default settings of "products new description" and the same with the default keywords "products new keywords1, keywords2".

I am sure your contribution is 100% correct as I installed it in a test server first and it worked. I have done something wrong in the live shop installation. Without reinstalling the whole thing, I was wondering if you knew which file I had to touch?

Thanks,
Paul

#83 frobley

  • Community Member
  • 8 posts
  • Real Name:Frobley

Posted 19 April 2008, 10:30

Hello there,

I had the error -

PHP Fatal error: Cannot redeclare tep_header_tag_page() (previously declared in /home/xxxx/public_html/includes/functions/header_tags.php:15) in /home/xxxx/public_html/includes/functions/header_tags.php on line 15

by changing (in file /catalog/includes/modules/sts_inc/headertags.php)

require(DIR_WS_FUNCTIONS . 'header_tags.php');
to
require_once(DIR_WS_FUNCTIONS . 'header_tags.php');

seems to allow it to work

is new install -> oscommerce-2.2rc2a, STSv4.5.8_1_2 and HeaderTags_SEO_V_3.0.1
is this ok?, before i go much further with the store
Thanks in advance

#84 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 19 April 2008, 12:26

[quote name='psorrento' post='1237677' date='Apr 19 2008, 05:25 AM']In my product descriptions, I'm seeing "<meta name="Description" content="products new description - &nbsp; The New King Cobra HS9 Driver" />
<meta name="Keywords" content="products new keywords1,keywords2 , Cobra HS9 Driver" />

So it looks like my descriptions just get appended as opposed to replacing to the default settings of "products new description" and the same with the default keywords "products new keywords1, keywords2".

I am sure your contribution is 100% correct as I installed it in a test server first and it worked. I have done something wrong in the live shop installation. Without reinstalling the whole thing, I was wondering if you knew which file I had to touch?

Thanks,
Paul[/quote]Do you have text for the description in page control for that page? Have you tried changing that to see what affect it has?

Jack

#85 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 19 April 2008, 12:27

View Postfrobley, on Apr 19 2008, 05:30 AM, said:

require(DIR_WS_FUNCTIONS . 'header_tags.php');
to
require_once(DIR_WS_FUNCTIONS . 'header_tags.php');

seems to allow it to work

is new install -> oscommerce-2.2rc2a, STSv4.5.8_1_2 and HeaderTags_SEO_V_3.0.1
is this ok?, before i go much further with the store
Yes, that is fine.

Jack

#86 hasnut

  • Community Member
  • 39 posts
  • Real Name:TotalITSolution

Posted 19 April 2008, 12:43

I have Ultimate SEO URLs installed so
basename($PHP_SELF)==FILENAME_DEFAULT
dont work as it returns longurl rather then
actual filename. so please let me know whats the solution

#87 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 19 April 2008, 13:54

View Posthasnut, on Apr 19 2008, 07:43 AM, said:

I have Ultimate SEO URLs installed so
basename($PHP_SELF)==FILENAME_DEFAULT
dont work as it returns longurl rather then
actual filename. so please let me know whats the solution
PHP_SELF is before Ultimate SEO changes anything so that isn't the reason for your problem.

Jack

#88 psorrento

  • Community Member
  • 4 posts
  • Real Name:Paul Soarage

Posted 19 April 2008, 14:19

View PostJack_mcs, on Apr 19 2008, 01:26 PM, said:

Do you have text for the description in page control for that page? Have you tried changing that to see what affect it has?

Jack

Thank you Jack. That was problem, I had missed updating product_info.php tags.

#89 hasnut

  • Community Member
  • 39 posts
  • Real Name:TotalITSolution

Posted 19 April 2008, 19:18

View PostJack_mcs, on Apr 19 2008, 01:54 PM, said:

PHP_SELF is before Ultimate SEO changes anything so that isn't the reason for your problem.

Jack
In header_tags.php

case (basename($PHP_SELF)==FILENAME_PRODUCT_INFO):

But try to dubug it echo phpself
its returns productname_c12_pid12.html not product_info.php

Before Ultimate SEO , headers tag seo is working fine. but now all page has default values of title description and meta.

#90 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 20 April 2008, 00:06

View Posthasnut, on Apr 19 2008, 02:18 PM, said:

In header_tags.php

case (basename($PHP_SELF)==FILENAME_PRODUCT_INFO):

But try to dubug it echo phpself
its returns productname_c12_pid12.html not product_info.php

Before Ultimate SEO , headers tag seo is working fine. but now all page has default values of title description and meta.
I don't have an answer for you. I suggest installing it in a clean install to make sure it works for you. Perhaps you are making a mistake in the installation.

Jack

#91 ramzog

  • Community Member
  • 12 posts
  • Real Name:Carl
  • Location:US, California

Posted 20 April 2008, 21:44

View Postgediweb, on Apr 18 2008, 12:24 PM, said:

Thanks for the reply. Been away for a few days. I replaced the categories.php with the one included, and I still have the same problem. When I edit the category, the image disappears: IMAGE DOES NOT EXIST.

I checked the path under the broken image properties, and it shows the correct path up to the image/ and missing the image name.

I then uploaded the original categories.php page that came with the installation, and it works fine. where did I go wrong?

Natalie
Jack,

Thanks for all your work on putting this contribution together. So far the only issue I have come across is the same one Natalie has and my solution follows.

Natalie,

Save copies of everything then - Try replacing the following code in admin>categories.php, about line 90.

 
if ($categories_image = new upload('categories_image', DIR_FS_CATALOG_IMAGES)) {
          tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'");
        }

with this code from about line 80 from a clean install, pre adding any contributions, the first two lines of code are missing completely from categories.php that came with Header Tags SEO.

        
        $categories_image = new upload('categories_image');
        $categories_image->set_destination(DIR_FS_CATALOG_IMAGES);

        if ($categories_image->parse() && $categories_image->save()) {
          tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'");
        }

This seems to take care of the problem and I have not found any problems so far.

Carl

#92 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 21 April 2008, 00:47

The categories file in the contribution is for MS2. If you replace your RC2 file with it, that could happen. I will change that in the next version.

Jack

#93 ramzog

  • Community Member
  • 12 posts
  • Real Name:Carl
  • Location:US, California

Posted 21 April 2008, 01:02

View PostJack_mcs, on Apr 20 2008, 05:47 PM, said:

The categories file in the contribution is for MS2. If you replace your RC2 file with it, that could happen. I will change that in the next version.

Jack
RE: MS2

Good point, I neglected to state that I am working on a new RC2 install with STSv.4.5.8 and HeaderTags_SEO_V_3.0.1.

Thanks, Carl

#94 Jos Medinger

  • Community Member
  • 82 posts
  • Real Name:Jos Medinger
  • Location:United Kingdom

Posted 21 April 2008, 16:18

Hope this isn't a dumb question but... :-"

Does this contribution give the facility to give 'section' and 'subsection' pages within the store their own page titles meta information?

Thanks
===============
Simple yet Creative
Get Online Web Design : getonlinedesign.com
===============

#95 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 21 April 2008, 16:46

View PostJos Medinger, on Apr 21 2008, 11:18 AM, said:

Hope this isn't a dumb question but... :-"

Does this contribution give the facility to give 'section' and 'subsection' pages within the store their own page titles meta information?

Thanks
I'm not sure what you mean by "'section' and 'subsection' pages" but if they are standard oscomerce pages, then, yes, it the code will allow unique title and meta tags for each page.

Jack

#96 gediweb

  • Community Member
  • 44 posts
  • Real Name:Natalie

Posted 21 April 2008, 16:55

View Postramzog, on Apr 20 2008, 05:44 PM, said:

Jack,

Thanks for all your work on putting this contribution together. So far the only issue I have come across is the same one Natalie has and my solution follows.

Natalie,

Save copies of everything then - Try replacing the following code in admin>categories.php, about line 90.

 
if ($categories_image = new upload('categories_image', DIR_FS_CATALOG_IMAGES)) {
          tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'");
        }

with this code from about line 80 from a clean install, pre adding any contributions, the first two lines of code are missing completely from categories.php that came with Header Tags SEO.

        
        $categories_image = new upload('categories_image');
        $categories_image->set_destination(DIR_FS_CATALOG_IMAGES);

        if ($categories_image->parse() && $categories_image->save()) {
          tep_db_query("update " . TABLE_CATEGORIES . " set categories_image = '" . tep_db_input($categories_image->filename) . "' where categories_id = '" . (int)$categories_id . "'");
        }

This seems to take care of the problem and I have not found any problems so far.

Carl

Thanks for the reply ramzog, Worked like a charm!

#97 Jos Medinger

  • Community Member
  • 82 posts
  • Real Name:Jos Medinger
  • Location:United Kingdom

Posted 21 April 2008, 16:58

Sorry - I should have used the correct terminology.

As you create astore, you'll add a category and that category may also end up with multiple sub categories before you get to any products.

It's these (which by default are linked as www.domain.com/catalog/index.php?cPath=35 and so on) which I wanted to check would be individually editable for page titles and meta information

The reason I asked is that the version of HTC I'm using (2.3.3) didn't allow for this...

Thanks
===============
Simple yet Creative
Get Online Web Design : getonlinedesign.com
===============

#98 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 21 April 2008, 17:40

View PostJos Medinger, on Apr 21 2008, 11:58 AM, said:

Sorry - I should have used the correct terminology.

As you create astore, you'll add a category and that category may also end up with multiple sub categories before you get to any products.

It's these (which by default are linked as www.domain.com/catalog/index.php?cPath=35 and so on) which I wanted to check would be individually editable for page titles and meta information

The reason I asked is that the version of HTC I'm using (2.3.3) didn't allow for this...

Thanks
Yes, it allows you to edit the title and meta tags for each category and sub-category. Be careful with the update though since 2.3.3 is very old and I doubt the convert script will work with it. Of course, you don't have to use the convert script and it probably wouldn't make a big difference in this case since there isn't a lot of information in your version to convert.

Jack

#99 tuamen

  • Community Member
  • 8 posts
  • Real Name:david

Posted 22 April 2008, 05:50

Hello Jack, thanks for works.

At me the problem which already met, but the decision is not present.
I have established oscommerce-2.2rc2a + Search Engine Friendly URL v1.13_1 : works well + HeaderTags_V_2.6.3, well, the goods show title and meta tag The main page (index.php).
Has established oscommerce-2.2rc2a + HeaderTags_V_2.6.3 works well, names of the goods, all is correct, + Search Engine Friendly URL v1.13_1 : title and meta On the goods not correct (as on the main page)

help!

#100 Jack_mcs

  • Community Member
  • 24,447 posts
  • Real Name:Jack
  • Gender:Male

Posted 22 April 2008, 13:21

View Posttuamen, on Apr 22 2008, 12:50 AM, said:

Hello Jack, thanks for works.

At me the problem which already met, but the decision is not present.
I have established oscommerce-2.2rc2a + Search Engine Friendly URL v1.13_1 : works well + HeaderTags_V_2.6.3, well, the goods show title and meta tag The main page (index.php).
Has established oscommerce-2.2rc2a + HeaderTags_V_2.6.3 works well, names of the goods, all is correct, + Search Engine Friendly URL v1.13_1 : title and meta On the goods not correct (as on the main page)

help!
As I recall, SEF had a problem working with the Header Tags Controller contribution for the longest time until someone finally fixed it. It might be the same situation now. You would need to test your installation without that to see where the problem is.

Jack