dr303 Posted May 6, 2011 Share Posted May 6, 2011 It is dangerous though .. what if a product was named: - This must be the greatest wiggit Restrict it to two words and you could end up with: - this-must-p-37.html :) Yes, you are right. But every SEO optimiser knows that when you make the title of the product the main key words should be on the 1st place - better of all it should be first 4 words, it will increase your rating. If you have key words after - you will not be on the 1st page in most search engines. You may test it yourself for ex. in Google search. So if I know exactly that first 4 words contain key words I could shorten my link to these words. Quote Link to comment Share on other sites More sharing options...
here2learn Posted May 17, 2011 Share Posted May 17, 2011 I installed USU 5 and it works, but regarding multi language support I think you could change this part to look better: Examples: English index.php www.mysite.com/index.php German index.php www.mysite.com/index.php/de English product seo url www.mysite.com/my-great-product-c-22.html German product seo url www.mysite.com/de/my-great-product-c-22.html Why not add the german index to be www.mysite.com/de/index.php instead of www.mysite.com/index.php/de, just like products urls are rewritten? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 17, 2011 Author Share Posted May 17, 2011 (edited) I installed USU 5 and it works, but regarding multi language support I think you could change this part to look better: Examples: English index.php www.mysite.com/index.php German index.php www.mysite.com/index.php/de English product seo url www.mysite.com/my-great-product-c-22.html German product seo url www.mysite.com/de/my-great-product-c-22.html Why not add the german index to be www.mysite.com/de/index.php instead of www.mysite.com/index.php/de, just like products urls are rewritten? Because it is not possible. With a monolithic script it is easy .htaccess simply redirects all requests to index.php where the script can parse it. With a file per function script ( like osCommerce ) this is not possible. ( well it is possible but not without a sizeable hardcoded .htaccess which is bad news ). Edited May 17, 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...
dxer Posted May 18, 2011 Share Posted May 18, 2011 (edited) I just installed this plugin but I ran into some problems right away. When I go mouseover product link than I would get this link for example: www.mysite.com/product_info.php/printer-lexmark-e120 but when I click on it to see product detail then result is that Product is not found, and URL in the browser is following: www.mysite.com/product_info.php/index.php and I can not go back with browser back button as it will keep loading this latest page How to fix this ? Edited May 18, 2011 by dxer Quote Link to comment Share on other sites More sharing options...
pdcelec Posted May 18, 2011 Share Posted May 18, 2011 I just installed this plugin but I ran into some problems right away. When I go mouseover product link than I would get this link for example: www.mysite.com/product_info.php/printer-lexmark-e120 but when I click on it to see product detail then result is that Product is not found, and URL in the browser is following: www.mysite.com/product_info.php/index.php and I can not go back with browser back button as it will keep loading this latest page How to fix this ? check that you have installed it correctly and read and understood the instructions provided HTH Quote Link to comment Share on other sites More sharing options...
cdogstu99 Posted May 18, 2011 Share Posted May 18, 2011 Can someone help with an uninstall...i changed back all the files i had initially changed, and delete all the files from my server, but my site is all messed up..keeps redirecting. Quote Link to comment Share on other sites More sharing options...
dxer Posted May 19, 2011 Share Posted May 19, 2011 check that you have installed it correctly and read and understood the instructions provided HTH I checked everything and I did everything by the book, I mean by instructions provided with package I downloaded. These instructions says that link should look like www.mysite.com/catalog/index.php/hardware-c-1, but like I wrote above, my link looks like: www.mysite.com/product_info.php/hardware-c-1 and actually when you click on it, page without product appears saying Product not found and in browser address but it is displayed like following: www.mysite.com/product_info.php/index.php Anyone know what is it about and how to fix this please? Quote Link to comment Share on other sites More sharing options...
pdcelec Posted May 19, 2011 Share Posted May 19, 2011 I checked everything and I did everything by the book, I mean by instructions provided with package I downloaded. These instructions says that link should look like www.mysite.com/catalog/index.php/hardware-c-1, but like I wrote above, my link looks like: www.mysite.com/product_info.php/hardware-c-1 and actually when you click on it, page without product appears saying Product not found and in browser address but it is displayed like following: www.mysite.com/product_info.php/index.php Anyone know what is it about and how to fix this please? Which download did you use?. The version that I downloaded produces nothing like yours Quote Link to comment Share on other sites More sharing options...
dxer Posted May 20, 2011 Share Posted May 20, 2011 I donwloaded from addons.oscommerce.com/info/6768 latest package and I used instructions and files inside that package for version Oscommerce version 2.2 (from Templatemonster) Quote Link to comment Share on other sites More sharing options...
Guest Posted May 20, 2011 Share Posted May 20, 2011 Hi i installed the last version of Ultimate Seo Urls 5 PRO (r205) of 21 Mar 2011 and it works fine , but i found this problem on my site: when copy and past the url of a my product description from a browser to an other one, i will get: Error! Unable to determine the page link! also, if i click on the direct link of a my product description from google, i will get the same problem: Error! Unable to determine the page link! Also if i disable the addon i still get this problem, i got hosting linux with php5 , in the file .htaccess i added also: php_flag register_globals On php_value register_long_arrays On without any positive change... any solution? thanks for your support Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 20, 2011 Author Share Posted May 20, 2011 (edited) Error! Unable to determine the page link! any solution? thanks for your support Not a USU5 problem. The standard tep_href_link() wrapper of osCommerce issues that error when $page is passed into the wrapper as a null value. Edited May 20, 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...
♥FWR Media Posted May 20, 2011 Author Share Posted May 20, 2011 These instructions says that link should look like www.mysite.com/catalog/index.php/hardware-c-1, but like I wrote above, my link looks like: www.mysite.com/product_info.php/hardware-c-1 This is impossible unless includes/filenames.php has the incorrect file names entered for the standard defines. 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...
Guest Posted May 21, 2011 Share Posted May 21, 2011 (edited) Not a USU5 problem. The standard tep_href_link() wrapper of osCommerce issues that error when $page is passed into the wrapper as a null value. Hi! thanks yes it's true. But i just saw that there is an other problem: On Google the Url is this (old url from Ultimate SEO Url by Chemo): MYSITE.com/server-katar-oggetti-item-shop-lacagettone-dorato-lacarette-katar-italia-p-465.html On my site the url is this MYSITE.com/product_info.php/lacagettone-dorato-per-lacarette-katar-italia-p-465 how can i fix it? Edited May 21, 2011 by Aperol Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 21, 2011 Author Share Posted May 21, 2011 Hi! thanks yes it's true. But i just saw that there is an other problem: On Google the Url is this (old url from Ultimate SEO Url by Chemo): MYSITE.com/server-katar-oggetti-item-shop-lacagettone-dorato-lacarette-katar-italia-p-465.html On my site the url is this MYSITE.com/product_info.php/lacagettone-dorato-per-lacarette-katar-italia-p-465 how can i fix it? Please read the usage instructions. 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...
Guest Posted May 21, 2011 Share Posted May 21, 2011 Please read the usage instructions. Hi all ok thanks, i just changed the "Choose the uri format" and the "Choose how your product link text is made up" from admin pannel ;) best regards Quote Link to comment Share on other sites More sharing options...
celextel Posted May 22, 2011 Share Posted May 22, 2011 Dear Mr. Rob, We just installed this in our website in lieu of Chemo's Ultimate_SEO_URLs. After this installation, we called a modified googlefeeder.php file for generating the google feed in our website and it started showing the '0' [zero] price for all the products in our website. We had to restore the old db backup due to this. We had changed the following code in googlefeeder.php include_once('includes/classes/seo.class.php'); $seo_urls = new SEO_URL($languages_id); function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $seo_urls; return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } } to require_once 'includes/application_top.php'; We have tried with the following code: if (! function_exists("tep_not_null")) { function tep_not_null($value) { if (is_array($value)) { return ((sizeof($value) > 0) ? true : false); } else { return ((($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) ? true : false); } } } if(SEO_ENABLED=='true'){ require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php'; function tep_href_link( $page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true ) { return Usu_Main::i()->hrefLink( $page, $parameters, $connection, $add_session_id, $search_engine_safe ); } } if(SEO_ENABLED=='true'){ $productURL = 'product_info.php'; $productParam = "products_id="; }else{ $productURL = HTTP_SERVER.'/product_info.php/products_id/'; } and got the following error message: Fatal error: Call to undefined function tep_output_string() in ....../public_html/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php on line 64 Kindly guide us as to what to do in this regard. Thanks, Lakshmanan Quote Link to comment Share on other sites More sharing options...
pdcelec Posted May 22, 2011 Share Posted May 22, 2011 Dear Mr. Rob, We just installed this in our website in lieu of Chemo's Ultimate_SEO_URLs. After this installation, we called a modified googlefeeder.php file for generating the google feed in our website and it started showing the '0' [zero] price for all the products in our website. We had to restore the old db backup due to this. We had changed the following code in googlefeeder.php include_once('includes/classes/seo.class.php'); $seo_urls = new SEO_URL($languages_id); function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $seo_urls; return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } } to require_once 'includes/application_top.php'; We have tried with the following code: if (! function_exists("tep_not_null")) { function tep_not_null($value) { if (is_array($value)) { return ((sizeof($value) > 0) ? true : false); } else { return ((($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) ? true : false); } } } if(SEO_ENABLED=='true'){ require_once DIR_WS_MODULES . 'ultimate_seo_urls5/main/usu5.php'; function tep_href_link( $page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true ) { return Usu_Main::i()->hrefLink( $page, $parameters, $connection, $add_session_id, $search_engine_safe ); } } if(SEO_ENABLED=='true'){ $productURL = 'product_info.php'; $productParam = "products_id="; }else{ $productURL = HTTP_SERVER.'/product_info.php/products_id/'; } and got the following error message: Fatal error: Call to undefined function tep_output_string() in ....../public_html/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php on line 64 Kindly guide us as to what to do in this regard. Thanks, Lakshmanan Try http://addons.oscommerce.com/info/4513 and download 4th January 2010 by FWR media It works as required Quote Link to comment Share on other sites More sharing options...
celextel Posted May 22, 2011 Share Posted May 22, 2011 Try http://addons.oscommerce.com/info/4513 and download 4th January 2010 by FWR media It works as required Thanks for this response. We would try that. Thanks. Quote Link to comment Share on other sites More sharing options...
celextel Posted May 22, 2011 Share Posted May 22, 2011 Try http://addons.oscommerce.com/info/4513 and download 4th January 2010 by FWR media It works as required This feeder file is creating standard URLs ["product_info.php?products_id=**"] only even with default ('SEO_ENABLED','true') setting. How to get SEO URLs? Please let us know. Thanks. Quote Link to comment Share on other sites More sharing options...
pdcelec Posted May 22, 2011 Share Posted May 22, 2011 This feeder file is creating standard URLs ["product_info.php?products_id=**"] only even with default ('SEO_ENABLED','true') setting. How to get SEO URLs? Please let us know. Thanks. line 11 shows define('SEO_ENABLED','true'); //Change to 'false' to disable if Ultimate SEO URLs is not installed Quote Link to comment Share on other sites More sharing options...
celextel Posted May 22, 2011 Share Posted May 22, 2011 line 11 shows define('SEO_ENABLED','true'); //Change to 'false' to disable if Ultimate SEO URLs is not installed We have the Ultimate Seo Urls 5 Pro and we have also set this SEO_ENABLED setting to true [it is the default one]. Our website URLs are SEO URLs. But this feeder is not generating SEO URLs. It used to generate SEO URLs with Chemo's Ultimate_SEO_URLs contribution. Quote Link to comment Share on other sites More sharing options...
dxer Posted May 23, 2011 Share Posted May 23, 2011 This is impossible unless includes/filenames.php has the incorrect file names entered for the standard defines. Here is code from my filenames.php : <?php /* $Id: filenames.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // define the filenames used in the project define('FILENAME_ACCOUNT', 'account.php'); define('FILENAME_ACCOUNT_EDIT', 'account_edit.php'); define('FILENAME_ACCOUNT_HISTORY', 'account_history.php'); define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info.php'); define('FILENAME_ACCOUNT_NEWSLETTERS', 'account_newsletters.php'); define('FILENAME_ACCOUNT_NOTIFICATIONS', 'account_notifications.php'); define('FILENAME_ACCOUNT_PASSWORD', 'account_password.php'); define('FILENAME_ADDRESS_BOOK', 'address_book.php'); define('FILENAME_ADDRESS_BOOK_PROCESS', 'address_book_process.php'); define('FILENAME_ADVANCED_SEARCH', 'advanced_search.php'); define('FILENAME_ADVANCED_SEARCH_RESULT', 'advanced_search_result.php'); define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php'); define('FILENAME_CHECKOUT_CONFIRMATION', 'checkout_confirmation.php'); define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment.php'); define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address.php'); define('FILENAME_CHECKOUT_PROCESS', 'checkout_process.php'); define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php'); define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address.php'); define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php'); define('FILENAME_CONTACT_US', 'contact_us.php'); define('FILENAME_CONDITIONS', 'conditions.php'); define('FILENAME_COOKIE_USAGE', 'cookie_usage.php'); define('FILENAME_CREATE_ACCOUNT', 'create_account.php'); define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php'); define('FILENAME_DEFAULT', 'index.php'); define('FILENAME_DOWNLOAD', 'download.php'); define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php'); define('FILENAME_LOGIN', 'login.php'); define('FILENAME_LOGOFF', 'logoff.php'); define('FILENAME_NEW_PRODUCTS', 'new_products.php'); define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php'); define('FILENAME_POPUP_IMAGE', 'popup_image.php'); define('FILENAME_POPUP_SEARCH_HELP', 'popup_search_help.php'); define('FILENAME_PRIVACY', 'privacy.php'); define('FILENAME_PRODUCT_INFO', 'product_info.php'); define('FILENAME_PRODUCT_LISTING', 'product_listing.php'); define('FILENAME_PRODUCT_REVIEWS', 'product_reviews.php'); define('FILENAME_PRODUCT_REVIEWS_INFO', 'product_reviews_info.php'); define('FILENAME_PRODUCT_REVIEWS_WRITE', 'product_reviews_write.php'); define('FILENAME_PRODUCTS_NEW', 'products_new.php'); define('FILENAME_REDIRECT', 'redirect.php'); define('FILENAME_REVIEWS', 'reviews.php'); define('FILENAME_SHIPPING', 'shipping.php'); define('FILENAME_SHOPPING_CART', 'shopping_cart.php'); define('FILENAME_SPECIALS', 'specials.php'); define('FILENAME_SSL_CHECK', 'ssl_check.php'); define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php'); define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php'); define('FILENAME_POPUP_EXTRA_IMAGES', 'popup_extra_images.php'); //extra images ?> Any ideas please ? Quote Link to comment Share on other sites More sharing options...
dxer Posted May 23, 2011 Share Posted May 23, 2011 I checked whole thing again, installed on another server and the problem is still there. I have done everything from the instructions. Robert, can I drop you link where you can see this issue? I am sure when you see this live you will know what is wrong right away. I enabled debug too. Quote Link to comment Share on other sites More sharing options...
dxer Posted May 23, 2011 Share Posted May 23, 2011 In the meantime I did some troubleshooting and at one another addon web page of this type I found solution for my issue. Inside includes/header.php file there is code : print("<script type='text/javascript'>window.location='index.php';</script>"); This should be removed . So now it seems this is finally working fine. As I have some specific characters for my language (Croatian) I see that some of the links which contain such characters, are not working. Hope there is solutions to that. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted May 23, 2011 Author Share Posted May 23, 2011 In the meantime I did some troubleshooting and at one another addon web page of this type I found solution for my issue. Inside includes/header.php file there is code : print("<script type='text/javascript'>window.location='index.php';</script>"); This should be removed . So now it seems this is finally working fine. As I have some specific characters for my language (Croatian) I see that some of the links which contain such characters, are not working. Hope there is solutions to that. Yes, basically nothing you have said is related to USU5. That javascript is usually the result of a crap Template Monster template. 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...
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.