Jump to content
FWR Media

Ultimate Seo Urls 5 Pro

Recommended Posts

Hi,

 

thanks again for this promising piece of software.

It runs great so far.

 

Interim Report:

 

lamp versions:

 

Local:

PHP Version 5.2.8

Apache 2.2.11

MySQL 5.1.30

SQLite 2.8.15

 

Online:

PHP Version 5.2.12

Apache ?

MySQL 5.1.45-3

SQLite 2.8.17

----------------------------------------------

 

Package:

 

ULTIMATE_Seo_Urls_5_PRO_[beta]_r180_dev

 

----------------------------------------------

 

Bug Fix:

 

http://forums.oscommerce.com/topic/349814-ultimate-seo-urls-5-pro/page__view__findpost__p__1510713

http://forums.oscommerce.com/topic/349814-ultimate-seo-urls-5-pro/page__view__findpost__p__1510725

 

 

----------------------------------------------

 

Config:

Enable multi language support? true

Output W3C valid URLs? true

Select your chosen cache system? sqlite

Choose how your product link text is made up p

Filter Short Words 2

Add category parent to beginning of category uris? true

Remove all non-alphanumeric characters? true

Add cPath to product URLs? false

Enter special character conversions. (Better to use the file based character conversions) -> no issues

 

 

Tested uri formats:

 

rewrite, standard ->no issues

 

--------------

 

contributions:

 

visitor webstats -> no issues

SEO Multilayer Pop Out menu -> no issues

PHPMailer Class to send email -> no issues

 

--------------

 

Next:

 

SSL-links

 

Header Tags SEO V 3.0

 

 

 

----------------

 

Regards

Share this post


Link to post
Share on other sites

Hello,

I'm also really interested in using this contribution.

So if you still need beta tester, here I am :)

 

Especially the new uri types are a feature which i'm looking for.

So if I could be a tester for you send me the download link via PN.

 

Regards,

Simon

Share this post


Link to post
Share on other sites

Hello,

 

haven't receive the files for beta testing... you can send me a pm in forums if interested in having another beta tester.

Cheers

Share this post


Link to post
Share on other sites

Ok .. let's try this once more.

 

I have cleared all old emails ( small pm boxes on this site ) so if you would like to PM me again with your email I will send a link where you can download the beta test version.

 

Please note that there are no install instructions .. it has to be dropped on top of a fresh RC2a install.

 

Also the reason for this beta test is to beta test and feed back your thoughts not just a "have a look" so please don't pm me if you have no intention of testing and feeding back. There are a lot of options and different scenarios to test.

Share this post


Link to post
Share on other sites

Hello Robert,

 

I just installed the USU5 Pro beta on a new system (drop on top), but I cannot find any new settings in the admin. Everything looks like USU5 (not Pro). How can I test the new features?

 

Thank you for your assistence

Manfred

Share this post


Link to post
Share on other sites

Hello Robert,

 

I just installed the USU5 Pro beta on a new system (drop on top), but I cannot find any new settings in the admin. Everything looks like USU5 (not Pro). How can I test the new features?

 

Thank you for your assistence

Manfred

 

You cannot use the admin settings just yet in the beta test version.

 

You have to manually change the file ..

 

includes/modules/ultimate_seo_urls5/includes/Usu_Init.php

Share this post


Link to post
Share on other sites

No .. wait a minute .. you have the very latest version .. it auto installs.

 

Look for ..

 

Enable multi language support?

 

Choose how your product link text is made up

 

Force www.mysite.com/ when www.mysite.com/index.php

 

Choose the uri format

 

Also turn performance reporting on.

Share this post


Link to post
Share on other sites

You cannot use the admin settings just yet in the beta test version.

 

You have to manually change the file ..

 

includes/modules/ultimate_seo_urls5/includes/Usu_Init.php

Thanks Robert,

 

but how can I define the settings for the new freatures like "flexible product uri creation" or "True Multi language support for SEO".

 

The only defines I find in includes/modules/ultimate_seo_urls5/includes/Usu_Init.php are:

 

@define( 'SEO_URLS_RESET_CACHE', 'false' );

@define( 'SEO_URLS_ENABLED', 'true' );

@define( 'SEO_URLS_TYPE', 'standard' );

@define( 'SEO_URLS_CHAR_CONVERT_SET', '' );

@define( 'SEO_URLS_FILTER_SHORT_WORDS', 3 );

@define( 'SEO_URLS_REMOVE_ALL_SPEC_CHARS', 'false' );

@define( 'SEO_URLS_CACHE_DAYS', 7 );

@define( 'SEO_URLS_USE_W3C_VALID', 'true' );

@define( 'SEO_URLS_ADD_CPATH_TO_PRODUCT_URLS', 'false' );

@define( 'SEO_URLS_OUPUT_PERFORMANCE', 'false' );

@define( 'SEO_URLS_ADD_CAT_PARENT', 'true' ); and

@define( 'SEO_URLS_CACHE_SYSTEM', 'FileSystem' );

 

It is just the same as in USU5 (without Pro)

Share this post


Link to post
Share on other sites

Thanks Robert,

 

but how can I define the settings for the new freatures like "flexible product uri creation" or "True Multi language support for SEO".

 

The only defines I find in includes/modules/ultimate_seo_urls5/includes/Usu_Init.php are:

 

@define( 'SEO_URLS_RESET_CACHE', 'false' );

@define( 'SEO_URLS_ENABLED', 'true' );

@define( 'SEO_URLS_TYPE', 'standard' );

@define( 'SEO_URLS_CHAR_CONVERT_SET', '' );

@define( 'SEO_URLS_FILTER_SHORT_WORDS', 3 );

@define( 'SEO_URLS_REMOVE_ALL_SPEC_CHARS', 'false' );

@define( 'SEO_URLS_CACHE_DAYS', 7 );

@define( 'SEO_URLS_USE_W3C_VALID', 'true' );

@define( 'SEO_URLS_ADD_CPATH_TO_PRODUCT_URLS', 'false' );

@define( 'SEO_URLS_OUPUT_PERFORMANCE', 'false' );

@define( 'SEO_URLS_ADD_CAT_PARENT', 'true' ); and

@define( 'SEO_URLS_CACHE_SYSTEM', 'FileSystem' );

 

It is just the same as in USU5 (without Pro)

 

LOL errm .. I see you have overcome the first test .. the "uploaded the wrong package" test :D

 

The correct package is now uploaded under the same name.

Share this post


Link to post
Share on other sites

Let me know please when it is all installed and working.

Share this post


Link to post
Share on other sites

Let me know please when it is all installed and working.

 

It is installed now, but possibly I made something wrong.

 

When "multiple language support" is switched on in the admin, the following will happen to the shop:

 

The current language remains as it was, but it's symbol-flag disappeares in the shop. A mouseclick on any of the remaining language symbols switches the language to english, the english flag disappeares and any later mouseclick doesn't change anything.

Share this post


Link to post
Share on other sites

It is installed now, but possibly I made something wrong.

 

When "multiple language support" is switched on in the admin, the following will happen to the shop:

 

The current language remains as it was, but it's symbol-flag disappeares in the shop. A mouseclick on any of the remaining language symbols switches the language to english, the english flag disappeares and any later mouseclick doesn't change anything.

 

Firstly make sure that the root .htaccess contains the contents of extras/htaccess.txt ( with the correct RewriteBase ).

 

The way it works is ..

 

Let's say you have the languages of a default osCommerce .. English - German - Spanish and that English is your main language.

 

When you visit the site the language will be English so no English language flag will display.

 

Hovering over the German and Spanish flags you should see ..

 

index/de

index/es

 

If you click on either of those two links the language will change to that language, it's flag will dissappear and the English flag will return as it is now not the current language.

Edited by FWR Media

Share this post


Link to post
Share on other sites

Need help for this issue.

 

Now, sometimes when clicking on product i get this url:

www myweb com/productname-p-3730.html?manufacturers_id=3

 

and i want the canonical URL:

www myweb com/productname-p-3730.html

 

I dont want the final "?manufacturers_id=3"

 

where can i modify this??

is something I changed in code but Im going crazy finding it.

Edited by bhbilbao

Share this post


Link to post
Share on other sites

I see the problem.

 

I select a manufacturer in the box.

 

Then in the page xxxxx m-3.html?page=1&sortdir=a

 

all links ends:

-p-xxx.html?manufacturers_id=3

 

Is this normal??

Share this post


Link to post
Share on other sites

Firstly make sure that the root .htaccess contains the contents of extras/htaccess.txt ( with the correct RewriteBase ).

 

The way it works is ..

 

Let's say you have the languages of a default osCommerce .. English - German - Spanish and that English is your main language.

 

When you visit the site the language will be English so no English language flag will display.

 

Hovering over the German and Spanish flags you should see ..

 

index/de

index/es

 

If you click on either of those two links the language will change to that language, it's flag will dissappear and the English flag will return as it is now not the current language.

 

Still didn't solve the problem.

 

I had a look at the access.log of my apache server:

 

Default language: english

 

 

Click product link:

 

127.0.0.1 - - [26/Aug/2010:07:39:18 +0200] "GET /SeoProBeta/msimpro-microsoft-intellimouse-pro-p-3.html?osCsid=pauai4bgcu5kgoc2tn683i18f0 HTTP/1.1" 200 30433 "http://localhost/SeoProBeta/hardware-c-1.html?osCsid=pauai4bgcu5kgoc2tn683i18f0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"

 

Looks good.

 

 

Click german language flag procuces duplicate ?osCsid=pauai4bgcu5kgoc2tn683i18f0 ?osCsid=pauai4bgcu5kgoc2tn683i18f0 in the get command:

 

127.0.0.1 - - [26/Aug/2010:07:39:56 +0200] "GET /SeoProBeta/index.php/de?osCsid=pauai4bgcu5kgoc2tn683i18f0?osCsid=pauai4bgcu5kgoc2tn683i18f0 HTTP/1.1" 302 2330 "http://localhost/SeoProBeta/msimpro-microsoft-intellimouse-pro-p-3.html?osCsid=pauai4bgcu5kgoc2tn683i18f0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"

 

Server's answer "302" (Moved Temporarily) and next is

 

127.0.0.1 - - [26/Aug/2010:07:39:57 +0200] "GET /SeoProBeta/index.php HTTP/1.1" 200 30515 "http://localhost/SeoProBeta/msimpro-microsoft-intellimouse-pro-p-3.html?osCsid=pauai4bgcu5kgoc2tn683i18f0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"

 

which leads me to the default language index page (english)

Share this post


Link to post
Share on other sites

Still didn't solve the problem.

 

I had a look at the access.log of my apache server:

 

Default language: english

 

 

Click product link:

 

127.0.0.1 - - [26/Aug/2010:07:39:18 +0200] "GET /SeoProBeta/msimpro-microsoft-intellimouse-pro-p-3.html?osCsid=pauai4bgcu5kgoc2tn683i18f0 HTTP/1.1" 200 30433 "http://localhost/SeoProBeta/hardware-c-1.html?osCsid=pauai4bgcu5kgoc2tn683i18f0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"

 

Looks good.

 

 

Click german language flag procuces duplicate ?osCsid=pauai4bgcu5kgoc2tn683i18f0 ?osCsid=pauai4bgcu5kgoc2tn683i18f0 in the get command:

 

127.0.0.1 - - [26/Aug/2010:07:39:56 +0200] "GET /SeoProBeta/index.php/de?osCsid=pauai4bgcu5kgoc2tn683i18f0?osCsid=pauai4bgcu5kgoc2tn683i18f0 HTTP/1.1" 302 2330 "http://localhost/SeoProBeta/msimpro-microsoft-intellimouse-pro-p-3.html?osCsid=pauai4bgcu5kgoc2tn683i18f0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"

 

Server's answer "302" (Moved Temporarily) and next is

 

127.0.0.1 - - [26/Aug/2010:07:39:57 +0200] "GET /SeoProBeta/index.php HTTP/1.1" 200 30515 "http://localhost/SeoProBeta/msimpro-microsoft-intellimouse-pro-p-3.html?osCsid=pauai4bgcu5kgoc2tn683i18f0" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4"

 

which leads me to the default language index page (english)

 

Forgot to say: I loose my session and have a new osCid after that.

Share this post


Link to post
Share on other sites

I see the problem.

 

I select a manufacturer in the box.

 

Then in the page xxxxx m-3.html?page=1&sortdir=a

 

all links ends:

-p-xxx.html?manufacturers_id=3

 

Is this normal??

 

I think you may be in the wrong place, this is the development thread for the new PRO version of USU5, the support topic for USU5 is here

Share this post


Link to post
Share on other sites

It is installed now, but possibly I made something wrong.

 

When "multiple language support" is switched on in the admin, the following will happen to the shop:

 

The current language remains as it was, but it's symbol-flag disappeares in the shop. A mouseclick on any of the remaining language symbols switches the language to english, the english flag disappeares and any later mouseclick doesn't change anything.

 

Good catch! I can replicate this . .I wasn't seeing this problem as sessions work on my dev server.

 

I'll look at this today.

Share this post


Link to post
Share on other sites

@manniman

 

includes/boxes/languages.php

 

please replace the code in this file with the following: -

 

<?php
/*
$Id: languages.php 180 2010-05-17 10:00:13Z Rob $

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

Copyright (c) 2003 osCommerce

Released under the GNU General Public License
*/
?>
<!-- languages //-->
	<tr>
	<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_LANGUAGES);

new infoBoxHeading($info_box_contents, false, false);

if (!isset($lng) || (isset($lng) && !is_object($lng))) {
if ( !class_exists( 'language' ) ) {
	include_once DIR_WS_CLASSES . 'language.php';
}
$lng = new language;
}

$languages_string = '';
reset($lng->catalog_languages);
foreach( $lng->catalog_languages as $key => $value ) {
if ( $value['directory'] == $language ) {
	$current_lang_key = $key;
	break;
}
}
reset($lng->catalog_languages);
$home_page_redirect = defined( 'USU5_HOME_PAGE_REDIRECT' ) && ( USU5_HOME_PAGE_REDIRECT == 'true' ) ? true : false;
while (list($key, $value) = each($lng->catalog_languages)) {
if ( defined( 'USU5_MULTI_LANGUAGE_SEO_SUPPORT' ) && ( USU5_MULTI_LANGUAGE_SEO_SUPPORT == 'true' )
	&& defined( 'USU5_ENABLED' )
	&& ( USU5_ENABLED == 'true' ) ) {
	if( false === ( $language == $value['directory'] ) ) { // we don't want to show a link to the currently loaded language
	if ( false !== $home_page_redirect ) { // If we are using the root site redirect
	$link = str_replace( array( FILENAME_DEFAULT, '/' . $current_lang_key ), '', tep_href_link( FILENAME_DEFAULT ) );
	} else {
	$link = str_replace('/' . $current_lang_key, '', tep_href_link( FILENAME_DEFAULT ) );
	}
	if ( $key !== DEFAULT_LANGUAGE ) { // if it is not the default language we are dealing with
	if ( false === strpos( $link, '.php' ) && ( false !== $home_page_redirect ) ) {
	$link_array = explode( '?', $link );
	$qs = array_key_exists( 1, $link_array ) ? ( '?' . $link_array[1] ) : '';
	$link = $link_array[0] . FILENAME_DEFAULT . '/' . $key . $qs;
	} else {
	$link = str_replace( '.php', '.php/' . $key, $link );
	}
	}
	// USU5 shows the language link and image
	$languages_string .= ' <a href="' . $link . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> ';
	}
} else { // Just do the standard osCommerce links
// Standard osCommerce shows the language link and image
	$languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> ';
}
}

$info_box_contents = array();
$info_box_contents[] = array('align' => 'center',
	'text' => $languages_string);

new infoBox($info_box_contents);
?>
	</td>
	</tr>
<!-- languages_eof //-->

Share this post


Link to post
Share on other sites

Tried your new version on my local machine today. The installation couldn't be easier.

 

apache v 2.2.3

php v 5.2.0

mysql 5.0.37

 

I tried the 4 uri types. Got a 404 not found error on rewrite and path_rewrite

No problems on standard and path_standard

 

The filter short words function is set to 2

Products Name= t

Products Model= ff

url= product_info.php/warner/ff/test/t-p-28

 

is this correct? should "ff" and "t" still be in the url?

 

 

url= product_info.php/sierra/products-mod/test/products-name-p-29

uri type = path_standard or standard

product link text= bmc

 

Products-name shouldn't be at the end of the url I think

 

No problems found so far on the multi language part of the contribution

 

 

that's it for today

wim

Share this post


Link to post
Share on other sites

Tried your new version on my local machine today. The installation couldn't be easier.

 

I tried the 4 uri types. Got a 404 not found error on rewrite and path_rewrite

No problems on standard and path_standard

 

This just means that you haven't added the .htaccess to shop root, it's in extras/htaccess.txt

 

The filter short words function is set to 2

Products Name= t

Products Model= ff

url= product_info.php/warner/ff/test/t-p-28

 

is this correct? should "ff" and "t" still be in the url?

 

The system can't strip everything or the url would be nothing.

 

A good test would be a product called "test a product" which should end up as test-product

 

 

url= product_info.php/sierra/products-mod/test/products-name-p-29

uri type = path_standard or standard

product link text= bmc

 

Products-name shouldn't be at the end of the url I think

 

This is a "sanity check" system kicking in .. you can't have a product url without the product name as it wouldn't make sense.

 

No problems found so far on the multi language part of the contribution

 

 

that's it for today

wim

 

Thanks Wim

 

Nice to see that at least one person tests when they say they are going to. Much appreciated.

Edited by FWR Media

Share this post


Link to post
Share on other sites

I've still some problems with my local server installation (Apache, Windows).

I always get warnings like the one below in front of the webshop-pages. And I have no idea, which module (PHP / Apache) produces these warnings and how I can switch them off.

 

( ! ) Warning: Missing argument 1 for Sqlite_Cache_Module::gc(), called in C:\xampp\htdocs\USU5Pro\includes\modules\ultimate_seo_urls5\main\usu5.php on line 212 and defined in C:\xampp\htdocs\USU5Pro\includes\modules\ultimate_seo_urls5\cache_system\sqlite.php on line 78

Call Stack

# Time Memory Function Location

1 0.0207 453912 {main}( ) ..\index.php:0

2 0.0475 716144 require( 'C:\xampp\htdocs\USU5Pro\includes\application_top.php' ) ..\index.php:13

3 0.6631 2560544 Usu_Main->initiate( ) ..\application_top.php:325

4 0.6631 2560656 Usu5_Bootstrap->bootStrapper( ) ..\usu5.php:69

5 1.1124 3457344 Usu5_Bootstrap->setRegistry( ) ..\bootstrap.php:50

6 1.1125 3457576 Sqlite_Cache_Module->retrieve( ) ..\bootstrap.php:391

7 1.1125 3457624 Usu_Main->extractCacheData( ) ..\sqlite.php:74

8 1.1546 3461088 Sqlite_Cache_Module->gc( ) ..\usu5.php:212

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

×