[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
#41
Posted 07 June 2005 - 05:23 PM
I just installed the newest version of USEO Urls (I was running 2.0), and it seems to be slower than the last version. I'm figuring this is because there are now mod rewrites for articles and other pages. I find my store significantly slower. Anyone else?
#42
Posted 07 June 2005 - 05:33 PM
ACE99, on Jun 7 2005, 11:23 AM, said:
I just installed the newest version of USEO Urls (I was running 2.0), and it seems to be slower than the last version. I'm figuring this is because there are now mod rewrites for articles and other pages. I find my store significantly slower. Anyone else?
I have noticed a smaller delay also. Not so bad that I am worried about it. I wonder if it adds links to cache as it goes. THerefore it would speed up as all the links are cached over time....
#43
Posted 07 June 2005 - 05:36 PM
besot, on Jun 7 2005, 03:31 AM, said:
have installed the new SEO URL and get an fatal error:
CODE
Fatal error: Call to a member function on a non-object in /home/dealer/main/pkg/besot/test/html/includes/functions/html_output.php on line 42
Please help me ....
I had similar issues with the html output. You must still have lines of the old code that need to go away. Im not an expert, so back it up. I deleted all of this, then it worked.
// manufacturer addition by WebPixie
case 'manufacturers_id':
$rewrite_manufacturer = true;
if ( defined('MANUFACTURER_NAME_'.$p2[1]) ){
$rewrite_page_manufacturer = short_name(constant('MANUFACTURER_NAME_'.$p2[1])) . '-m-' . $p2[1] . '.html';
} else { $seo = false; }
break;
// end manufacturer addition by WebPixie
default:
$params[$p2[0]] = $p2[1];
break;
} # switch
} # end foreach
$params_stripped = implode_assoc($params);
switch (true){
case ( $rewrite_product && $rewrite_category ):
case ( $rewrite_product ):
$rewrite_page = $rewrite_page_product;
$rewrite_category = false;
break;
case ( $rewrite_category ):
$rewrite_page = $rewrite_page_category;
break;
// manufacturer addition by WebPixie
case ( $rewrite_manufacturer ):
$rewrite_page = $rewrite_page_manufacturer;
break;
// end manufacturer addition by WebPixie
default:
$seo = false;
break;
} #end switch true
$seo_rewrite_link .= $rewrite_page . ( tep_not_null($params_stripped) ? '?'.tep_output_string($params_stripped) : '' );
$separator = ( tep_not_null($params_stripped) ? '&' : '?' );
} else {
foreach ($p as $index => $valuepair) {
$p2 = explode('=', $valuepair);
switch ($p2[0]){
case 'products_id':
if ( defined('PRODUCT_NAME_'.$p2[1]) ){
$params['pName'] = constant('PRODUCT_NAME_'.$p2[1]);
} else { $seo = false; }
break;
case 'cPath':
if ( defined('CATEGORY_NAME_'.$p2[1]) ){
$params['cName'] = constant('CATEGORY_NAME_'.$p2[1]);
} else { $seo = false; }
break;
// manufacturer addition by WebPixie
case 'manufacturers_id':
if ( defined('MANUFACTURER_NAME_'.$p2[1]) ){
$params['mName'] = constant('MANUFACTURER_NAME_'.$p2[1]);
} else { $seo = false; }
break;
// end manufacturer addition by WebPixie
default:
$params[$p2[0]] = $p2[1];
break;
} # switch
} # end foreach
$params_stripped = implode_assoc($params);
$seo_link .= $page . '?'.tep_output_string($params_stripped);
$separator = '&';
} # end if/else
} # end if $seo
} else {
$link .= $page;
$separator = '?';
$seo = false;
} # end if(tep_not_null($parameters)
while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1);
// Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined
if ( ($add_session_id == true) && ($session_started == true) && (SESSION_FORCE_COOKIE_USE == 'False') ) {
if (tep_not_null($SID)) {
$_sid = $SID;
} elseif ( ( ($request_type == 'NONSSL') && ($connection == 'SSL') && (ENABLE_SSL == true) ) || ( ($request_type == 'SSL') && ($connection == 'NONSSL') ) ) {
if (HTTP_COOKIE_DOMAIN != HTTPS_COOKIE_DOMAIN) {
$_sid = tep_session_name() . '=' . tep_session_id();
}
}
}
if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {
while (strstr($link, '&&')) $link = str_replace('&&', '&', $link);
while (strstr($seo_link, '&&')) $seo_link = str_replace('&&', '&', $seo_link);
$link = str_replace('?', '/', $link);
$link = str_replace('&', '/', $link);
$link = str_replace('=', '/', $link);
$seo_link = str_replace('?', '/', $seo_link);
$seo_link = str_replace('&', '/', $seo_link);
$seo_link = str_replace('=', '/', $seo_link);
$seo_rewrite_link = str_replace('?', '/', $seo_rewrite_link);
$seo_rewrite_link = str_replace('&', '/', $seo_rewrite_link);
$seo_rewrite_link = str_replace('=', '/', $seo_rewrite_link);
$separator = '?';
}
if (!tep_session_is_registered('customer_id') && ENABLE_PAGE_CACHE == 'true' && class_exists('page_cache')) {
$link .= $separator . '<osCsid>';
$seo_link .= $separator . '<osCsid>';
$seo_rewrite_link .= $separator . '<osCsid>';
} elseif (isset($_sid)) {
$link .= $separator . $_sid;
$seo_link .= $separator . $_sid;
$seo_rewrite_link .= $separator . $_sid;
}
if ($seo == 'true') {
return ($seo_rewrite_type == 'Rewrite' ? $seo_rewrite_link : $seo_link);
} else {
return $link;
}
}
#44
Posted 07 June 2005 - 05:42 PM
ACE99, on Jun 7 2005, 12:23 PM, said:
I just installed the newest version of USEO Urls (I was running 2.0), and it seems to be slower than the last version. I'm figuring this is because there are now mod rewrites for articles and other pages. I find my store significantly slower. Anyone else?
which directions did you follow for the install? The instructions you need to follow (in your case) are the one's labeled "UPGRADE v1.x-v2.0b series- osCommerce MS-2.2".
For people that have already installed the first version of 2.1, all you need to do is upload the new file, and (optional step) drink a cold one.
Do you have a large database of products or a small database?
I do not notice any speed issues, but then my store for some reason has always lagged a little bit... Does anyone else experience slowness issues from their connection? http://shop.faerietreasures.com
It does seem a bit faster when I hit the refresh button, but then that could be my imagination...
Are a lot of people experiencing slowness issues? Do you have a lot of items in your catalog if you do? I have a small product catalog...
#45
Posted 07 June 2005 - 05:57 PM
Anyone else having issues where having the extra stuff in the url makes it redirect and say product not found? The simple fix would be to add the ability to turn this off in admin (like how cpath is done)
#46
Posted 07 June 2005 - 06:01 PM
jonyo, on Jun 7 2005, 11:42 AM, said:
It does seem a bit faster when I hit the refresh button, but then that could be my imagination...
Are a lot of people experiencing slowness issues? Do you have a lot of items in your catalog if you do? I have a small product catalog...
Your site seems quite slow. I have DSL and there were delays of several seconds. I would talk to your ISP and figure out what is the problem...
#47
Posted 07 June 2005 - 06:11 PM
montytx, on Jun 7 2005, 01:01 PM, said:
LOL!!! Wow I'm an idiot... I just realized cache was turned off!!! And I have 1and1, they should be pretty fast... I'll contact them if the speed doesn't improve w/ cache enabled...
For the other people that are having speed issues, once you go to the page, does it speed up? I think montyx might be right about it re-caching stuff, or in my case cacheing it for the first time...
#48
Posted 08 June 2005 - 12:42 AM
Any ideas?
Thanks
Rick
#49
Posted 08 June 2005 - 01:39 AM
jonyo, on Jun 7 2005, 02:21 PM, said:
I too had the cDynamic Meta Tags Contrib installed with the older version of Ultimate SEO. When I upgraded, my site wouldn't work. I had to change the setting for the cDynamic Meta Tags contrib to not use the Chemo's cache, and my site now works.
That might be the problem.
#50
Posted 08 June 2005 - 04:16 AM
When i access the catalog in admin nothing displays???
No error msg just a blank screen.
Anyone else had this issue.
#51
Posted 08 June 2005 - 11:12 AM
#52
Posted 08 June 2005 - 12:51 PM
I was able to fix it by turning off auto redirect in the admin under seo admin. Hope this helps someone.
#53
Posted 08 June 2005 - 01:12 PM
[quote name='Chemo' date='Jun 3 2005, 12:37 PM']
You have an unusual problem with cPath=0_* as that is not the usual form. The 0 indicates top level category and should be formed like cPath=1 and NOT cPath=0_1. Do you have a custom category menu?
Yes i do because the cpath=0 link is the top/home link in the categorie box
I am interested in utilizing your store to finish development since it meets all of the requirements: articles, informations pages, and also has the added bonus of being a large product category with possible multiple languages.
Get with me on instant messenger and we'll work out the FTP credentials.
I have installed your contribution update 2.01 and the other upgrade i will start testing this later in the evening and i will e-mail my site-adres to you. I cannot give my ftp credentials due to the fact it is live and functioning, even i must inform my fellow shoprunners before modifying anything
BTW, do you have issues with special characters in the URLs? How many characters as an estimate?
I am not sure what you mean by this these caracters are also put in the rewrited url say example a trademark or copyright , will be parsed within the url . But the link will work when clicked on
For development of 2.01
One thing i found was that when using the default settings .
The reset option didn't work.
The turn seo off switch didn't work, when i turned it off my site wasn't able to load normal cpath values this means the entire categorie box.
Also products wouldn't load normal product_id=.
I tried putting oscdefaultcache off and page_cache also your 7 caches in configuration.
I deleted all cache files and cleared cache in database.
No help there, it seems like im tied to put seo on.
I shall put things back on and test this later in the evening because i really don't want to bother visitors or spiders
Come to think of it maybe this is because the htacces file has still rewrite on..
I suppose the switch set SEO off cannot remove these rules from the htacces file..but i will test some more this night
I have tested this some more and i am unable to switch it off, i have reversed back to 20b
Note for chemo.
I really love your contrib but the're is one thing about this new version wich is not suitable for me. ..
In seo classes there is automatic database install. Wich removed my former database-tables. Some of those new ones do not work properly- and to be honest i really like doing these things by hand.. I am not fond of the idea of automatic install without me being able to control what is going on. I read some post of someone suggesting that all updates should be automatically..Well that's a big possible vulnerability and i really hope you don't follow his advice .
regards hakan
Edited by hakan haknuz, 08 June 2005 - 01:15 PM.
Hakan Haknuz
#54
Posted 09 June 2005 - 01:34 AM
This contribution contains link/s to an external support forum - is this allowed ?
Edited by Diablo_365, 09 June 2005 - 01:36 AM.
#55
Posted 09 June 2005 - 02:10 AM
#56
Posted 09 June 2005 - 02:17 AM
Has anyone gotten Ultimate SEO URL's v2.1x to work with Information Pages? I've looked through the code and can't see any reason that it shouldn't rewrite but it comes through as sitedomain.com/information.php?info_id=1 every time.
David
#57
Posted 09 June 2005 - 02:53 AM
DavidR, on Jun 8 2005, 09:17 PM, said:
Has anyone gotten Ultimate SEO URL's v2.1x to work with Information Pages? I've looked through the code and can't see any reason that it shouldn't rewrite but it comes through as sitedomain.com/information.php?info_id=1 every time.
David
I don't know about information pages, but it works for my ultimate information pages, right off the bat w/o modification...
You could try asking in the controversial forums, or try installing the information pages unlimited contrib (don't know exactly which one, unfortunately I did not keep good track enough of which contribs I installed, I don't know base code from modified code any more)
What exactly is not working with the information pages for you? (maybe give a url for an example, sometimes it's easier than explaining) Sorry I can't help out more...
#58
Posted 09 June 2005 - 03:05 AM
David
#59
Posted 09 June 2005 - 02:23 PM
Is there currently a Froogle datafeed contrib that has this feature enabled? Can anyone please point me to the one I'd want for this purpose?
Contributed Barclay's ePDQ Payment Module though not originally mine. Made it work though...
#60
Posted 09 June 2005 - 04:19 PM
1. How can you tell if it is working?
2. After I installed it my secured pages quit working so I had to remove it. Any body else have this problem?
3. After I removed it I still get the SEO URL in the admin control panel and can't seem to get rid of it. Any Idea's?
I liked this contribution and would like to get it working since I am learning how to improve my page ranking. I am new to the whole internet sales scene and there is a whole lot of info to try to absorb.
Thanks, Mike









