Jump to content
FWR Media

KissMT Dynamic SEO Meta & Canonical Header Tags

Recommended Posts

I have a problem i followed the Start here Installation.

I have double checked Everything but i keep getting this Error

 

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /xxx/xxx/xxxx/xxxx/xxxx/www/catalog/includes/modules/kiss_meta_tags/kiss_meta_tags.php on line 23

 

 

Yours, Dajustin

Share this post


Link to post
Share on other sites

I have a problem i followed the Start here Installation.

I have double checked Everything but i keep getting this Error

 

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /xxx/xxx/xxxx/xxxx/xxxx/www/catalog/includes/modules/kiss_meta_tags/kiss_meta_tags.php on line 23

 

 

Yours, Dajustin

 

Means your PHP version is way too old for this, it requires PHP 5.2+ ( e.g. 2006 or newer )

Edited by FWR Media

Share this post


Link to post
Share on other sites

More Like 2003 Osc Website ^^

 

Any suggestions how to upgrade or make it work?

 

Sorry .. I don't understand your meaning.

 

You are on an old version of PHP you need the server to be running PHP5.2+ to use this contribution.

Share this post


Link to post
Share on other sites

Yes and my question is how to Upgrade my current version to the PHP5.2+

 

Please tell me if u have any suggestions

 

It is nothing to do with osCommerce it is your server.

Share this post


Link to post
Share on other sites

Looks perfect ..

 

1) The description you added is showing above the categories

 

2) KissMT has recognised that the description is present and is using it for title, keywords and meta description.

 

What I would say is that a description really should be at least 300 characters with the first 90(ish) characters focused on the keywords plus, of course, human readable.

 

Ah, I thought the description was in the background and wouldn't be shown. Guess I will disable that part

Share this post


Link to post
Share on other sites

Ah, I thought the description was in the background and wouldn't be shown. Guess I will disable that part

 

Disable it! why? it's perfect, as long as you build the description correctly.

 

You dictate the "on page text" including the keywords ( making sure the first 90 characters are keyword rich ). The H1 page title, meta title, description and keywords match exactly making a powerful page.

Edited by FWR Media

Share this post


Link to post
Share on other sites

First I want to say thank you for this fabulous contribution. It has saved me hours of work.

I saw someone asking the STS compatibility. I found an easy way to make these two contributions to work together. Just need to modify two files.

 

In the KissMT Dynamic SEO Meta Tags installation instructions skip the second step and let the <title><?php echo TITLE; ?></title> unmodified.

 

In catalog\includes\modules\sts_inc\general.php

ADD this code just before the last ?>

$sts->start_capture();
 if ( file_exists(DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php') ) {
include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php';
 } 
 $sts->stop_capture('headertags');

 

In your template file (like includes/sts_templates/test/sts_template.html),

FIND

<head>

 

ADD BELOW

$headertags

 

That is all. Good luck.

Edited by ferchumdp

Share this post


Link to post
Share on other sites

Disable it! why? it's perfect, as long as you build the description correctly.

 

You dictate the "on page text" including the keywords ( making sure the first 90 characters are keyword rich ). The H1 page title, meta title, description and keywords match exactly making a powerful page.

 

I would like to have a description of the page but I dont want it to be visible when your browsing the site. See on the link below how it says Action - DVD Movies, I like this as the page title but I don't like how the below text looks. It's out of place and doesn't flow with the site, I'm refering to the text "Action Movies Specialist Touge Tuning". That is what I put as the description, I don't want it to be visible though...I thought the add-on was like META tags that aren't visible when browsing the site.

 

http://tougetuning.com/testsite/index.php/dvd-movies-action-c-3_10

Edited by Stealth1

Share this post


Link to post
Share on other sites

I would like to have a description of the page but I dont want it to be visible when your browsing the site. See on the link below how it says Action - DVD Movies, I like this as the page title but I don't like how the below text looks. It's out of place and doesn't flow with the site, I'm refering to the text "Action Movies Specialist Touge Tuning". That is what I put as the description, I don't want it to be visible though...I thought the add-on was like META tags that aren't visible when browsing the site.

 

http://tougetuning.com/testsite/index.php/dvd-movies-action-c-3_10

 

The whole point of category and manufacturers descriptions is that it gives these pages content. Without such content these pages are irrelevant to a search engine and won't have any "weight" in the SERPS at all.

Share this post


Link to post
Share on other sites

Hello. I would like to add support for facebook. Someone can tell me how?.

In <header> must add something like this:

 

<link rel="image_src" href="http://www.onjd.com/design05/images/PH2/WableAFC205.jpg" />

 

Link to the current category image in the index and the main product image in product_info.

Thanks

Share this post


Link to post
Share on other sites

Hello. I would like to add support for facebook. Someone can tell me how?.

In <header> must add something like this:

 

<link rel="image_src" href="http://www.onjd.com/design05/images/PH2/WableAFC205.jpg" />

 

Link to the current category image in the index and the main product image in product_info.

Thanks

 

Ask in the main forum, it has nothing to do with KissMT support.

Share this post


Link to post
Share on other sites

Ask in the main forum, it has nothing to do with KissMT support.

But I have installed this contribution. I need to modify files in catalog / includes / module for / kiss_meta_tags / modules

product_info.php and index.php to display the code for facebook.

Share this post


Link to post
Share on other sites

But I have installed this contribution. I need to modify files in catalog / includes / module for / kiss_meta_tags / modules

product_info.php and index.php to display the code for facebook.

 

No you don't have to do this in KissMT and I wouldn't advise you to do so as future upgrades will be difficult. You just need to add the code to the page in question e.g. product_info.php.

Share this post


Link to post
Share on other sites

The whole point of category and manufacturers descriptions is that it gives these pages content. Without such content these pages are irrelevant to a search engine and won't have any "weight" in the SERPS at all.

 

That definitely makes more sense, I guess I have to come up with a quality relevant description and work from there.

Share this post


Link to post
Share on other sites

superb contribution guys, good to see someone still adding value to oscommerce!

 

I had problems getting it to work with STS but making the changes listed by ferchumpdp it works great. Once again thanks guys, I look forward to seeing what you come up with next..

Edited by Dzines

Share this post


Link to post
Share on other sites

Do you know if using this with STS throws up any conflicts at all?

 

I have installed the optional extras but I am unsure if the google breadcrumbs is working and the H1 tags, how would I know (apologies if its a stupid question, nothing seems to have changed)

 

I have also ended up with 2 meta sections on each page as below, Im guessing its related to the extras but unsure how to resolve;

 

html dir="LTR" lang="en">

 

<head>

<title>The Matrix - Dvd-matr - Action - Dvd Movies - by Warner - Regional Code 2 Japan Europe Middle East</title>

<meta name="description" content="The Matrix, DVD-MATR, Action, DVD Movies, by Warner, Regional Code 2 Japan, Europe, Middle East, South Africa . Languages English, Deutsch. Subtitles English, Deutsch. Audio Dolby Surround. Picture Format 16 9 Wide-Screen. Length approx 131 minutes. Ot...">

<meta name="keywords" content="matrix,dvd-matr,action,dvd,movies,warner,regional,code,japan,europe">

<link rel="canonical" href="http://xxx.com/shop/matrix-p-6.html">

 

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>The Matrix - Dvd-matr - Action - Dvd Movies - by Warner - Regional Code 2 Japan Europe Middle East</title>

<meta name="description" content="The Matrix, DVD-MATR, Action, DVD Movies, by Warner, Regional Code 2 Japan, Europe, Middle East, South Africa . Languages English, Deutsch. Subtitles English, Deutsch. Audio Dolby Surround. Picture Format 16 9 Wide-Screen. Length approx 131 minutes. Ot...">

 

<meta name="keywords" content="matrix,dvd-matr,action,dvd,movies,warner,regional,code,japan,europe">

<link rel="canonical" href="http://xxx.com/shop/matrix-p-6.html">

Edited by Dzines

Share this post


Link to post
Share on other sites

Was wondering how I can make it so that the text at the to of the browser doesn't force the Capital letter first then lower case? Some of my product names go like XxXxx but it's being forced to Xxxxx.

Share this post


Link to post
Share on other sites

Was wondering how I can make it so that the text at the to of the browser doesn't force the Capital letter first then lower case? Some of my product names go like XxXxx but it's being forced to Xxxxx.

 

Hi Chris

 

KissMT uses "shortwords" to intelligently build a correct page title. However .. because it is automated there will always be instances where you do not want it to display in the manner dictated by the system .. at this time there is no way to change this on a "one title" basis but I'll consider it for future modifications.

Share this post


Link to post
Share on other sites

Is it compatible with STS just like Header Tags SEO?

 

This support thread has instances of STS users applying it and the files needed to be modified.

 

What is bettter easier then header Tags SEO?

 

As far as easier .. KissMT is like comparing 2 + 2 with complex ( and nonsensical ) algebra.

 

As for better .. KissMT is a much more powerful automated system than header tags seo it also uses canonical tags far more effectively. It is far less complex for the user yet more powerful ( meta/canonical tags ) and also importantly is error free, query light, efficient and modern code .. none of which header tags can claim.

 

However .. if you want to manually set every single page meta then KissMT is not for you .. then again if you want to set every page manually you don't need KissMt NOR header tags SEO.

Share this post


Link to post
Share on other sites

at this time there is no way to change this on a "one title" basis but I'll consider it for future modifications.

 

Hi Robert

 

I agree this would be very useful. Some words look silly in proper case.

 

Regards

 

Ken

Share this post


Link to post
Share on other sites

Do you know if using this with STS throws up any conflicts at all?

 

I have installed the optional extras but I am unsure if the google breadcrumbs is working and the H1 tags, how would I know (apologies if its a stupid question, nothing seems to have changed)

 

I have also ended up with 2 meta sections on each page as below, Im guessing its related to the extras but unsure how to resolve;

 

html dir="LTR" lang="en">

 

<head>

<title>The Matrix - Dvd-matr - Action - Dvd Movies - by Warner - Regional Code 2 Japan Europe Middle East</title>

<meta name="description" content="The Matrix, DVD-MATR, Action, DVD Movies, by Warner, Regional Code 2 Japan, Europe, Middle East, South Africa . Languages English, Deutsch. Subtitles English, Deutsch. Audio Dolby Surround. Picture Format 16 9 Wide-Screen. Length approx 131 minutes. Ot...">

<meta name="keywords" content="matrix,dvd-matr,action,dvd,movies,warner,regional,code,japan,europe">

<link rel="canonical" href="http://xxx.com/shop/matrix-p-6.html">

 

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>The Matrix - Dvd-matr - Action - Dvd Movies - by Warner - Regional Code 2 Japan Europe Middle East</title>

<meta name="description" content="The Matrix, DVD-MATR, Action, DVD Movies, by Warner, Regional Code 2 Japan, Europe, Middle East, South Africa . Languages English, Deutsch. Subtitles English, Deutsch. Audio Dolby Surround. Picture Format 16 9 Wide-Screen. Length approx 131 minutes. Ot...">

 

<meta name="keywords" content="matrix,dvd-matr,action,dvd,movies,warner,regional,code,japan,europe">

<link rel="canonical" href="http://xxx.com/shop/matrix-p-6.html">

 

Sorry I missed this yesterday.

 

There is no reason for the meta info to show twice. The code replacing the <title></title> code must have been added twice.

Share this post


Link to post
Share on other sites

Hi Robert Great work on this,

 

when naming new files/pages that are new I use the format of my-page.php, in doing this I get this error

 

Warning: KissMT could not find a valid base filename, please inform the developer. in /home/public_html/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 141

 

Warning: include_once(/home/public_html/includes/modules/kiss_meta_tags/modules/) [function.include-once]: failed to open stream: No such file or directory in /home/public_html/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 186

 

Warning: include_once() [function.include]: Failed opening '/home/public_html/includes/modules/kiss_meta_tags/modules/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 186

 

Fatal error: Class 'KissMT_Module' not found in /home/public_html/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 187

 

 

line 141 is: trigger_error( 'KissMT could not find a valid base filename, please inform the developer.', E_USER_WARNING );

 

line 186 is: include_once $this->modules_path . $this->basename;

187 is: $this->module = new KissMT_Module;

 

Im assuming it has to do with the "-" I switched back to "_" and it works fine

 

Thanks Eric


Eric

 

Keep up on osCommerce changes and updates at

Github | Understand osCommerce a little further at OsCommerce Documentation | Copy and paste your error message in Google add "in osCommerce" at the end to get relevant answers to most issues.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×