Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SEF Link Transformer (SE friendly URLs)


Recommended Posts

  • Replies 129
  • Created
  • Last Reply

Top Posters In This Topic

I don't install SID killer, just something integrated into Loaded 5 (which installed on www.mrstest.com) already.

I think any of them must work (but i can't give 100% guarantee).

 

I try make SEFLT work with any osC version/conrtibutions, but i can't test it with all combinations. Hope community helps with this.

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

Serj,

 

Ok, I have installed it on a fesh install. I am pretty sure the snapshot was from 05/18/03 (possibly from one dated 02/17/03).

 

Only the home page works, all links error 404: Object not found.

 

I have this installed in ...osc.solardirect.com/html directory. Of course I have apache pointing to this directory as home. I host my own sites, but have never dealt with .htaccess files before. What exactly do you mean to allow mod_rewrite directives? I have done a chmod ugo+rwx to this file -rwxrwxrwx, but no change.

 

I just spent the weekend coding and got my url's working pretty good on another test site, but this would obviously make life much easier. Any suggestions?

 

site with SEF mod: http://osc.solardirect.com

test site with code from allproducts discussion plus my own mods: http://test.solardirect.com

Check out my allprod and allcat pages - links in the Cat Box. Most url's working with names.

 

Kirk

 

You don't upload .htaccess to server OR you haven't working mod_rewrite.

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

Serj, there is a bug in your contribution I think.

 

I just checked some of my subcategory and they are not displaying at all.

You can see it for yourself, click on the first link and then on the second link:

 

http://www.sysconcept.ca/category32_21_23/index.html

http://www.sysconcept.ca/index.php?cPath=32_23

 

Is there a quick soluiton.

 

Joseph

#Joseph

Link to comment
Share on other sites

Updated version uploaded to contributions (only .htaccess was changed).

Enjoy.

 

For all who mailed me, asking for help - i will answer later. Currently i'm very busy.

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

  • 2 weeks later...

I modified my site at: www.oznium.com/catalog/ and when I was ready to launch it I downloaded all the files from "fetch" and then uploaded them to the main directory at www.oznium.com/

 

A few things didn't work right... The email validation wasn't able to find includes/tld.txt so I just cut out a snipppet of code that called that file.

 

Now when I test my site here: http://www.webconfs.com/search-engine-spid...r-simulator.php

 

THE SID's show up for the main directory but not the /catalog

 

Any ideas what is wrong here? I checked the permissions on my includes/spiders.txt file and they seem to be fine.

 

Thanks :)

Link to comment
Share on other sites

I modified my site at: www.oznium.com/catalog/ and when I was ready to launch it I downloaded all the files from "fetch" and then uploaded them to the main directory at www.oznium.com/

 

A few things didn't work right... The email validation wasn't able to find includes/tld.txt so I just cut out a snipppet of code that called that file.

 

Now when I test my site here: http://www.webconfs.com/search-engine-spid...r-simulator.php

 

THE SID's show up for the main directory but not the /catalog

 

Any ideas what is wrong here? I checked the permissions on my includes/spiders.txt file and they seem to be fine.

 

Thanks :)

Link to comment
Share on other sites

  • 2 weeks later...

Hi There,

 

Thanks for the contribution! Just wondering.. does your contribution eliminate the need for the SID Killer contrib? I'm trying to figure out what i should be using with the MS2.2 release. Is the SID Killer contrib still relevant with the MS2.2 release? These questions are directed to anyone.

What are people's recommendations for SE friendliness using MS2.2?

 

Thanks all!

Link to comment
Share on other sites

Hi,

 

Thanks for this contribution. It works nicely, except...

 

I use attributes with my products, so when a product has been added to the cart and you go to view it the product id has more to it than just the original integer id.

 

e.g

 

Link to view product x through normal categories:

http://www.ebookx.co.uk/product64/product_info.html

This works fine

 

Link to view same product from within my shopping cart

http://www.ebookx.co.uk/product64{6}14/pro...oduct_info.html

This does not work - note the addition of the {6}14 to the link.

 

nb. these links won't work now anyway cos i removed the SEF link contribution from the live site.

 

I'm not experienced enough with the mod_rewrites etc that make this all work. Can anyone explain how to fix it ?

 

I'd greatly appreciate any help you can give me on this.

 

Thanks

Joe

Link to comment
Share on other sites

Link to view product x through normal categories:

http://www.ebookx.co.uk/product64/product_info.html

This works fine

 

Link to view same product from within my shopping cart

http://www.ebookx.co.uk/product64{6}14/pro...oduct_info.html

This does not work - note the addition of the {6}14 to the link.

 

I've got the same error!

ms1 and snapshot from 18/05/2003.

 

For product with 2 lists of attributes I've got

shop/product167{1}8{8}10

 

Any ideas?

 

May be one must correct "href" from shopping_cart.php ?

Or adding some lines into htaccess file?

But I don't know rewrite rules :(

 

Thank's in advance

Link to comment
Share on other sites

Can a version be made that allows the install to be in a subdirectory - example: http://www.domainname.com/catalog ?

 

I've just uploaded this to contributions section. This thread for questions and suggestions.

 

Main idea of contribution - SE friendly URLs without changing a lot of osC code. Installation require adding 2 strings to 2 files and no changes on database.

Must work with any osC version and any other contibutions installed.

 

Works at http://www.mrstest.com (live shop, no test orders).

Link to comment
Share on other sites

lol - thanks.

 

I already have a cart in place and prefer not to change the path at all for search engine sake as well as time/effort needed to do it..

 

How hard would it be to add functionality that can allow an install into a subdirectory?

 

Perhaps probably.
Link to comment
Share on other sites

And now moment that are you waiting for... ups, wrong style :)

 

0.7.0 Released.

Very major change :) - from now on distributed via http://osc.silencer.ispvds.com.

 

Now real changes

1. Works with products options.

2. Works as SID killer.

As always - TEST FIRST.

SID killer currently is "quick and dirty solution". Checks HTTP_USER_AGENT. If it have word 'Mozilla' - SID added to URL. If doesn't have - SID deleted.

May be not best way.

 

Still can't work with osc installed not in root folder.

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Link to comment
Share on other sites

Hello,

 

I have a snapshot from Nov 1st 2002 with SID killer installed running on a dedicated server at www.medisave.net

 

I have tried putting the SEF on and get limited results - it will not allow me to add anything to the basket and some products and categories do not appear - just browser says waiting.... (although if you go to basket afterwards then the product is in there it just hasnt forwarded on!)

 

Has anyone got this working successfully with my kind of setup? Im desperate to get SEF working!

 

Cheers,

 

Graham

Graham Wright

________________

Link to comment
Share on other sites

Also this is my server setup:

 

HTTP Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_gzip/1.3.26.1a

P

HP Version: 4.1.2 (Zend: 1.1.1)

Graham Wright

________________

Link to comment
Share on other sites

  • 4 weeks later...

Acually I am running OSC ms1 on my live site and I activated sef url and it is different but it works. Inktomi has been crawling my site like mad and all the product pages so I am going to see how this works. I even got picked up by MSN because of the change which is NICE. SO aperantly the build in SEF links do work ok for search engines even though they are not fully developed. SO I would say try the built in feature. inktomi aprears to like it. I know that its still listed as .php but its a step in the right direction.

 

HAS ANYONE goten this to work on there whole site including the shoping cart?? I have a live site and I dont want to mess it up. I also use .htaccess to password protect my site and to get people to automaticly go to /catalog as soon as they type www.special-things.net I also have password protection in .htaccess for certain directories so I can not replace my .htaccess file. Will the contribution work with my password code in .htaccess?? anyway I dont want to install it untill I know someone who has it working on there whole site and people are able to acually buy product. Cause the search engines can find me now I am just 20 pages back. even google lists me. However they do not pick up my key words at all.

 

Please let me know if this is in production somewhere.

 

Shane Miller

http://special-things.net

Shane A. Miller

OWNER

www.Special-Things.Net

Link to comment
Share on other sites

  • 2 weeks later...

v0.7 added successfully to www.directplastics.com.

 

All seems OK... except:

 

Warning: ob_gzhandler() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /home/directpl/public_html/includes/application_bottom.html on line 32

 

appears at bottom of popup_image.php and at the bottom of each page (in place of the WorldPay credit card logos). I can stop the error msg appearing by disabling GZIP compression but the WorldPay logos still do not display - they did before installing the mod.

 

Also, I see no SIDs when browsing the store but http://www.searchengineworld.com/cgi-bin/sim_spider.cgi does show SIDs. Will GoogleBot see the same?

 

Any suggestions please?

David

Link to comment
Share on other sites

Thanks, Serj. :)

 

<?php
/*
 $Id: application_bottom.php,v 1.14 2003/02/10 22:30:41 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// close session (store variables)
 tep_session_close();

 if (STORE_PAGE_PARSE_TIME == 'true') {
   $time_start = explode(' ', PAGE_PARSE_START_TIME);
   $time_end = explode(' ', microtime());
   $parse_time = number_format(($time_end[1] + $time_end[0] - ($time_start[1] + $time_start[0])), 3);
   error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' - ' . getenv('REQUEST_URI') . ' (' . $parse_time . 's)' . "\n", 3, STORE_PAGE_PARSE_TIME_LOG);

   if (DISPLAY_PAGE_PARSE_TIME == 'true') {
     echo '<span class="smalltext">Parse Time: ' . $parse_time . 's</span>';
   }
 }

 if ( (GZIP_COMPRESSION == 'true') && ($ext_zlib_loaded == true) && ($ini_zlib_output_compression < 1) ) {
   if ( (PHP_VERSION < '4.0.4') && (PHP_VERSION >= '4') ) {
     tep_gzip_output(GZIP_LEVEL);
   }
 }
  ob_end_flush();
?>

David

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...