View Single Post
  #82  
Old 10-26-2006, 11:22 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO v1.1.0 Released

4.1.3, get_language.php modification

Find:

Code:
if ( ($current_area == "C" || $current_area == "B") && !empty($HTTP_GET_VARS["sl"]) && !defined('IS_ROBOT') && !preg_match('/\.html?($|\?)|\/$/s', $l_redirect) ) { func_header_location($l_redirect); }

Replace With:
Code:
if (($current_area == "C" || $current_area == "B") && !empty($HTTP_GET_VARS["sl"]) && !defined('IS_ROBOT')) { ############################################################ # X-CART-SEO Mod :: http://code.google.com/p/x-cart-seo/ ############################################################ if (!empty($active_modules["XC_SEO"])) { func_header_location($l_redirect); }else{ if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); } } # End SEO }
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote