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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

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: 10,328
Thanks: 68
Thanked 322 Times in 305 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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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


All times are GMT -8. The time now is 12:02 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax