KissMT Dynamic SEO Meta & Canonical Header Tags
#21
Posted 18 January 2010 - 03:50 PM
Your contrib seems really great but I have a question :
I have a Url rewriting contrib and all my url are (normally) different for each languages of my website :
For exemple : A product is www.com/english-exemple-p-152.html or www.com/french-exemple-p-152.html
Since few weeks, for some pages, Google takes this URL : www.com/p-152.html or www.com/english-exemple-p-152.html for the french page.
I want to have a solution to inform Google than the canonical URL of a page is www.com/french-exemple-p-152.html (for the french pages instead of www.com/english-exemple-p-152.html when Goole index the wrong url) or www.com/french-exemple-p-152.html when Google index a wrong url like www.com/p-152.html.
About the languages : I'll open different websites for each language so I finally need more a solution to "clean" the google index a give him, fro each dynamical page, the url I made (URL from the data base).
May your contrib do that ?
#22
Posted 18 January 2010 - 03:50 PM
Touffy, on 18 January 2010 - 03:50 PM, said:
Your contrib seems really great but I have a question :
I have a Url rewriting contrib and all my url are (normally) different for each languages of my website :
For exemple : A product is www.com/english-exemple-p-152.html or www.com/french-exemple-p-152.html
Since few weeks, for some pages, Google takes this URL : www.com/p-152.html or www.com/english-exemple-p-152.html for the french page.
I want to have a solution to inform Google than the canonical URL of a page is www.com/french-exemple-p-152.html (for the french pages instead of www.com/english-exemple-p-152.html when Goole index the wrong url) or www.com/french-exemple-p-152.html when Google index a wrong url like www.com/p-152.html.
About the languages : I'll open different websites for each language so I finally need more a solution to "clean" the google index a give him, fro each dynamical page, the url I made (URL from the data base).
May your contrib do that ?
#23
Posted 18 January 2010 - 04:41 PM
Touffy, on 18 January 2010 - 03:50 PM, said:
Your contrib seems really great but I have a question :
I have a Url rewriting contrib and all my url are (normally) different for each languages of my website :
For exemple : A product is www.com/english-exemple-p-152.html or www.com/french-exemple-p-152.html
Since few weeks, for some pages, Google takes this URL : www.com/p-152.html or www.com/english-exemple-p-152.html for the french page.
I want to have a solution to inform Google than the canonical URL of a page is www.com/french-exemple-p-152.html (for the french pages instead of www.com/english-exemple-p-152.html when Goole index the wrong url) or www.com/french-exemple-p-152.html when Google index a wrong url like www.com/p-152.html.
About the languages : I'll open different websites for each language so I finally need more a solution to "clean" the google index a give him, fro each dynamical page, the url I made (URL from the data base).
May your contrib do that ?
It will yes, all of the pages will have a canonical element so page www.com/french-exemple-p-152.html would have a canonical link pointing to that page.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#24
Posted 18 January 2010 - 05:04 PM
FWR Media, on 18 January 2010 - 04:41 PM, said:
And www.com/-p-152.html to www.com/french-exemple-p-152.html ? thanks
#25
Posted 18 January 2010 - 05:32 PM
Touffy, on 18 January 2010 - 05:04 PM, said:
Yes . . KissMT will request a brand new seo url from the system for the canonical link using index.php?products_id=152 as long as seo urls produces a good link then the canonical link will be correct.
Are you using that Magic Seo Urls thing for your multi languages? because Ultimate Seo Urls 5 PRO will be released relatively soon and is looking for beta testers.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#26
Posted 18 January 2010 - 06:09 PM
FWR Media, on 18 January 2010 - 05:32 PM, said:
Are you using that Magic Seo Urls thing for your multi languages? because Ultimate Seo Urls 5 PRO will be released relatively soon and is looking for beta testers.
Not Magic Seo Urls but Ultimate SEO url (old version).
#27
Posted 18 January 2010 - 06:23 PM
Touffy, on 18 January 2010 - 06:09 PM, said:
Oh I see, so you are actually putting the french- etc bit in the name of the product or category .. Ugggh.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#28
Posted 18 January 2010 - 10:20 PM
Great Contribution. I like it. I want to install it in my CRE LOADED shop, this is my first time to install oscommerce contrib in cre loaded.
Can someone please help me on how to convert/configure it for cre loaded?
Thanks
#29
Posted 18 January 2010 - 11:25 PM
techmush, on 18 January 2010 - 10:20 PM, said:
Great Contribution. I like it. I want to install it in my CRE LOADED shop, this is my first time to install oscommerce contrib in cre loaded.
Can someone please help me on how to convert/configure it for cre loaded?
Thanks
I have a really old version of CRE which I haven't looked at for ages.
I had a quick look and the <title></title> needs to be changed in templates/<my current template>/main_page.tpl.php
BUT there will be an issue with the breadcrumb at least as it is different code in CRE.
I may have a look tomorrow if I get a sec.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#30
Posted 19 January 2010 - 08:42 AM
FWR Media, on 18 January 2010 - 11:25 PM, said:
I had a quick look and the <title></title> needs to be changed in templates/<my current template>/main_page.tpl.php
BUT there will be an issue with the breadcrumb at least as it is different code in CRE.
I may have a look tomorrow if I get a sec.
Actually it seems to work fine with the little testing I have done so far. In the instructions ...
Instead of replacing <title></title> in all the catalog files you just change it in templates/<my current template>/main_page.tpl.php
Edited by FWR Media, 19 January 2010 - 08:42 AM.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#31
Posted 19 January 2010 - 05:23 PM
I have just installed this add on at a dev site for testing and included the relevant tag into shipping, privacy etc., but when viewing these pages a box named KissMT Dynamic SEO Meta Tags appears in the footer which should not be there ...
http://affordable-website-design.me.uk/oscommerce/shipping.php
and
http://affordable-website-design.me.uk/oscommerce/hardware-c-1.html
I am not sure how to remove this, please advise.
#32
Posted 19 January 2010 - 05:28 PM
topoils, on 19 January 2010 - 05:23 PM, said:
I have just installed this add on at a dev site for testing and included the relevant tag into shipping, privacy etc., but when viewing these pages a box named KissMT Dynamic SEO Meta Tags appears in the footer which should not be there ...
http://affordable-website-design.me.uk/oscommerce/shipping.php
and
http://affordable-website-design.me.uk/oscommerce/hardware-c-1.html
I am not sure how to remove this, please advise.
Debug output, it is set to on when you install.
If you have extras you turn off in admin.
Otherwise . . open catalog/includes/modules/kiss_meta_tags/includes/init.php
/** * Output the performance info - you'll see it at the bottom of the page. * string true / false */ @define( 'KISSMT_PERFORMANCE_OUTPUT', 'false' );
Edited by FWR Media, 19 January 2010 - 05:28 PM.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#33
Posted 19 January 2010 - 05:40 PM
FWR Media, on 19 January 2010 - 05:28 PM, said:
If you have extras you turn off in admin.
Otherwise . . open catalog/includes/modules/kiss_meta_tags/includes/init.php
/** * Output the performance info - you'll see it at the bottom of the page. * string true / false */ @define( 'KISSMT_PERFORMANCE_OUTPUT', 'false' );
Thanks for the swift response and the very useful add-on - I have not added extras although intend to do so next and will leave debug on until after completed testing but as this is set to default on install, respectfully suggest that this is mentioned in the install file ;-)
Thanks again :-D
#34
Posted 24 January 2010 - 11:13 AM
Can you please modify this great addon for those charsets?
Thanks in advance.
FWR Media, on 18 January 2010 - 10:53 AM, said:
Changelog:
- Wrapped the htmlentities and html_entity_decode functions to allow a bypass for ISO-8859-2 which is not supported by either htmlspecialchars or htmlentities.
- Added Information Pages module.
- Added full set of modules for Newsdesk.
If anyone needs the changes for ISO-8859-2 or the addon modules for Information Pages or Newsdesk just send me a PM and I'll send a download link.
Regards,
Snowbird
#35
Posted 24 January 2010 - 11:43 AM
snowbird, on 24 January 2010 - 11:13 AM, said:
Can you please modify this great addon for those charsets?
Thanks in advance.
Have sent you a download link to the latest revision.
you just need to "drop on top" the modules/kiss_meta_tags/ directory .. no need for other changes.
Edited by FWR Media, 24 January 2010 - 11:44 AM.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#36
Posted 24 January 2010 - 07:11 PM
Now it works perfectly.
FWR Media, on 24 January 2010 - 11:43 AM, said:
you just need to "drop on top" the modules/kiss_meta_tags/ directory .. no need for other changes.
Regards,
Snowbird
#37
Posted 25 January 2010 - 09:36 AM
Thanks for your great contrib! It work fine but it seems that I have a problem with Google.
On my website, all titles are rewrited, but when I do on Google: site:www.mywebsite.com the title are not rewrite.
Do you know why?
Excuse my english I am from France
Regards
#38
Posted 25 January 2010 - 09:39 AM
raclif, on 25 January 2010 - 09:36 AM, said:
Thanks for your great contrib! It work fine but it seems that I have a problem with Google.
On my website, all titles are rewrited, but when I do on Google: site:www.mywebsite.com the title are not rewrite.
Do you know why?
Excuse my english I am from France
Regards
Hi Tom
Your English is just fine.
How long have you had KissMT installed? Google and friends sometimes take a while to update their listings, there is little anyone can do to speed the process.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#39
Posted 25 January 2010 - 09:06 PM
As standard KissMT currently sets the canonical link of the root page as www.mysite.com/index.php.
The reason for this is that there is internal linking to this ( breadcrumb etc. ) whereas there is no internal linking to the version without index.php.
It has been brought to my attention that users may wish their root page to be www.mysite.com/ ( without the index.php ) and further investigation following helpful information by squid ( a forum member ) suggests that the version without the index.php could be a better standard option.
This will be addressed in the new revision but for current users wishing to have this now .. the code change is below: -
open catalog/includes/modules/kiss_meta_tags/abstracts/kiss_modules.php
Find ..
private function forceHttp( $the_current_canonical_link ) {
change to ..
private function forceHttp( $the_current_canonical_link ) {
// mod suggested by squid - thanks
if ( substr( $the_current_canonical_link, -strlen( FILENAME_DEFAULT ), strlen( $the_current_canonical_link ) ) == FILENAME_DEFAULT ) {
$the_current_canonical_link = substr( $the_current_canonical_link, 0, strlen( $the_current_canonical_link )-strlen( FILENAME_DEFAULT ) );
}
Another point correctly brought to my attention by squid is that if you currently have code in place in .htaccess to redirect www.mysite.com/index.php to www.mysite.com/ this should now be removed as the canonical element will do the same job.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#40
Posted 26 January 2010 - 10:26 PM
In local server it works perfectly but when I send this production server I receive following error. I
My php version is 5.2.11 on production server and in phpinfo() it shows SPL support enabled. I've tested a few more sample php code includes ArrayIterator with success but I cannot pass below error. Any thought?
PHP Fatal error: Class 'ArrayIterator' not found in ****/includes/modules/kiss_meta_tags/classes/kiss_meta_tags_class.php on line 123
SPL support enabled Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
Edited by snowbird, 26 January 2010 - 10:28 PM.
Regards,
Snowbird









