osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Independent SEO URL Validation(for ULTIMATE SEO URLs)

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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-31-2008, 12:02 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,760
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Independent SEO URL Validation(for ULTIMATE SEO URLs)

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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Ultimate SEO URLs michael_s New osCommerce Contributions 2 02-28-2008 11:39 AM
Independent SEO URL Validation(for ULTIMATE SEO URLs) michael_s New osCommerce Contributions 0 02-14-2008 01:54 AM
Independent SEO URL Validation(for ULTIMATE SEO URLs) michael_s New osCommerce Contributions 0 02-13-2008 01: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


All times are GMT -8. The time now is 03:28 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design