Jack_mcs Posted July 10, 2011 Share Posted July 10, 2011 Hi Jack. Can i use the latest version "Ultimate SEO 2-2.2d-11" for v2.3.1? Yes. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Lussay Posted July 10, 2011 Share Posted July 10, 2011 Hi Jack, Â Quick question. Â I've installed the latest version of the add-on on this site : http://www.brophies.com/ . Â If you will look at the URL's in the left column (the categories) you can see that the url is created only like -c-category id. Same goes for products. Â The thing is that if I click on one of those links it will actually go to the right url where the category/product name is also displayed. Â So I'm not really getting if I should change something or if this is a bug ? Â Or at least could you point me to what function I should check in seo.class.php ? I have some php knowledge but not a lot. Â Thanks, Â Lucian Quote Link to comment Share on other sites More sharing options...
Lussay Posted July 10, 2011 Share Posted July 10, 2011 Never mind, I solved it by turning the cache settings off :). Quote Link to comment Share on other sites More sharing options...
Rogar1471 Posted July 10, 2011 Share Posted July 10, 2011 (edited) NVM - sorted thanks! Edited July 10, 2011 by Rogar1471 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2011 Share Posted July 12, 2011 I have this installed and just discovered a problem with the categories. You can enter any number and it will give a 200 "OK" response, even if there is no such a thing. Â For example if I have: Â site.com/categoryname-c-45.html It will show. If I enter site.com/categoryname-c-451234567890.html (or anything) it will show a page and give a 200 response. This can cause lots of issues like duplicate content. If you do the same with a product you get a product not found. Â Is there any way around this? (sorry if this has been reported before) Â Michael Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 12, 2011 Share Posted July 12, 2011 I have this installed and just discovered a problem with the categories. You can enter any number and it will give a 200 "OK" response, even if there is no such a thing. Â For example if I have: Â site.com/categoryname-c-45.html It will show. If I enter site.com/categoryname-c-451234567890.html (or anything) it will show a page and give a 200 response. This can cause lots of issues like duplicate content. If you do the same with a product you get a product not found. Â Is there any way around this? (sorry if this has been reported before) Yes, this has been reported before and will be fixed in the next release. However, it won't cause duplicate content problems. That would only happen if the pages are duplicate, which they are not. But even if that were happening, you should have a contribution installed that handles duplicate content situations. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2011 Share Posted July 12, 2011 Yes, this has been reported before and will be fixed in the next release. However, it won't cause duplicate content problems. That would only happen if the pages are duplicate, which they are not. But even if that were happening, you should have a contribution installed that handles duplicate content situations. ok, but I think it may, I will explain why... Â When you go to the "dummy" (non-existing) category it has a "lets see what we have here"...There are currently no products in the range message. (and a 200 response) So if you have lots of them saved in google it will look like duplicate content, wont it? I had a similar issue with the "product not found" a while back before I realised and changed it so it produced 404 headers. Â I will look at other contributions for dupliate content in the meantime :) Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 12, 2011 Share Posted July 12, 2011 ok, but I think it may, I will explain why... Â When you go to the "dummy" (non-existing) category it has a "lets see what we have here"...There are currently no products in the range message. (and a 200 response) So if you have lots of them saved in google it will look like duplicate content, wont it? I had a similar issue with the "product not found" a while back before I realised and changed it so it produced 404 headers. Â I will look at other contributions for dupliate content in the meantime :) Yes, I suppose that is possible. But why would there be so many, or even two, saved in google? Do you delete products often? Also keep in mind that while diplicate content is not a good thing, it is not something so terrible either. If you do it intentionally and google finds out, they may suspend your site. But that is an extreme situation and one a normal shop would ever experience. The worst that would probably happen if you had two product not found pages seen as duplicates is that google would disallow one, or both, which is exactly what you would want to happen. So while the code should handle the not found pages, it is almost a non-issue in its affect upon the shop. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
atom11 Posted July 18, 2011 Share Posted July 18, 2011 (edited) Hello and sorry for my bad english. I'm a German Member. Â I've a big problem. I've included the Ultimate_SEO_URLSv22d_10 successfully. But now, when a customer put a artikle into the shopping card, the artikle is stored and the session is active. The customer clicked on checkout -> checkout_shipping.php and have to logged in. That's OK. But after filling form as new customer or logged in with account data -> the site is redirected to shop start site and the customer isn't logged in. Â When the costumer logged in from "My Account"-site directly, the login works fine. The "My-Account"-site is showing and the customer can buy everything complete to the end of the checkout process. Â What is the problem? Any idea? I use an SSL-Proxy from my Hoster all-inkl.com. Without this contrib the webshop works fine. But I doesn't wish roll back the installation. When I turn off this contrib in admin panel, this problem isn't solved. Â Please help me. :-) Â Thanks, atom11 Edited July 18, 2011 by atom11 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 18, 2011 Share Posted July 18, 2011 What is the problem? Any idea? I use an SSL-Proxy from my Hoster all-inkl.com. Without this contrib the webshop works fine. But I doesn't wish roll back the installation. When I turn off this contrib in admin panel, this problem isn't solved. If you turn it off and the problem remains, then the problem isn't with the contribution since it not being used at all in that case. I suggest you leave it turned off and then post in the general forum describing your problem. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2011 Share Posted July 18, 2011 Hi Everyone  Even though my topic doesn't sound like an SEO URL one, it IS directly related ;-)  Here it is:  I'm implementing Facebook "LIKE" & "SEND", twitter and Linkedin buttons on my mobile app, which is in a subfolder of my catalog I can't have SEO URL running on my mobile app (using Ajax), I deactivated it in my /mobile folder.  However, I want my social buttons there. These buttons are also present on each product nopn-mobile page, and are dynamically generated with the product ID. I use the Open Graph protocol and its META tags to provide the product URL, image, etc..  My challenge is to retrieve the SEO URL from there to build the correct URLs.  - In my main app, my buttons are built with the SEO link - In my mobile app I use the product_info.php?products_id=xxx method  which gives different button counts, because the originating URLs are not the same for FB, TW, and LI and I don't want that. I want my mobile app to be able to create the same SEO url as my main app  Long story short: How to create an SEO tep_href_link from my mobile folder? any attempt to use the SEO class from my subfolder redirects to the non-seo link?  I implemented a dirty fix for now, using some str_replace with the URL encode, but I would like something more reliable.  Thank you for your input! Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 18, 2011 Share Posted July 18, 2011 (edited) Long story short: How to create an SEO tep_href_link from my mobile folder? any attempt to use the SEO class from my subfolder redirects to the non-seo link?  Should be easy enough.  Just use an ajax request to access a file that includes the application_top.php bootstrap.  For this example you use GET and pass an array containing the keys page and query where page is the filename like index.php and query is the required querystring like cPath=2.  This provides a json response with the key "result" the value of which is bool false on failure or an seo url on success.  The file could go in the shop root and look something like: -  <?php $valid_params = array( 'page' => 1, 'query' => 1 ); if ( !count ( array_intersect_key ( $_GET, $valid_params ) ) == 2 ) { echo json_encode ( array( 'result' => false ) ); exit; } include 'includes/application_top.php'; $seo_url = tep_href_link( (string)$_GET['page'], (string)$_GET['query'] ); // add some checks here that the result is valid echo json_encode ( array( 'result' => $seo_url ) ); include DIR_WS_INCLUDES . 'application_bottom.php';  Hope that helps. Edited July 18, 2011 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls  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. Link to comment Share on other sites More sharing options...
atom11 Posted July 18, 2011 Share Posted July 18, 2011 If you turn it off and the problem remains, then the problem isn't with the contribution since it not being used at all in that case. I suggest you leave it turned off and then post in the general forum describing your problem.   Hi Jack_mcs,  thanks for your answer. I replaced the following files from my backup now: root/shop/.htaccess root/shop/includes/application_top.php root/shop/functions/html_output.php  And now, the order process works fine.  The webshop located in the subfolder 'shop'. In the .htaccess file the path is 'RewriteBase /shop/'.  In the /includes/configure.php I wrote the following pathes: define('HTTP_SERVER', 'http://www.anyurl.de'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl-account.com/anyurl.de'); // eg, https://localhost - should not be empty for productive servers  ssl-account.com is the SSL-Proxy from Hoster. Could this be the problem?  Thanks, atom11 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 18, 2011 Share Posted July 18, 2011 Hi Jack_mcs,  thanks for your answer. I replaced the following files from my backup now: root/shop/.htaccess root/shop/includes/application_top.php root/shop/functions/html_output.php  And now, the order process works fine.  The webshop located in the subfolder 'shop'. In the .htaccess file the path is 'RewriteBase /shop/'.  In the /includes/configure.php I wrote the following pathes: define('HTTP_SERVER', 'http://www.anyurl.de'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl-account.com/anyurl.de'); // eg, https://localhost - should not be empty for productive servers  ssl-account.com is the SSL-Proxy from Hoster. Could this be the problem?  Thanks, atom11 I don't understand what the problem is now. You said replacing the files fixed it? Is the problem different than before? If you replaced the above files with original code that didn't have the changes made by this contribution, then it won't work. Please decribe what problem you are having and if it only happens when this contribution is enabled. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
atom11 Posted July 18, 2011 Share Posted July 18, 2011 I don't understand what the problem is now. You said replacing the files fixed it? Is the problem different than before? If you replaced the above files with original code that didn't have the changes made by this contribution, then it won't work. Please decribe what problem you are having and if it only happens when this contribution is enabled. Â Sorry, my english isn't good. I try to describe the problem again. Â When the SEO Contrib is active, the costumer can't login from shopping cart. The login site is showing, then the customer filled out the login form. Then clicked the button 'Login' and isn't logged in. The shop start page is now showing. The shopping cart contains all items, but the costmer isn't logged in. Â The customer can logged in only by clicking on the 'My Account' Button. That's worked. But the shopping cart is empty. The login from shopping cart by clicking the button 'Checkout' doesn't work. Â Now, I replaced the files from backup before the Contrib was installed. The Ultimate SEO is now complete removed from frontend and the login problem from shopping cart is fixed yet. Â Is it better now to understand me? I hope. :) Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 18, 2011 Share Posted July 18, 2011 Sorry, my english isn't good. I try to describe the problem again. Â When the SEO Contrib is active, the costumer can't login from shopping cart. The login site is showing, then the customer filled out the login form. Then clicked the button 'Login' and isn't logged in. The shop start page is now showing. The shopping cart contains all items, but the costmer isn't logged in. Â The customer can logged in only by clicking on the 'My Account' Button. That's worked. But the shopping cart is empty. The login from shopping cart by clicking the button 'Checkout' doesn't work. Â Now, I replaced the files from backup before the Contrib was installed. The Ultimate SEO is now complete removed from frontend and the login problem from shopping cart is fixed yet. Â Is it better now to understand me? I hope. :) It might be that the problem is in the configure file. You should check this thread to be sure yours is correct. It might also be that your .htaccess file is not setup correctly. But if the category and product links work when the contribution is installed, that is probably not the case. The last reason, that I can think of, is that the links in your shop are not coded using the oscommerce link function. This is a common problem with templates so, if you are using one, that would be something to check. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
musenuovo Posted July 19, 2011 Share Posted July 19, 2011 Hi All, Â I'm running latest version of osCommerce Online Merchant and after installing this contribution I am now experiencing this error. I followed all steps as per instructions and added/amended files as necessary. Â Fatal error: Call to undefined function mb_convert_case() in /home/replace/public_html/catalog/includes/classes/seo.class.php on line 1814 Â Thank you for your help. m. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 19, 2011 Share Posted July 19, 2011 I'm running latest version of osCommerce Online Merchant and after installing this contribution I am now experiencing this error. I followed all steps as per instructions and added/amended files as necessary. Â Fatal error: Call to undefined function mb_convert_case() in /home/replace/public_html/catalog/includes/classes/seo.class.php on line 1814 Are you sure you are using version of v 2.2d_11? That function was only used is earlier versions. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Roaddoctor Posted July 24, 2011 Share Posted July 24, 2011 I hope this is the correct place to post this question. If this belongs in the IPU support thread please let me know. I am in the midst of moving from a php3/mysql3 environment to a php5/mysql5 environment and slowly working out the gremlins. As part of the move I've changed from seoClass Chemos 2.1original to 2.2d_11. Everything is working great and fantastic with one minor tweak I would like to sort.  With Information Pages Unlimited, on the old server/seoclass, if I put this code in the Title line:  <img src="/images/icons/video_sm.gif" border="0" /> How To: Video  The icon and link worked fine, the seoclass ignored what was between < and >, and the http link showed as http://www.zzz.com/how-to-video-i-1.html  With the new server/seoclass, if I do the same, the http link shows as http://www.zzz.com/img-srcimagesiconsvideosmgif-border0-how-to-video-i-1.html  I guess my question is if this is a seoclass thing or an IPU thing, and would you know of a solution or where in the code I should experiment. Thanks in advance. Dave Quote -Dave Link to comment Share on other sites More sharing options...
ddigitall Posted July 24, 2011 Share Posted July 24, 2011 Hi Friends, Please I need your help. I can use in the URL the "product model" instead of "product ID"? Example: www.domain.com/product-name-model78.html instead of www.domain.com/product-name-p-24.html  Sorry for my bad English. Thanks in advance Sergio B. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 25, 2011 Share Posted July 25, 2011 I hope this is the correct place to post this question. If this belongs in the IPU support thread please let me know. With Information Pages Unlimited, on the old server/seoclass, if I put this code in the Title line:  <img src="/images/icons/video_sm.gif" border="0" /> How To: Video  The icon and link worked fine, the seoclass ignored what was between < and >, and the http link showed as http://www.zzz.com/how-to-video-i-1.html  With the new server/seoclass, if I do the same, the http link shows as http://www.zzz.com/img-srcimagesiconsvideosmgif-border0-how-to-video-i-1.html  I guess my question is if this is a seoclass thing or an IPU thing, and would you know of a solution or where in the code I should experiment. The code you posted isn't a link so there's no way to see if there is a problem with it. But this contribution works fine with that contribution so I suspect you have an incorrectly formed link. When creating links in oscommerce to places within oscommerce, you need to use the tep_href_link function. You should also use the tep_image function for the image. While the latter is not required, it can prevent errors within the code. If the link is to an external site, then you don't use those functions and this contribution does not come into play. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 25, 2011 Share Posted July 25, 2011 Hi Friends, Please I need your help. I can use in the URL the "product model" instead of "product ID"? Example: www.domain.com/product-name-model78.html instead of www.domain.com/product-name-p-24.html I'm sorry but I don't understand the question. What is the real url you are wanting to display? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2011 Share Posted July 25, 2011 Hi, Â I am using OSC version 2.2 MS2 and have tried to implement the SEO URL v22d_11. The module seemed to go in ok - URLs working as expected with no session IDs showing, however I am having trouble with processing an order through to the order_success.php page (and thereby triggering an email to the customer and an entry in the database). The process works OK until the customer is redirected back from the payment gateway. At this point they are directed to the checkout_payment.php (still logged in correctly) and do not get to the order_success.php page. If I back out all the changes for this module it works OK so it must be a setting, but I'm lost on it. I've searched this thread and can't find this exact issue (only the redirect back to the login.php page not logged in). Â I'd really like to use this module so if someone could help me I'd be very appreciative. I believe my configure file is OK, but I've posted it below in case. Â <?php define('HTTP_SERVER', 'http://www.thelittlewhitebox.co.nz'); define('HTTPS_SERVER', 'https://www.thelittlewhitebox.co.nz'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'thelittlewhitebox.co.nz'); define('HTTPS_COOKIE_DOMAIN', 'thelittlewhitebox.co.nz'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); Â define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/**/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Â define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '**'); define('DB_SERVER_PASSWORD', '**'); define('DB_DATABASE', '**'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 25, 2011 Share Posted July 25, 2011 I am using OSC version 2.2 MS2 and have tried to implement the SEO URL v22d_11. The module seemed to go in ok - URLs working as expected with no session IDs showing, however I am having trouble with processing an order through to the order_success.php page (and thereby triggering an email to the customer and an entry in the database). The process works OK until the customer is redirected back from the payment gateway. At this point they are directed to the checkout_payment.php (still logged in correctly) and do not get to the order_success.php page. If I back out all the changes for this module it works OK so it must be a setting, but I'm lost on it. I've searched this thread and can't find this exact issue (only the redirect back to the login.php page not logged in). This contribution doesn't make any changes to the checkout pages so it is only reacting to something in your shop. My guess is that the return url is incorrect for your payment module. You might want to check in its support thread or its documentation. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2011 Share Posted July 25, 2011 Should be easy enough. Â Just use an ajax request to access a file that includes the application_top.php bootstrap. Â For this example you use GET and pass an array containing the keys page and query where page is the filename like index.php and query is the required querystring like cPath=2. Â This provides a json response with the key "result" the value of which is bool false on failure or an seo url on success. Â The file could go in the shop root and look something like: - Â <?php $valid_params = array( 'page' => 1, 'query' => 1 ); if ( !count ( array_intersect_key ( $_GET, $valid_params ) ) == 2 ) { echo json_encode ( array( 'result' => false ) ); exit; } include 'includes/application_top.php'; $seo_url = tep_href_link( (string)$_GET['page'], (string)$_GET['query'] ); // add some checks here that the result is valid echo json_encode ( array( 'result' => $seo_url ) ); include DIR_WS_INCLUDES . 'application_bottom.php'; Â Hope that helps. Â No luck with this. I implemented an ajax updater with prototype, where the external file actually renders the entire buttons portion. The problem now is that these buttons require external js files from twitter, facebook and linkedin to be rendered. Nomatter where I place the call to the .js scripts ( in the ajax target file or in my originating file), itdoesn't work... Â So I have to stick for now to my not-so-elegant solution, which seems to be working just fine. Â To see this Mobile site: The Frenchy Bee Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.