Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo


Recommended Posts

I have an issue with Ultimate SEO 2-2.2d-10 and newsdesks urls

 

The urls of nested categories are not showed correctly.

 

category = "nested top"

 

subcategory = "nested down one"

 

The name is showed correctly, but the url is this: http://catalog/nested-top-nc-5_6.html

There's a mistake in the code to do with newsdesk. The fix is posted in this thread, probably around August.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi again

 

I looking from 27 April 2010 (http://www.oscommerce.com/forums/topic/154166-contribution-ultimate-seo-urls-v21-by-chemo/page__st__5080) to today and I can't find the fix for newsdesk issue.

 

Can you help me to find this fix?

 

Sorry for my poor english.

 

Regards!!

In includes/classes/seo.class.php, find

 function generate_newsdesk_categories_name_cache(){

and replace it with

 function generate_newsdesk_categories_cache(){

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Jack!

 

Thanks for the code, but I think that don't solve my issue.

 

Apply this code, reset cache and don't see any change.

 

Category link named "nested top" is showed like catalog/nested-top-nc-5.html

 

Subcategory link named "nested down one" is showed like catalog/nested-top-nc-5_6.html

 

Subcategory link named "nested down two" is showed like catalog/nested-top-nc-5_7.html

 

Subcategory link named "nested down three" is showed like catalog/nested-top-nc-5_8.html

 

Thanks for your time :)

 

Regards!

Link to comment
Share on other sites

Category link named "nested top" is showed like catalog/nested-top-nc-5.html

 

Subcategory link named "nested down one" is showed like catalog/nested-top-nc-5_6.html

 

Subcategory link named "nested down two" is showed like catalog/nested-top-nc-5_7.html

 

Subcategory link named "nested down three" is showed like catalog/nested-top-nc-5_8.html

It's the only newsdesk fix I am aware of. You may want to try adjusting the filter short words option. You may have it set too high. You could also try turning off the cache option for newsdesk to be sure it isn't causing a problem.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Filter short words is set on 0, and newsdesk cache is on false.

 

I have this issue on localhost and web hosting, in my shop online and on a fresh install

I don't have an answer for you then. The two worked together at one point since I tested it. But I don't have a shop setup with NewsDesk currently so I can't test it. If there isn't a mistake in your installation, then maybe something changed in one of the contributions to break it but there's no way for me to check that right now.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Using Ultimate_SEO_URLSv22d_10 on a IIS7 machine, I noticed my Ultimate SEO URL Configuration settings were being reset. After digging a bit, it turns out that it was reinstalling the configuration in the database because the number of configuration records weren't matching the number present by default (22 vs. 27) -- which is how it compares to see if you need to do an install or not. Why were there only 22 records? The inserts with the default value of '' were failing...change that to NULL and all records load. (see bold null below for an example).

 

'QUERY' => "INSERT INTO `".TABLE_CONFIGURATION."` VALUES (NULL, 'Enable Pollbooth cache?', 'USE_SEO_CACHE_POLLBOOTH', 'false', 'This will turn off caching for Pollbooth.', GROUP_INSERT_ID, ".$x.", NOW(), NOW(), NULL, 'tep_cfg_select_option(array(''true'', ''false''),')");

 

These were the missing defaults:

 

USE_SEO_CACHE_FAQDESK_CATEGORIES

USE_SEO_CACHE_LINKS

USE_SEO_CACHE_NEWSDESK_ARTICLES

USE_SEO_CACHE_NEWSDESK_CATEGORIES

USE_SEO_CACHE_POLLBOOTH

 

Couldn't find any record of this elsewhere on the net, must be with my particular version of mySQL or a weird setup. Hope this helps someone else.

Link to comment
Share on other sites

Couldn't find any record of this elsewhere on the net, must be with my particular version of mySQL or a weird setup. Hope this helps someone else.

It's a known problem, mentioned by someone a month or two back. Mysql V5.3 requires the first argument to be NULL. I'll get a new version uploaded soon so others don't have this problem.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

hi

 

little help please! for step 8 i have totally different language and not englist how can i fix this? without understanding dont want to change the settings.

 

and secondly i still have .php URL for example if i click my account ot cart etc the whole site is not converted to .html with rewrite mode! is this normal? if not then hoe can i fix this?

 

thanks

 

Ethan

 

<span style='font-size:17pt;line-height:100%'>Ultimate SEO URLs v2.1 is available for download.</span>

Link to comment
Share on other sites

little help please! for step 8 i have totally different language and not englist how can i fix this? without understanding dont want to change the settings.

 

and secondly i still have .php URL for example if i click my account ot cart etc the whole site is not converted to .html with rewrite mode! is this normal? if not then hoe can i fix this?

Not all versions are supported and step 8 in my version is an explanation of the options so you must be using some other version. You will need to state which version you are using and if it is one that is supported, someone may respond.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Dear Jack_mcs, your contribution as long as all your effort is brilliant!. I have installed the Ultimate SEO V 2.2d-10 version and almost everything work fine. The buy-now button doesn't work, but after looking at previous posts i understood where the problem is and i will try to fix it. I have 3 another issues though (i searched posts, i found info about them, but still i can not solve them)

 

1. both seo urls and the ones before i installed seo contribution work and it results to duplicate urls for each product

2. many of my products have the - and / characters (like "Sony Vaio VPC-EB3E1E/WI"). So i have the url "http://.../sony-vaio-eb3e1ewi-p-111.html?osCsid=vdv30jm98d75pppklpbmf6e3l1" that does not include "vpc" and that shows "eb3e1ewi" instead of "eb3e1e-wi". The special character conversion in the admin didn't help me to find what i should do

and

3. Should i get rid of the "?osCsid=vdv30jm98d75pppklpbmf6e3l1" ending on the above link (for example) and how?

 

Any helpful ideas would be strongly appreciated!

Thanx in advance

Link to comment
Share on other sites

1. both seo urls and the ones before i installed seo contribution work and it results to duplicate urls for each product

2. many of my products have the - and / characters (like "Sony Vaio VPC-EB3E1E/WI"). So i have the url "http://.../sony-vaio-eb3e1ewi-p-111.html?osCsid=vdv30jm98d75pppklpbmf6e3l1" that does not include "vpc" and that shows "eb3e1ewi" instead of "eb3e1e-wi". The special character conversion in the admin didn't help me to find what i should do

and

3. Should i get rid of the "?osCsid=vdv30jm98d75pppklpbmf6e3l1" ending on the above link (for example) and how?

1 - I don't understand this but if you are saying you had some other url rewriter installed and the url's were formatted differently, then you will have to add code to redirect those. There are examples somewhere on these forums, maybe in this thread, and on the web.

 

2 - Use the short word filter setting.

 

3 - That list of characters is called the session ID and it should not show up after the first click. If it is not going away, the configure file is most likely not setup correctly. See this thread on how to do that.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Can any one please help me with this fix for my SEO

 

I have a small problem.

I get => http://www.irdhidiamond.com/107-carat-princess-diamond-p-6327.html

I need=> http://www.irdhidiamond.com/1.07-carat-princess-diamond-p-6327.html

 

basicaly it is dropping the "." ( 107 but i need them to be 1.07)

I did try Enter special character conversions but couldn't get it to fix this problem.

 

Could any one please tell me how I can mod the code so it won't remove the period ( I get the "." on 99% of all my products (-p-xxxx) at the start ( withing the first 4 caracter locations)

eg

http://www.irdhidiamond.com/152-carat-round-diamond-p-6329.html should be 1.52

http://www.irdhidiamond.com/101-carat-princess-diamond-p-6323.html should be 1.01

http://www.irdhidiamond.com/05-carat-cushion-diamond-p-2415.html should be 0.5

 

Thank you sooo much for your time...

I am not to worried about security problems since i have put in place additional passwords to get in to admin.

Please I need this solutions since my products get grossly miss represented without this solution

 

Sincerely,

Ashin

Link to comment
Share on other sites

1 - I don't understand this but if you are saying you had some other url rewriter installed and the url's were formatted differently, then you will have to add code to redirect those. There are examples somewhere on these forums, maybe in this thread, and on the web.

 

2 - Use the short word filter setting.

 

3 - That list of characters is called the session ID and it should not show up after the first click. If it is not going away, the configure file is most likely not setup correctly. See this thread on how to do that.

Thanx a lot Jack_mcs, i figured everything out, i guess i had to put a bit more effort before posting :-)

The buy now button is still not working but i understood where to search for a solution.

I will also go on installing HeaderTags_SEO_V_3.2.4 too, i think it will help my web site a lot.

Thanx again...

Link to comment
Share on other sites

You can't do that do that, at least not with V 2.2d. It might be possible to do it with other version or a different url rewriter altogether but I can't say for sure. You might want to ask in the support thread for Ultimate SEO 5.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

You can't do that do that, at least not with V 2.2d. It might be possible to do it with other version or a different url rewriter altogether but I can't say for sure. You might want to ask in the support thread for Ultimate SEO 5.

 

Will do that.

Thanks Jack.

 

Sincerely,

Ashin

Link to comment
Share on other sites

Hi,

I'm trying to install Ultimate_SEO_URLSv22d_10.zip on osCommerce-MS2 but at step #4 there's no $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); in admin/categories.php file.

Could anyone give me some idea what should I do.

 

Thanks

Link to comment
Share on other sites

Hi,

I'm trying to install Ultimate_SEO_URLSv22d_10.zip on osCommerce-MS2 but at step #4 there's no $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); in admin/categories.php file.

Could anyone give me some idea what should I do.

It has to be there or the code wouldn't work correctly. It might be that it is a little different, but it is there. Try searching for $action by itself. If you still can't find it, post the first 40 lines of that file here and I'll take a look at it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

3 - That list of characters is called the session ID and it should not show up after the first click. If it is not going away, the configure file is most likely not setup correctly. See this thread on how to do that.

Dear Jack_mcs i would be greatful if u could have a look on this again please. I thought i solved it, but the session ID disappeared only when i turned Force Cookie Use on True. But this causes problems. I searched through many pages in this thread, i know it has been mentioned many times, but i still can not find how to get rid of the session ID.

 

My website is www.e-experts.gr and my configure.php is as follows:

 

<?php

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.e-experts.gr/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://www.e-experts.gr/'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', '1'); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.e-experts.gr');

define('HTTPS_COOKIE_DOMAIN', 'www.e-experts.gr');

define('HTTP_COOKIE_PATH', 'oscommerce/');

define('HTTPS_COOKIE_PATH', 'oscommerce/');

define('DIR_WS_HTTP_CATALOG', 'oscommerce/');

define('DIR_WS_HTTPS_CATALOG', 'oscommerce/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection

define('DB_SERVER', '##########'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '##########');

define('DB_SERVER_PASSWORD', '##########');

define('DB_DATABASE', ############');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

Also, Prevent Spider Sessions and Recreate Session are set to True

 

Thanx for your time in advance!

Link to comment
Share on other sites

Dear Jack_mcs i would be greatful if u could have a look on this again please. I thought i solved it, but the session ID disappeared only when i turned Force Cookie Use on True. But this causes problems. I searched through many pages in this thread, i know it has been mentioned many times, but i still can not find how to get rid of the session ID.

 

My website is www.e-experts.gr and my configure.php is as follows:

 

define('HTTP_SERVER', 'http://www.e-experts.gr/'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://www.e-experts.gr/'); // eg, https://localhost - should not be empty for productive servers

 

define('HTTP_COOKIE_DOMAIN', 'www.e-experts.gr');

define('HTTPS_COOKIE_DOMAIN', 'www.e-experts.gr');

define('HTTP_COOKIE_PATH', 'oscommerce/');

define('HTTPS_COOKIE_PATH', 'oscommerce/');

define('DIR_WS_HTTP_CATALOG', 'oscommerce/');

define('DIR_WS_HTTPS_CATALOG', 'oscommerce/');

 

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

The above should be changed to:

  define('HTTP_SERVER', 'http://www.e-experts.gr'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'http://www.e-experts.gr'); // eg, https://localhost - should not be empty for productive servers

 define('HTTP_COOKIE_DOMAIN', '.www.e-experts.gr');
 define('HTTPS_COOKIE_DOMAIN', '.www.e-experts.gr');
 define('HTTP_COOKIE_PATH', '/oscommerce/');
 define('HTTPS_COOKIE_PATH', '/oscommerce/');
 define('DIR_WS_HTTP_CATALOG', '/oscommerce/');
 define('DIR_WS_HTTPS_CATALOG', '/oscommerce/');

 define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) .'/');

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hello all,

 

First I would like to say I just love this contribution.

I managed to install it successfully. Not bad for someone who hasn't been working with PHP before :)

 

But I run into a small issue now on my webshop.

 

On the frontpage the new monthly products are listed.

When my visitors push the Buy Now button on them they receive a 404-page telling them the URL can't be found.

 

For example:

 

The requested URL /proliant-dl385-entry-p-165.html&action=buy_now was not found on this server.

 

When they visit the categories and click on the product there and then they choose the buy now button, it just works fine.

 

I have been looking through this forum. I see some other people who experience this issue. But I cannot find a clear solution on what to do to get this issue solved.

 

Perhaps someone here can explain me what I need to do to get this solved ?

 

Best regards.

Edited by nextware
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...