Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tushee

Pioneers
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Tushee

tushee's Achievements

  1. never mind, i fix that Changing the .htaccess file add a RewriteRule from url seo's by chemo
  2. hi to everybody, until now i use "seo urls by Chemo", yesterday i install "Ultimate Seo Urls 5 Pro" and it work great, but have few question. Wen i set the url tipe at the "Rewrite", indexed pages from google wont opening (from google search, the page can not displayed ). In site they work but now do i have to wait google indexed again ? When set the url type at the "Standard", google search opening with the new url, but then have "index.php" and "product_info.php" in the address. Do i have chance to remove "index.php" "product_info.php" when at the url type is a "standart" ? If not how to set the "Ultimate Seo Urls 5 Pro" without losing positions on the indexed pages from google ? thanks in advance.
  3. Hi, I just installed Easy Meta tags and works great. Thank you. Now I want to add more keywords, because by default put my only one keyword. Can i do that ? The site is : agrotehnika.bg
  4. Hi, I installed SEO PRO 5, but when I turn "true" gives me in error in a subpages "The requested URL / catalog / Ã?? Â'Ã?? Â ¾ Ã?? Â'Ã?? Â ½ Ã?? Â ¸-Ã?? Â ¿Ã?? Â ¾ Ã?? Â ¼ Ã?? Â ¿Ã?? Â ¸ -c-2.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ' I did step by step, but after installation shows only the main page, others pages url is "'Ã?? Â ¾ Ã?? Â'Ã?? Â ½". When off SEO URL 5 working normally. Any ideas? Thank you. P.S Site is bulgarian www.agrotehnika.bg
  5. I found the code for cyrillized URL. Here it is. But the problem is it is written for the site in the primary directory, and my site is in a subdirectory Mysite.bg/catalog. Can anyone tell me how the code looks for me. function URL_rewrite($url) { global $languages_id; $matches = array(); if(preg_match("/cPath=([0-9]*)_?([0-9]+)?(&products_id=)?([0-9]+)?(.*)?/", $url, $matches)>0 && preg_match("/action=/", $url)==0) { // found name - category if(isset($matches[1])) { $cat_id = $matches[1]; $cat_query = tep_db_query("select categories_id, categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$cat_id . "' and language_id = '" . (int)$languages_id . "' limit 1"); $cat_string = tep_db_fetch_array($cat_query); $cat_string = URL_safe($cat_string['categories_name']); } // found name - subcategory if(isset($matches[2])) { $subcat_id = $matches[2]; $cat_query = tep_db_query("select categories_id, categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$subcat_id . "' and language_id = '" . (int)$languages_id . "' limit 1"); $subcat_string = tep_db_fetch_array($cat_query); $subcat_string = URL_safe($subcat_string['categories_name']); } // found name - product if(isset($matches[4])) { $prod_id = $matches[4]; $prod_query = tep_db_query("select products_name, products_id from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$prod_id . "' and language_id = '" . (int)$languages_id . "' limit 1"); $prod_string = tep_db_fetch_array($prod_query); $prod_string = URL_safe($prod_string['products_name']); } // data if(isset($matches[5])) { $extras = $matches[5]; $extras = substr($extras, 1); } if(preg_match("/(.*)index\.php/", $url)>0) { $url = preg_replace("/index\.php.*/", "", $url); } if(preg_match("/(.*)product_info\.php/", $url)>0) { $url = preg_replace("/product_info\.php.*/", "", $url); } if(isset($cat_string) && $cat_string != "") { $url .= $cat_string."-c".$cat_id; if(isset($subcat_string) && $subcat_string != "") { $url .= "/".$subcat_string."-s".$subcat_id; } if(isset($prod_string) && $prod_string != "") { $url .= "/".$prod_string."-p".$prod_id; } if(isset($extras) && $extras != "") { $url .= "/?".$extras; } } } else if(preg_match("/products_id=([0-9]+)(.*)?/", $url, $matches)>0 && preg_match("/action=/", $url)==0) { if(isset($matches[1])) { $prod_id = $matches[1]; $prod_query = tep_db_query("select products_name, products_id from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$prod_id . "' and language_id = '" . (int)$languages_id . "' limit 1"); $prod_string = tep_db_fetch_array($prod_query); $prod_string = URL_safe($prod_string['products_name']); } if(isset($matches[2])) { $extras = $matches[2]; $extras = substr($extras, 1); } if(preg_match("/(.*)product_info\.php/", $url)>0) { $url = preg_replace("/product_info\.php.*/", "", $url); } if(isset($prod_string) && $prod_string != "") { $url .= $prod_string."-p".$prod_id; } if(isset($extras) && $extras != "") { $url .= "/?".$extras; } } // else return $url; } function URL_safe($str) { $str = strtolower($str); $str = preg_replace("/[^АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЬЮЯабвгдежзийклмнопрстуфхцчшщъьюяa-z0-9-]+/i","-",$str); return $str; }
  6. Thanks for the quick response, but my DB is UTF-8. I will look SEO-5. Should I uninstall the current SEO?
  7. Hello, I installed Ultimate SEO URLs v2.2d, and works great, but I want to make the URL on cyrillic. Is there such a possibility, because now makes only in latin? My store is agrotehnika.bg
×
×
  • Create New...