osCmax v2.5 User Manual
Results 1 to 7 of 7

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/community/contributions,2796...

      
  1. #1
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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 Documentation

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    89
    Rep Power
    0


    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.

  4. #4
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    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?

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    89
    Rep Power
    0


    Default

    It will automatically update your old links, but both will work, I just tested it on my store.

  6. #6
    New Member lane's Avatar
    Join Date
    Dec 2003
    Posts
    11
    Rep Power
    0


    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

  7. #7
    New Member
    Join Date
    Jan 2005
    Posts
    7
    Rep Power
    0


    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.

Similar Threads

  1. PPC Search engine
    By jschafer52 in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 11-08-2005, 08:18 AM
  2. need help with search-engine safe URLs
    By evilsmurf in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 02-23-2004, 07:28 AM
  3. Use Search-Engine Safe URLs (still in development)
    By mikeyboy in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 01-15-2004, 08:49 AM
  4. Dynamic MOPix and Search engine safe URLs
    By SnowBord in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 12-20-2003, 11:49 AM
  5. Use Search-Engine Safe URLs - error
    By grunff in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 04-21-2003, 01:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •