Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 11 votes

Header Tags SEO


6327 replies to this topic

#21 Jack_mcs

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

Posted 05 April 2008, 14:41

View Postinsaini, on Apr 5 2008, 08:24 AM, said:

Error Duplicate sort orders are not allowed -> buy.php
Error Duplicate sort orders are not allowed -> buy.php
Error Duplicate sort orders are not allowed -> buy.php

I put in a sort order of 2 for the title and sort order of 2 for description.. I dont see why this is a problem..

However, with the change in code above.. specific page titles are now being appended by the default page titles.. this wasnt happening before..
The error message says duplicate sort orders are not allowed but you have decided that is not the case. So you are editing the code to make it fit your idea of the way it should work. That is fine but it isn't necessary. If you set it up properly, it will work.

Jack

#22 Jack_mcs

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

Posted 05 April 2008, 14:43

A new version has been uploaded. Thanks to everyone that found problems with the code and instructions. I hope this new version fixes all of those problems. The following changes were made.

-> Fixed coding mistake in includes/header_tags.php for reviews pages
-> Added code to clear separators if a field is missing
-> Added code to display an error if the sort order filed is missing
-> Update convert instructions

Jack

#23 insaini

  • Community Member
  • 205 posts
  • Real Name:Jesse B.
  • Gender:Male
  • Location:Brampton, Ontario

Posted 05 April 2008, 15:28

View PostJack_mcs, on Apr 5 2008, 10:41 AM, said:

The error message says duplicate sort orders are not allowed but you have decided that is not the case. So you are editing the code to make it fit your idea of the way it should work. That is fine but it isn't necessary. If you set it up properly, it will work.

Jack


No I havent touched anything to do with Sort Orders.. .. the code I changed was necessary to show the Page Title appended with the Default Page title..

Im not sure why you dont see that it seems pretty obvious that code change needs to be done..

Basically.. take any page say 'Contact Us'

Now fresh out of the box this is what the browser says for its title .. ( - Mozilla Firefox )
Now I set up the default page title, description and keywords (say "WEBPAGE" for each title, description and keywords) in admin .. now that same 'Contact Us' page now says .. ( WEBPAGE - Mozilla Firefox )

Now I specify for the 'Contact Us' page .. Title, description and keywords as "Contact Us" .. now when I go to the Contact Us page.. behold the title still says ( WEBPAGE - Mozilla Firefox ) .. when it should say .. ( Contact Us - WEBPAGE - Mozilla Firefox ) ..

Well that code change i posted above fixes this .. not sure why you didnt get this.. :huh:

#24 Jack_mcs

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

Posted 05 April 2008, 16:05

View Postinsaini, on Apr 5 2008, 10:28 AM, said:

No I havent touched anything to do with Sort Orders.. .. the code I changed was necessary to show the Page Title appended with the Default Page title..

Im not sure why you dont see that it seems pretty obvious that code change needs to be done..

Basically.. take any page say 'Contact Us'

Now fresh out of the box this is what the browser says for its title .. ( - Mozilla Firefox )
Now I set up the default page title, description and keywords (say "WEBPAGE" for each title, description and keywords) in admin .. now that same 'Contact Us' page now says .. ( WEBPAGE - Mozilla Firefox )

Now I specify for the 'Contact Us' page .. Title, description and keywords as "Contact Us" .. now when I go to the Contact Us page.. behold the title still says ( WEBPAGE - Mozilla Firefox ) .. when it should say .. ( Contact Us - WEBPAGE - Mozilla Firefox ) ..

Well that code change i posted above fixes this .. not sure why you didnt get this.. :huh:
It works fine for me as it is. Maybe some others can test it to see if it happens for them. The only thing I can think of is that the includes/header_tags.php file was not updated properly for some reason. Try replacing that file with the original and then run the headertags_seo_uninstall.php and the headertags_seo_install.php files.

Jack

#25 tapuahk

  • Community Member
  • 202 posts
  • Real Name:T Dow

Posted 05 April 2008, 18:00

Thanks Jack, :thumbsup:

The new instructions worked great on test site, will be doing live store now. :rolleyes:

~~~Tapuahk

#26 Nimitz_1061

  • Community Member
  • 181 posts
  • Real Name:David M. Graham

Posted 05 April 2008, 19:07

I was having an issue where the new Manufacturer's fields were saved, but not read back when entering the manufacturer's page. If anyone else encounters this, it was a result of switching two sets of string assignments at about lines 215 and 244. The first one should just draw input fields, while the 2nd one draws input fields populated from $mInfo.

#27 westlife007

  • Community Member
  • 15 posts
  • Real Name:Thomas Wang

Posted 06 April 2008, 06:27

Hi Jack, After I installed the Header Tags SEO, I found the error below displayed in the main page and admin page respectively:
in the main page:
http://www.chinatopwholesale.com/

error as:
1146 - Table 'vastseec_osc11.headertags_default' doesn't exist

select * from headertags_default where language_id = '1'

[TEP STOP]

in admin/Header Tags SEO
error as:
1146 - Table 'vastseec_osc11.headertags' doesn't exist

select page_name from headertags where page_name like 'index.php' and language_id = '1' LIMIT 1

[TEP STOP]

so what is the problem then? and how to solve it?

appreciate your help very much in advance!


Thomas

#28 insaini

  • Community Member
  • 205 posts
  • Real Name:Jesse B.
  • Gender:Male
  • Location:Brampton, Ontario

Posted 06 April 2008, 10:14

View Postwestlife007, on Apr 6 2008, 02:27 AM, said:

Hi Jack, After I installed the Header Tags SEO, I found the error below displayed in the main page and admin page respectively:
in the main page:
http://www.chinatopwholesale.com/

error as:
1146 - Table 'vastseec_osc11.headertags_default' doesn't exist

select * from headertags_default where language_id = '1'

[TEP STOP]

in admin/Header Tags SEO
error as:
1146 - Table 'vastseec_osc11.headertags' doesn't exist

select page_name from headertags where page_name like 'index.php' and language_id = '1' LIMIT 1

[TEP STOP]

so what is the problem then? and how to solve it?

appreciate your help very much in advance!
Thomas


it seems as though you didnt update your database...

#29 westlife007

  • Community Member
  • 15 posts
  • Real Name:Thomas Wang

Posted 06 April 2008, 11:00

View Postinsaini, on Apr 6 2008, 10:14 AM, said:

it seems as though you didnt update your database...

thanks but I am sorry, I have updated the database successfully before the complete installation of the files.
but after it showed the successful database update, I have removed the database file before the installation of the catalogue and admin files, should i remove the database after completing the full installation? Please help,thanks!

#30 Jack_mcs

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

Posted 06 April 2008, 12:49

View Postwestlife007, on Apr 6 2008, 06:00 AM, said:

thanks but I am sorry, I have updated the database successfully before the complete installation of the files.
but after it showed the successful database update, I have removed the database file before the installation of the catalogue and admin files, should i remove the database after completing the full installation? Please help,thanks!
The errors you are getting can only mean the tables are not in the database. Try running the ininstall and install database files and see if it works then. If it dos and this was a conversion from the Header Tags Controller, then you will have to uninstall the database again and go through the convert procedure.

Jack

#31 nafri

  • Community Member
  • 124 posts
  • Real Name:naf

Posted 06 April 2008, 21:23

hi

thanks for the contrib.

I did an upgrade from 2.63 .I made the changes as mentioned in the update file.i recived this error message

Fatal error: Call to undefined function clean_html_comments() in /home/teks7com/public_html/includes/header_tags.php on line 193..

then i copied all the files from version3.01 catalog/includes to my site .. the errror went away and it seems to work like before..

I am no longer getting the box on coloumn left as i did with 2.63.. i checked the file and i did include..

/*** Begin Header Tags SEO ***/
if (HEADER_TAGS_DISPLAY_COLUMN_BOX == 'true' && basename($PHP_SELF) == FILENAME_PRODUCT_INFO)
include(DIR_WS_BOXES . 'header_tags.php');
/*** End Header Tags SEO ***/


for the social book marking i am not seeing any of the bookmarking pics.. even though i i did upload the images folder and made changes to the index and product_info file.

on the admin side if i do clear all tags.. then i get a message saying 10000 item has no meta tags. when i do fill alll tags i get a message saying

Found Missing Tags:
Products table has 2897 items with missing meta tag information.

is this beacuse some products have no images...??

the rest looks ok..

thanks in advance for any help you can offer ..

nafri

#32 nafri

  • Community Member
  • 124 posts
  • Real Name:naf

Posted 06 April 2008, 22:03

View Postnafri, on Apr 6 2008, 10:23 PM, said:

hi

thanks for the contrib.

I did an upgrade from 2.63 .I made the changes as mentioned in the update file.i recived this error message

Fatal error: Call to undefined function clean_html_comments() in /home/teks7com/public_html/includes/header_tags.php on line 193..

then i copied all the files from version3.01 catalog/includes to my site .. the errror went away and it seems to work like before..

I am no longer getting the box on coloumn left as i did with 2.63.. i checked the file and i did include..

/*** Begin Header Tags SEO ***/
if (HEADER_TAGS_DISPLAY_COLUMN_BOX == 'true' && basename($PHP_SELF) == FILENAME_PRODUCT_INFO)
include(DIR_WS_BOXES . 'header_tags.php');
/*** End Header Tags SEO ***/
for the social book marking i am not seeing any of the bookmarking pics.. even though i i did upload the images folder and made changes to the index and product_info file.

on the admin side if i do clear all tags.. then i get a message saying 10000 item has no meta tags. when i do fill alll tags i get a message saying

Found Missing Tags:
Products table has 2897 items with missing meta tag information.

is this beacuse some products have no images...??

the rest looks ok..

thanks in advance for any help you can offer ..

nafri


fixed it... forgot it is controlled from the admin area.. thanks

#33 beekay

  • Community Member
  • 3 posts
  • Real Name:Brian

Posted 07 April 2008, 16:12

I know this topic has been beat around in the old HTC and Ultimate SEO URL threads but I thought I'd revist here since I'm still having issues.

I did a complete reinstall of OSC and the first contrib I loaded was HTC V 3.0. Success!! Everything worked great, awesome improvement over the old one.

Without doing any other changes, I then installed Ultimate SEO URL's, which as many know, is one of the easiest contrib's to install, two files to upload, and minor code changes.

Sure enough, as has happened with every other iteration of store I've had, the default Title header appears and not the product description title when going to Product Info or even categories.

Since it was only two installs, it seemed easy to try and figure out where the problem is...but it was difficult. The only other clue I could come up with is that when I changed the html_output SEO change and reverted it back to stock form, the HTC V3.0 worked again.

Can you point me in the direction of what in the world the conflicts could be coming from.

I know you have insisted the two work fine together in the past, but I'm going to ask again.

#34 Jack_mcs

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

Posted 07 April 2008, 16:33

View Postbeekay, on Apr 7 2008, 11:12 AM, said:

I know this topic has been beat around in the old HTC and Ultimate SEO URL threads but I thought I'd revist here since I'm still having issues.

I did a complete reinstall of OSC and the first contrib I loaded was HTC V 3.0. Success!! Everything worked great, awesome improvement over the old one.

Without doing any other changes, I then installed Ultimate SEO URL's, which as many know, is one of the easiest contrib's to install, two files to upload, and minor code changes.

Sure enough, as has happened with every other iteration of store I've had, the default Title header appears and not the product description title when going to Product Info or even categories.

Since it was only two installs, it seemed easy to try and figure out where the problem is...but it was difficult. The only other clue I could come up with is that when I changed the html_output SEO change and reverted it back to stock form, the HTC V3.0 worked again.

Can you point me in the direction of what in the world the conflicts could be coming from.

I know you have insisted the two work fine together in the past, but I'm going to ask again.
It works fine here and since these two contributions are used very often together and no one else has mentioned a problem like this, it has to be something you are doing (or not doing). To be clear though, I'm not sure I understand what you mean by "the default Title header appears and not the product description title." By "default title header" are you referring to the default meta tag description entry? Also please explain what the "product description title" is.

Jack

#35 beekay

  • Community Member
  • 3 posts
  • Real Name:Brian

Posted 07 April 2008, 16:51

View PostJack_mcs, on Apr 7 2008, 11:33 AM, said:

It works fine here and since these two contributions are used very often together and no one else has mentioned a problem like this, it has to be something you are doing (or not doing). To be clear though, I'm not sure I understand what you mean by "the default Title header appears and not the product description title." By "default title header" are you referring to the default meta tag description entry? Also please explain what the "product description title" is.

Jack

Thanks Jack,

Although I find it odd you state "no one else" has mentioned a problem" like this (http://forums.oscommerce.com/index.php?act...e+url&st=25) ...so maybe I was not clear.

Basically, when I installed HTC, it was working as advertised. When going to an individual product, like lets say for example a Music CD entitled "Beatles Anthology", the HTC script would populate the Meta Title Tag and "Beatles Anthology" would be displayed on the upper browser bar.

As soon as I installed Ultimate SEO URL's, it said the word "default" at the top and NOT the product description. I am well versed as to your claim that the HTC program does not read the URL, but the product description so it shouldnt matter that SEO URL is installed.

If you want code to be pasted, I can do that, but it is essentially a stock OSC RC 2.2a with HTC V3.0 installed first, and then Ultimate SEO installed second. I did read this person (http://forums.oscommerce.com/index.php?act...amp;pid=1203746) stating that she had to install Ultimate SEO URL FIRST, and then HTC (the older version) second for it to work properly so maybe I will try that next.

Edited by beekay, 07 April 2008, 16:53.


#36 Jack_mcs

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

Posted 07 April 2008, 18:44

View Postbeekay, on Apr 7 2008, 11:51 AM, said:

Thanks Jack,

Although I find it odd you state "no one else" has mentioned a problem" like this (http://forums.oscommerce.com/index.php?act...e+url&st=25) ...so maybe I was not clear.
If I had known that was to be taken litterly I would have been more specific. How about, "no one to my recollection?" I'm sure my freinds and family all think of me as an un-failing genius, but in truth, I fall a little short - occassionally. ;)

Quote

Basically, when I installed HTC, it was working as advertised. When going to an individual product, like lets say for example a Music CD entitled "Beatles Anthology", the HTC script would populate the Meta Title Tag and "Beatles Anthology" would be displayed on the upper browser bar.

As soon as I installed Ultimate SEO URL's, it said the word "default" at the top and NOT the product description. I am well versed as to your claim that the HTC program does not read the URL, but the product description so it shouldnt matter that SEO URL is installed.

If you want code to be pasted, I can do that, but it is essentially a stock OSC RC 2.2a with HTC V3.0 installed first, and then Ultimate SEO installed second. I did read this person (http://forums.oscommerce.com/index.php?act...amp;pid=1203746) stating that she had to install Ultimate SEO URL FIRST, and then HTC (the older version) second for it to work properly so maybe I will try that next.
I believe that you are having a problem. I've installed this version into five shops now besides the four I use for my own testing. Everyone of those has Ultimate SEO installed and there isn't a problem. Maybe it has something to do with the order of the install, although I can't why.

Jack

#37 Nimitz_1061

  • Community Member
  • 181 posts
  • Real Name:David M. Graham

Posted 07 April 2008, 21:57

Jack,

Perhaps I missed this in your install documents, but I did a "new store" install by copying the included file set over a brand new rc2a install. After I did there were some language entries missing - the Administrator Configuration one was the first I saw. Can you clarify which release the new store only catalog is for?

Regards

David

#38 Jack_mcs

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

Posted 07 April 2008, 22:33

View PostNimitz_1061, on Apr 7 2008, 04:57 PM, said:

Jack,

Perhaps I missed this in your install documents, but I did a "new store" install by copying the included file set over a brand new rc2a install. After I did there were some language entries missing - the Administrator Configuration one was the first I saw. Can you clarify which release the new store only catalog is for?

Regards

David
The files in that directory are not a complete set of the files, only the common ones between MS2 and RC2, unless I made a mistake in cmparing them. You still have to go through the install instructions and perform the steps not done by copying a file.

Jack

#39 Nimitz_1061

  • Community Member
  • 181 posts
  • Real Name:David M. Graham

Posted 08 April 2008, 01:03

View PostJack_mcs, on Apr 7 2008, 05:33 PM, said:

The files in that directory are not a complete set of the files, only the common ones between MS2 and RC2, unless I made a mistake in cmparing them. You still have to go through the install instructions and perform the steps not done by copying a file.

Jack

Jack,

These files definitely do not contain the same definitions. Several new FILENAME_* and language definitions are blown away by that file set. I have not had a chance to look at the code itself yet, but I would not recommend copying that set on anything at this point. I'll see if I can get time to do a compare this evening..

David

#40 beekay

  • Community Member
  • 3 posts
  • Real Name:Brian

Posted 08 April 2008, 01:24

I did the install in reverse order...installed Ultimate SEO first, then HTC V 3.0... and about as carefully as I could with a check and recheck akin to a NASA launch.

The Ultimate SEO worked...and then after installing HTC V 3.0...and even doing a "FILL ALL TAGS" function on products_info pages...still gives me the dreaded "DEFAULT TITLE" for the <TITLE></TITLE> tag.

Oh well I tried...I can't believe its something I did, so I'm going to blame it on a server issue or something. Thank for trying.

If any has the relevant changed files for a RC2a store with only Ultimate SEO and HTC V 3.0 installed, I'd be more than happy to accept :)