Jump to content
Latest News: (loading..)
FWR Media

KissMT Dynamic SEO Meta & Canonical Header Tags

Recommended Posts

the kissmt.php was misiing from \language\...

 

i copied the file

it will change on the nex indexing from goolge?

it will work for romanian language?

 

thank you

 

You have to rewrite the text into Romanian like all other osCommerce language files.

Edited by FWR Media

Share this post


Link to post
Share on other sites

Hi Robert,

 

Great job again.

Thank you for your great work.

 

Although I have questions :

 

The meta description ends up like this in the source code : <title>KISSMT_HOMEPAGE_TITLE</title>

<meta name="description" content="KISSMT_HOMEPAGE_TITLE, KISSMT_HOMEPAGE_DESCRIPTION">

 

And I would like to know if there is a way to just end up with <meta name="description" content="KISSMT_HOMEPAGE_DESCRIPTION"> since this how my websites have been indexed for the moment with good results.

What's your point of view on this ? Which one is better and why ?

 

Also I cannot get the shortwords or smallwords extensions working in french is there anything to enable to get it working other than creating and uploading the files ?

 

Thanks for any clue

Vincent

 

Hi Robert

 

Sorry to bother you again but do you have any clue for me.

 

Thanks Vincent

Share this post


Link to post
Share on other sites

You have to rewrite the text into Romanian like all other osCommerce language files.

 

hello

 

thank you for reply

 

i just realise what was wrog. Google index my site exact in the moment i was installing kissmt add-on and not all the file uploded. some file were not uloaded yet and the sit was not complet functional at the exact that moment :)

 

thank you for help

sorry for my english :)

Share this post


Link to post
Share on other sites

Robert, have a question that i'm hoping you might be able to help with.

 

I have SEO URLS 5 installed and this allowed me to maintain the section for a product that is linked into many sections. This was achieved by turning on cpath, although this adds the ugly cpath to the url it is much more functional. The only problem now is that the Text produced at the top of the browser is still from the original section that the product was inserted into.

 

Is there anyway to have linked products change that part based on what section the product is viewed in?

Share this post


Link to post
Share on other sites

I just wanted to pass on a message of gratitude to Rob for this excellent module and to encourage anyone who hasn't yet applied it to their stores, to do so!

 

Why have I said the above? Well, since moving away from HTSEO (which was fiddly and time consuming) and now using KissMT instead, every facet of my SERP results has improved. Not only in the result pages (now that Google has begun re-crawling my site with great effect), but the fact that the effort by Rob has turned into sales... yes, £££!

 

I have not as yet begun using KissMT to its full potential, rather just use an 'out of the box' scenario whcih has now generated me more income over the past 3 weeks than ever before! So I urge people to give KissMT a go! For those, who like myself, have a lot of projects on the go and use their ecommerce site as a secondary or tertiary source of income, this module will suit you down to the ground.. you don't have to do anything at all! Just think about your product descriptions (which you should have done anyway) and away you go!

 

Once again, thanks Rob.. this has worked brilliantly for me!

Edited by jwilkins

Share this post


Link to post
Share on other sites

Hi sorry for my late reply I'm rather busy with commercial stuff. I don't use STS but if it is printing out the correct data then it should be fine.

 

There is some strange things happening here while using this with STS:

include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php';
$sts->template['headertags']= KissMT::init()->output();

 

Now KissMT is changing the look of my column_left and column_right output. It should look like this:

kissmt2a.jpg

 

But now it looks like this:

kissmt1a.jpg

 

As you can see, KissMT decrease the output width of the boxes.

 

Is there a way to fix this? How?

Anyone using STS and KissMT who knows how to fix this?

Or cant I use KissMT together with STS?

 

Any help would be appreciated!


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

There is some strange things happening here while using this with STS:

include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php';
$sts->template['headertags']= KissMT::init()->output();

 

More strange things discovered in this case:

The letter size (fontsize) in product descriptions are also changed, to bigger..

 

Also when setting this two to true:

* Output the performance info - you'll see it at the bottom of the page.
 * string true / false
 */
 @define( 'KISSMT_PERFORMANCE_OUTPUT', 'true' );
 /**
 * Output the class properties. - you'll see it at the bottom of the page
 * Note: This will only output if KISSMT_PERFORMANCE_OUTPUT is also set to true.
 */
 @define( 'KISSMT_CLASS_OUTPUT', 'true' );
 /**

..the info is written over my shop, not at the bottom of the page..??

Are there any witchhunting going on here..? blink.gif


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Marek

 

I have just updated the latest revision to hopefully support ISO-8859-2, I'm not going to upload the revision just yet but if you are interested in testing to see if it works for you then I will email a download link.

 

can u plz mial it to me i got the same problem ..

thx

rawaby88@hotmail.com

Edited by rawaby88

Share this post


Link to post
Share on other sites

can u plz mial it to me i got the same problem ..

thx

rawaby88@hotmail.com

 

This was added to revision 72 which is the current download.

Share this post


Link to post
Share on other sites

Robert, have a question that i'm hoping you might be able to help with.

 

I have SEO URLS 5 installed and this allowed me to maintain the section for a product that is linked into many sections. This was achieved by turning on cpath, although this adds the ugly cpath to the url it is much more functional. The only problem now is that the Text produced at the top of the browser is still from the original section that the product was inserted into.

 

Is there anyway to have linked products change that part based on what section the product is viewed in?

Share this post


Link to post
Share on other sites

This was added to revision 72 which is the current download.

thanks for fast replay

but i have got the last version and in polish language i have the header in browser like that

 

 

1234.png

 

it should be Kostiumy kąpielowe - Dwuczęściowe - so on i got the only letter work ó

 

plz help

thx

Share this post


Link to post
Share on other sites

There is some strange things happening here while using this with STS:

include_once DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php';
$sts->template['headertags']= KissMT::init()->output();

 

Now.......

 

I managed to get KissMT working on my STS template.

Not sure if everything is working but as far as I can see at the moment it is.

 

Some things i've changed

Step 1 Edit file includes/modules/sts_inc/sts_user_code.php

add 

$sts->start_capture();
include(DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php');
$sts->stop_capture('kissmeta');

after first <?php and before

   $sts->start_capture();
   echo "\n<!-- Start Category Menu -->\n";
   echo tep_draw_form('goto', FILENAME_DEFAULT, 'get', '');
   echo tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onChange="this.form.submit();"');
   echo "</form>\n";
   echo "<!-- End Category Menu -->\n";
   $sts->stop_capture('catmenu');

Step 2 Edit file includes/modules/sts_inc/general.php

 
delete

$sts->template['headertags']= "<title>" . TITLE ."</title>";

 

Step 3 Edit your template html

Now add $kissmeta to your template .html like...
<head>
<!--$headcontent-->
$kissmeta
<link rel="stylesheet" type="text/css" href="************.css">
</head>

 

I hope this works for you!

 

Let me know

Edited by Darkayer

Share this post


Link to post
Share on other sites

I managed to get KissMT working on my STS template.

Not sure if everything is working but as far as I can see at the moment it is.

 

---

 

I hope this works for you!

 

Let me know

 

Seems to work here too. thumbsup.gif Will keep an eye on it to see..

Thanks!!


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

I managed to get KissMT working on my STS template.

Not sure if everything is working but as far as I can see at the moment it is.

 

Some things i've changed

Step 1 Edit file includes/modules/sts_inc/sts_user_code.php

add 

$sts->start_capture();
include(DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php');
$sts->stop_capture('kissmeta');

after first <?php and before

   $sts->start_capture();
   echo "\n<!-- Start Category Menu -->\n";
   echo tep_draw_form('goto', FILENAME_DEFAULT, 'get', '');
   echo tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onChange="this.form.submit();"');
   echo "</form>\n";
   echo "<!-- End Category Menu -->\n";
   $sts->stop_capture('catmenu');

Step 2 Edit file includes/modules/sts_inc/general.php

 
delete

$sts->template['headertags']= "<title>" . TITLE ."</title>";

 

Step 3 Edit your template html

Now add $kissmeta to your template .html like...
<head>
<!--$headcontent-->
$kissmeta
<link rel="stylesheet" type="text/css" href="************.css">
</head>

 

I hope this works for you!

 

Let me know

 

Niek

 

Thanks for taking the time to share this with us :thumbsup:

 

I have never nor will ever use STS so can't comment on these issues, I'm certain your post will help many.

Share this post


Link to post
Share on other sites

I think this keeps getting missed, really hoping to get this fixed.

 

Robert, have a question that i'm hoping you might be able to help with.

 

I have SEO URLS 5 installed and this allowed me to maintain the section for a product that is linked into many sections. This was achieved by turning on cpath, although this adds the ugly cpath to the url it is much more functional. The only problem now is that the Text produced at the top of the browser is still from the original section that the product was inserted into.

 

Is there anyway to have linked products change that part based on what section the product is viewed in?

Share this post


Link to post
Share on other sites

I think this keeps getting missed, really hoping to get this fixed.

 

Robert, have a question that i'm hoping you might be able to help with.

 

I have SEO URLS 5 installed and this allowed me to maintain the section for a product that is linked into many sections. This was achieved by turning on cpath, although this adds the ugly cpath to the url it is much more functional. The only problem now is that the Text produced at the top of the browser is still from the original section that the product was inserted into.

 

Is there anyway to have linked products change that part based on what section the product is viewed in?

 

It is possible like everything is possible .. but .. it is not standard operation and would require modification to the core USU5 files.

Share this post


Link to post
Share on other sites

It is possible like everything is possible .. but .. it is not standard operation and would require modification to the core USU5 files.

 

I almost think it should be standard to have the META and Header Tags be based on the actual category the product is being viewed in and not where it was created. As it sits now any product that is linked to other categories is going to have duplicate META and Header tags isn't it?

Share this post


Link to post
Share on other sites

I managed to get KissMT working on my STS template.

Not sure if everything is working but as far as I can see at the moment it is.

 

Some things i've changed

Step 1 Edit file includes/modules/sts_inc/sts_user_code.php

add 

$sts->start_capture();
include(DIR_WS_MODULES . 'kiss_meta_tags/kiss_meta_tags.php');
$sts->stop_capture('kissmeta');

after first <?php and before

   $sts->start_capture();
   echo "\n<!-- Start Category Menu -->\n";
   echo tep_draw_form('goto', FILENAME_DEFAULT, 'get', '');
   echo tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onChange="this.form.submit();"');
   echo "</form>\n";
   echo "<!-- End Category Menu -->\n";
   $sts->stop_capture('catmenu');

Step 2 Edit file includes/modules/sts_inc/general.php

 
delete

$sts->template['headertags']= "<title>" . TITLE ."</title>";

 

Step 3 Edit your template html

Now add $kissmeta to your template .html like...
<head>
<!--$headcontent-->
$kissmeta
<link rel="stylesheet" type="text/css" href="************.css">
</head>

 

I hope this works for you!

 

Let me know

Excellent ,works like a charm, thanks!

Share this post


Link to post
Share on other sites

I almost think it should be standard to have the META and Header Tags be based on the actual category the product is being viewed in and not where it was created. As it sits now any product that is linked to other categories is going to have duplicate META and Header tags isn't it?

 

This is the only thing stopping me from launching my new site. I think this is a necessary fix as right now it makes linked products output the exact same META information when viewing the product in different categories.

Share this post


Link to post
Share on other sites

I've installed Information Pages Unlimited.

 

Is this addon compatible with it? Or what to change to let it work? Or is there a other addon that is doing the same that is compatible with this addon?

Edited by kanata_82

Share this post


Link to post
Share on other sites

ooops dont' know if I should have posted my reply instead... so just in case

 

Hi Robert,

 

I said I would give feedback on ranking later on so here I am after over a month now. I can vouch that some of my most active pages have better ranking since installing this mod. Note, the pages I'm monitoring are pages that were just as active and had been for a few years before adding this mod but the ranking now as much improved.

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi FWR, congrats for the nice work you have going,

 

Regarding the H1 title extra, can you be more specific, giving an example in code where shall the TD title be replaced? for instance in catalog/index.php.

 

thanks in advance

Share this post


Link to post
Share on other sites

Excellent thought out contribution !

 

I noticed one small issue, when e.g. the title is completed with product names from a category, the oldest ones are taken, while I think it would be better to take the latest as it will have more 'fresh' content and less stale entries. I generally have my product lists sorted by products_id desc.

 

secondly, I'm trying to understand and see if I can help Stealth

I don't understand the parsePath statement, shouldn't it just be the products_id ?

Would it be fair to say that what stealth wants would require a change to the core logic on how the breadcrumb is generated and that it currently has no notion of the calling path ?

   public function process() {

     $this->get_value = $this->parsePath( $_GET['products_id'] );
     $this->original_get = (int)$_GET['products_id'];
     $this->cache_name = $this->setCacheString( __FILE__, 'products_id', $this->original_get );
     if ( false !== $this->retrieve( $this->cache_name ) ) {
       KissMT::init()->setCanonical( $this->checkCanonical( 'products_id' ) );
       return;
     } 
     $query_replacements = array( ':products_id' => (int)$this->get_value, ':languages_id' => (int)KissMT::init()->retrieve( 'languages_id' ) );


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

Share this post


Link to post
Share on other sites

got it, he needs to fix the way his site generates the $breadcrumb and then everything falls into place


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

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

×