osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

search engine safe URL's

This is a discussion on search engine safe URL's within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Did they finally get it working? Anyone have a spare store to try it out on? http://www.oscommerce.com/...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-17-2005, 06:15 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default search engine safe URL's

Did they finally get it working?

Anyone have a spare store to try it out on?

http://www.oscommerce.com/community/contributions,2796
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-17-2005, 07:58 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,247
Thanks: 66
Thanked 294 Times in 280 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
Default RE: search engine safe URL

That is a totally different solution, but it looks like it works.

I think you could do it purely with .htaccess mod rewrite and no code modification at all, but that mod looks really easy to install. The author notes that it may still be a bit buggy though.
__________________
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-17-2005, 05:36 PM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

The one that is built into osCommerce is different, and works for some people, but not others. The one that you posted looks good, but you never know if its going to work until you try it out. The built-in one replaces all
Code:
?
with a
Code:
/
which will make it so that crawlers will have a better chance at look at it. It didn't work for me on one of my sites and had terrible results, see my old thread http://oscdox.com/index.php?name=PNp...ghlight=#12268
but I used it on inkyvinny.com, and it works like a charm So just play around and see what works.
__________________
Vince
http://www.inkyvinny.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-18-2005, 04:54 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

On a sidenote...if I turn on search engine safe URL's, and assuming they work, will my old URL's be broken links?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-19-2005, 09:20 PM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

It will automatically update your old links, but both will work, I just tested it on my store.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-21-2005, 05:06 PM
lane's Avatar
New Member
 
Join Date: Dec 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lane
Default

I'll probably try this new contribution as I like it's URLs better, but the original OSC-Max mod for search engine friendly URLs does work.

Most likely the new contribution will have the same problem as the one in OSC-Max, and that is any code that does not correctly create URLs. For the most part we found that the core osC code works fine, but many contributions (including some in OSC-Max, PayPal IPN for instance) do not. Here is an example:

//Original Code (Merchant Partners Payment module contribution)
$declineurl = 'http://trans.atsbank.com/cgi-bin/redirect.cgi?' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true) . '?payment_error=' . $this->code . '&merchantpartners_cc_owner=' . urlencode($HTTP_POST_VARS['merchantpartners_cc_owner'];

The problem here is that the coder bypassed the link creation code for the parameters, and just "appended" them to the resulting link. This kinda works by default, but completely breaks for _any_ url modification scheme (ie, any search engine friendly URL contribution for instance).

here is my fix:

//IFD OSC_MODSQUAD.COM -- appending params at end is incorrect, leads to two ? in URL!
//Correct way is to pass in params to tep_href_link
$url_parms = 'payment_error=' . $this->code . '&merchantpartners_cc_owner=' . urlencode($HTTP_POST_VARS['merchantpartners_cc_owner']);

$declineurl = 'http://trans.atsbank.com/cgi-bin/redirect.cgi?' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, $url_parms, 'SSL', true);

Hope this helps someone
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-24-2005, 11:27 AM
New Member
 
Join Date: Jan 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
apexdog
Default

The Ultimate SEO URL contribution http://www.oscommerce.com/community/contributions,2823 is installed & running here: http://www.apexdog.com

It's an easy install & it works great.
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
PPC Search engine jschafer52 osCMax v2 Features Discussion 0 11-08-2005 09:18 AM
need help with search-engine safe URLs evilsmurf osCommerce 2.2 Installation Help 2 02-23-2004 08:28 AM
Use Search-Engine Safe URLs (still in development) mikeyboy osCMax v1.7 Discussion 1 01-15-2004 09:49 AM
Dynamic MOPix and Search engine safe URLs SnowBord osCMax v1.7 Discussion 3 12-20-2003 12:49 PM
Use Search-Engine Safe URLs - error grunff osCommerce 2.2 Installation Help 0 04-21-2003 01:13 PM


All times are GMT -8. The time now is 09:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax