Jump to content
Sign in to follow this  
Silencer

SEF Link Transformer (SE friendly URLs)

Recommended Posts

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Hm, never seen shop with 3 level categories. Wait for update.


There is always more than one way to do it.

And always Keep It Simple, Stupid.

Share this post


Link to post
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.

Share this post


Link to post
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 :)

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

This contribution doesn't works with products attributes.

Will be added in next version (when i will have enough time).


There is always more than one way to do it.

And always Keep It Simple, Stupid.

Share this post


Link to post
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).

Share this post


Link to post
Share on other sites

Perhaps probably.


There is always more than one way to do it.

And always Keep It Simple, Stupid.

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Don't sure, but must work.

You always can try :)


There is always more than one way to do it.

And always Keep It Simple, Stupid.

Share this post


Link to post
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

________________

Share this post


Link to post
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

________________

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

May be i can help, if you show me your appplication_bottom.php file.


There is always more than one way to do it.

And always Keep It Simple, Stupid.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Sorry for long time answer, email notify was turned off on forums upgrade.

 

Try turn off GZip compression in admin.


There is always more than one way to do it.

And always Keep It Simple, Stupid.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×