This is a discussion on Independent SEO URL Validation(for ULTIMATE SEO URLs) within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; if a customer is logged on and the site is ssl secured a never ending redirect happens, when the customers ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| if a customer is logged on and the site is ssl secured a never ending redirect happens, when the customers wants to get to a category or product.. repalce the whole function "tep_validate_seo_urls" in catalog/includes/fuctions/general.php with: ################################################ // fwrmedia.co.uk mod to check SEO link validity function tep_validate_seo_urls() { global $HTTP_GET_VARS; $querystring = str_replace('?', '&', $_SERVER['REQUEST_URI']); if (isset($HTTP_GET_VARS['products_id'])) $get_id_vars = str_replace(strstr($HTTP_GET_VARS['products_id'], '{'), '', $HTTP_GET_VARS['products_id']); // Remove attributes $qs_parts = explode('&', $querystring); // explode the querystring into an array $count = count($qs_parts); $added_uri = array(); $remove_nasties = array('%3C', '%3E', '', ':/', 'http', 'HTTP', 'https', 'HTTPS'); // We do tep_sanitize_string() later anyway for ( $i=0; $i
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ultimate SEO URLs | michael_s | New osCommerce Contributions | 2 | 02-28-2008 12:39 PM |
| Independent SEO URL Validation(for ULTIMATE SEO URLs) | michael_s | New osCommerce Contributions | 0 | 02-14-2008 02:54 AM |
| Independent SEO URL Validation(for ULTIMATE SEO URLs) | michael_s | New osCommerce Contributions | 0 | 02-13-2008 02:32 AM |
| Ultimate SEO URLs | michael_s | New osCommerce Contributions | 0 | 05-19-2007 03:01 AM |
| Ultimate SEO URLs | michael_s | New osCommerce Contributions | 0 | 04-15-2007 12:12 PM |