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/...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Did they finally get it working? Anyone have a spare store to try it out on? http://www.oscommerce.com/community/contributions,2796 |
|
#2
| ||||
| ||||
| 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. |
|
#3
| |||
| |||
| 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: ? Code: / but I used it on inkyvinny.com, and it works like a charm |
|
#4
| |||
| |||
| On a sidenote...if I turn on search engine safe URL's, and assuming they work, will my old URL's be broken links? |
|
#5
| |||
| |||
| It will automatically update your old links, but both will work, I just tested it on my store. |
|
#6
| ||||
| ||||
| 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 |
|
#7
| |||
| |||
| 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. |
| Thread Tools | |
| |
| ||||
| 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 |