Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Recommended Posts

I am looking to install this, but have an important question beforehand.

 

I use product feeds from dropshippers alongside my own products. Every month we delete and then readd the prods from these guys meaning that the model number changes. I see that the model number is included in the URL. Is there anyway to get rid of this.

 

Example

 

This.....

 

www.mysite.com/rayban-wayfarers-black.html

 

and not something like this.......

 

www.mysite.com/rayban-wayfarers-black.575757.html

 

This way, I could delete and readd and the URL wouldn't change, thus having a detrimental effect on any SEO work. The change of the visible model within the URL is going to mean that our non permanent products will be hard as hell to optimise.

Link to comment
Share on other sites

I use product feeds from dropshippers alongside my own products. Every month we delete and then readd the prods from these guys meaning that the model number changes. I see that the model number is included in the URL. Is there anyway to get rid of this.

No, there isn't.

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

I have added the "Ultimate SEO URLs" to our website and have checked and rechecked the instalation and .htaccess file. Our catalog is in the root of our site and I have the "RewriteBase" set to "/" in the .htaccess file. I am still getting 404 errors. The site was working correctly prior to attempting to install the "Ultimate SEO URLs" so I believe the configure.php is setup correctly. Does anyone have any ideas or suggestion on how to solve the 404 errors. Thanks in advance for any assistanceyou can offer...

 

--- .htaccess file ---

 

# Begin Ultimate SEO V2.2d

Options +FollowSymLinks

RewriteEngine On

 

RewriteBase /

 

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}

# End Ultimate SEO V2.2d

Link to comment
Share on other sites

I have added the "Ultimate SEO URLs" to our website and have checked and rechecked the instalation and .htaccess file. Our catalog is in the root of our site and I have the "RewriteBase" set to "/" in the .htaccess file. I am still getting 404 errors. The site was working correctly prior to attempting to install the "Ultimate SEO URLs" so I believe the configure.php is setup correctly. Does anyone have any ideas or suggestion on how to solve the 404 errors. Thanks in advance for any assistanceyou can offer...

Please see the instructions for posting requirements.

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

Please see the instructions for posting requirements.

 

 

Sorry, forgot to include the url to the site... www.GoodrumInternational.com

 

--- .htaccess file ---

 

# Begin Ultimate SEO V2.2d

Options +FollowSymLinks

RewriteEngine On

 

RewriteBase /

 

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}

# End Ultimate SEO V2.2d

Link to comment
Share on other sites

Sorry, forgot to include the url to the site... www.GoodrumInternational .com

I don't see anything wrong with your .htaccess file. If that is not the full file though, something else in it can cause the problem. When I went to your site to look at the problem, I tried viewing the source and that caused my browser to lock up. So it may be a good idea if you check your files for hacker code. That code can cause problems like this. There are many theads in these forums about that so you just need to search for 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

I'm still struggling with whether to install this contribution due to the fear of being dinged by Google for duplicate content. Is this a legitimate concern? For brand new sites, this would be a no-brainer.

No. Though you should have a contribution instaled that handles duplicate pages.

Edited by Jack_mcs

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

Header Tags SEO has it built-in if you use it. Otherwise, there is one for just that purpose but I don't recall the name.

 

No, you can't tell if google is changing your listing due to duplicate content other than the position of the pages. That's all you should be concerned with anyway.

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

Great job done for this Add-on Jack!

 

But there is a problem with special characters conversation for categories.

 

I made a row for special symbols like:

 

ā=>a,š=>s,ī=>i,ķ=>k,ģ=>g,ū=>u,ņ=>n,ļ=>l,ē=>e,ž=>z,č=>c,Ķ=>k,Ņ=>n,Ā=>a,Ē=>e,Ū=>u,Ī=>i,Š=>s,Ģ=>g,Ļ=>l,Ž=>z,Č=>c,é=>e,А=>A,Б=>B,В=>V,Г=>G,Д=>D,Е=>E,Ё=>E,Ж=>ZH,З=>Z,И=>I,Й=>I,К=>K,Л=>L,М=>M,Н=>N,О=>O,П=>P,Р=>R,С=>S,Т=>T,У=>U,Ф=>F,Х=>KH,Ц=>TS,Ч=>CH,Ш=>SH,Щ=>SHCH,Ы=>Y,Э=>E,Ю=>YU,Я=>YA,а=>a,б=>b etc.

 

It works fine for products, but removes all non-alphanumeric characters (option in admin set to false) in category names:(

 

I tryed to find a solution and it seems this makes a function:

 

* Function to check if the url is valid

* @author Jack York

* @version 1.1

*/

function VerifyLink(&$pStop, $pStart) {

$r1 = $this->base_url.$this->uri_parsed['path'];

$p1 = strpos($_SERVER['REQUEST_URI'], $this->attributes['SEO_REDIRECT']['URI_PARSED']['path']);

$r2 = substr($_SERVER['REQUEST_URI'], 0, $p1);

if (strpos($r1, $r2) === FALSE) {

return true;

}

 

/*** begin check for characters at end of string before .html ***/

$endStr = substr($this->uri_parsed['path'], $pStart + 3, $pStop - $pStart - 3);

if (! preg_match("/^([0-9_]+)/", $endStr)) {

$parts = explode("_",$endStr);

for ($p = 0; $p < count($parts); ++$p) {

$parts[$p] = (int)$parts[$p];

}

$newStr = implode("_", $parts);

$this->uri_parsed['path'] = str_replace($endStr, $newStr, $this->uri_parsed['path']);

$pStop = strpos($this->uri_parsed['path'], ".html"); //recalculate the end

return true;

}

 

return false;

}

It seems that the urls are checked before conversion of special symbols.

 

Is there a solution?

 

My site:

 

http://www.pulkstenis.lv

 

Thanks in advance

Edgars

Link to comment
Share on other sites

Hi,

I'm using SEO URLs which is working quite well.

One question:

I want to set metaTag information for the main page index.php. At the moment the system takes it our of the product categories of the menu.

Is it possible to set this fixed for the main page ?

Thanks

M@rio

Link to comment
Share on other sites

But there is a problem with special characters conversation for categories.

I tested the special characters for categories here and it works correctly. Maybe you need to turn off the w3c option or maybe you need to clear 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

I want to set metaTag information for the main page index.php. At the moment the system takes it our of the product categories of the menu.

Is it possible to set this fixed for the main page ?

This contribution doesn't have anything to do with meta tags.

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

I tested the special characters for categories here and it works correctly. Maybe you need to turn off the w3c option or maybe you need to clear cache?

 

Thanks for replay!

 

Turned off w3c and cleared cache, but this dosn't work.

 

Conversion works on Ultimate Seo Urls 2.1d STABLE FINAL r172, but there is no such good function as to get the categories together with product name in URLS:)

 

It seems that not only I have this problem, but there is some other posts:

http://www.oscommerce.com/forums/topic/342460-char-categories/page__p__1428120

 

BR Edgars

Link to comment
Share on other sites

Hi Jack,

 

I installed your contrib version "Ultimate_SEO_URLSv22d_10". Install was successful, but every time I click on categories, or product it redirect me to index.php. When I move my cursor over link, the link is rewrited, but when I click every time my title page is displayed. Can you please help me with this?

 

Hope you understand me cause my english is not so good. :)

 

Martin

Link to comment
Share on other sites

Hello,

 

I get a error when turning on the Performance/Debug info (?profile=on):

Warning: Division by zero in .../includes/classes/seo.class.php on line 1808 

 

Does anyone have a idea, it seems to me that because all options below are 0, the SEO doesnt work here?!

 

The output of the Performance file is:

 

Warning: Division by zero in …/includes/classes/seo.class.php on line 1808
Performance Data

Array
(
   [NUMBER_URLS_GENERATED] => 0
   [NUMBER_QUERIES] => 0
   [CACHE_QUERY_SAVINGS] => 0
   [NUMBER_STANDARD_URLS_GENERATED] => 0
   [TOTAL_CACHED_PER_PAGE_RECORDS] => 0
   [TOTAL_TIME] => 0
   [TIME_PER_URL] => 
   [QUERIES] => Array
       (
       )

)


Class Attributes

Array
(
   [php_VERSION] => 5.2.13
   [sESSION_STARTED] => 1
   [sID] => 
   [sEO_ENABLED] => true
   [sEO_ADD_CID_TO_PRODUCT_URLS] => false
   [sEO_ADD_CPATH_TO_PRODUCT_URLS] => false
   [sEO_ADD_CAT_PARENT] => false
   [sEO_URLS_USE_W3C_VALID] => true
   [uSE_SEO_CACHE_GLOBAL] => true
   [uSE_SEO_CACHE_PRODUCTS] => true
   [uSE_SEO_CACHE_CATEGORIES] => true
   [uSE_SEO_CACHE_MANUFACTURERS] => true
   [uSE_SEO_CACHE_ARTICLES] => false
   [uSE_SEO_CACHE_ARTICLES_AUTHORS] => false
   [uSE_SEO_CACHE_TOPICS] => false
   [uSE_SEO_CACHE_FAQDESK_CATEGORIES] => false
   [uSE_SEO_CACHE_INFO_PAGES] => false
   [uSE_SEO_CACHE_LINKS] => false
   [uSE_SEO_CACHE_NEWSDESK_ARTICLES] => false
   [uSE_SEO_CACHE_NEWSDESK_CATEGORIES] => false
   [uSE_SEO_CACHE_POLLBOOTH] => false
   [uSE_SEO_CACHE_PAGE_EDITOR] => false
   [uSE_SEO_REDIRECT] => true
   [uSE_SEO_HEADER_TAGS] => false
   [uSE_SEO_PERFORMANCE_CHECK] => false
   [sEO_REWRITE_TYPE] => Rewrite
   [sEO_URLS_FILTER_SHORT_WORDS] => 3
   [sEO_CHAR_CONVERT_SET] => false
   [sEO_REMOVE_ALL_SPEC_CHARS] => false
   [sEO_PAGES] => Array
       (
           [0] => index.php
           [1] => product_info.php
           [2] => popup_image.php
           [3] => product_reviews.php
           [4] => product_reviews_info.php
       )

   [sEO_INSTALLER] => Array
       (
           [iS_DEFINED] => 
           [iS_INSTALLED] => 1
       )

   [sEO_REDIRECT] => Array
       (
           [PATH_INFO] => 
           [uRI] => bosch-siemens-manchet-regendruppel-groot-p-527.html?profile=on
           [REAL_URI] => product_info.php?products_id=527&profile=on
           [uRI_PARSED] => Array
               (
                   [path] => bosch-siemens-manchet-regendruppel-groot-p-527.html
                   [query] => profile=on
               )

           [NEED_REDIRECT] => false
           [iS_SEOPAGE] => false
       )

)


Cached Data

Array
(
   [PRODUCTS] => Array
       (
           [527] => bosch-siemens-manchet-regendruppel-groot
           [990] => bosch-siemens-manchet-gaten-361127-origineel
           [529] => bosch-siemens-manchet-354135-alternatief
           [1734] => bosch-siemens-manchet-gaten-361127-alternatief
           [989] => bosch-siemens-manchet-uitholling-tuit
       )

   [CATEGORIES] => Array
       (
           [105] => wasmachine
           [105_134] => deurrubber-manchet
           [105_134_163] => bosch-siemens-constructa
           [198] => afstandsbediening
           [242] => batterijen
           [86] => computer
           [87] => droger
           [259] => electronica
           [231] => koelkast
           [265] => koken
           [353] => overige
           [303] => stofzuiger
           [278] => telefoon
           [197] => televisie
           [260] => vaatwasser
           [348] => verzorging
           [105_124] => aansluitmateriaal
           [105_127] => accessoires
           [105_130] => apparatenvoet
           [105_256] => condensator
           [105_137] => deurgreep-scharnier-haak
           [105_134_162] => electrolux-zanussi
           [105_134_167] => candy-overig
           [105_134_164] => indesit-ariston-merloni
           [105_134_166] => miele
           [105_134_165] => whirlpool-bauknecht-philips
           [105_131] => knop
           [105_132] => koolborstels
           [105_133] => lager-simmering
           [105_135] => module-timer
           [105_136] => motor
           [105_138] => pomp
           [105_139] => pompfilter
           [105_140] => schakelaar
           [105_142] => schokdemper-drijfas-trommel
           [105_266] => slang-rubber
           [105_143] => snaar-riem
           [105_144] => thermostaat
           [105_145] => ventiel
           [105_146] => verwarming
           [105_244] => zeepbak
       )

   [sTANDARD_URLS] => Array
       (
           [0] => http://www.xxx.nl/logoff.php
           [1] => http://www.xxx.nl/account.php
           [2] => http://www.xxx.nl/shopping_cart.php
           [3] => http://www.xxx.nl/checkout_shipping.php
           [4] => http://www.xxx.nl/advanced_search_result.php
           [5] => http://www.xxx.nl/advanced_search.php
           [6] => http://www.xxx.nl/contact_us.php
           [7] => http://www.xxx.nl/eshoptips.php
           [8] => http://www.xxx.nl/eshoptypenummer.php
           [9] => http://www.xxx.nl/eshopuitleg.php
           [10] => http://www.xxx.nl/shipping.php
           [11] => http://www.xxx.nl/images/307884.JPG
           [12] => http://www.xxx.nl/images/307884.JPG
           [13] => http://www.xxx.nl/shopping_cart.php
           [14] => http://www.xxx.nl/tell_a_friend.php
           [15] => http://www.xxx.nl/conditions.php
           [16] => http://www.xxx.nl/bedrijfsinfo.php
           [17] => http://www.xxx.nl/disclaimer.php
           [18] => http://www.xxx.nl/garantie.php
           [19] => http://www.xxx.nl/contact_us.php
           [20] => http://www.xxx.nl/privacy.php
       )

   [MANUFACTURERS] => Array
       (
           [82] => bosch-siemens-alternatief
       )

)



Warning: Division by zero in …/includes/classes/seo.class.php on line 1808
Performance Data

Array
(
   [NUMBER_URLS_GENERATED] => 0
   [NUMBER_QUERIES] => 0
   [CACHE_QUERY_SAVINGS] => 0
   [NUMBER_STANDARD_URLS_GENERATED] => 0
   [TOTAL_CACHED_PER_PAGE_RECORDS] => 0
   [TOTAL_TIME] => 0
   [TIME_PER_URL] => 
   [QUERIES] => Array
       (
       )

)


Class Attributes

Array
(
   [php_VERSION] => 5.2.13
   [sESSION_STARTED] => 1
   [sID] => 
   [sEO_ENABLED] => true
   [sEO_ADD_CID_TO_PRODUCT_URLS] => false
   [sEO_ADD_CPATH_TO_PRODUCT_URLS] => false
   [sEO_ADD_CAT_PARENT] => false
   [sEO_URLS_USE_W3C_VALID] => true
   [uSE_SEO_CACHE_GLOBAL] => true
   [uSE_SEO_CACHE_PRODUCTS] => true
   [uSE_SEO_CACHE_CATEGORIES] => true
   [uSE_SEO_CACHE_MANUFACTURERS] => true
   [uSE_SEO_CACHE_ARTICLES] => false
   [uSE_SEO_CACHE_ARTICLES_AUTHORS] => false
   [uSE_SEO_CACHE_TOPICS] => false
   [uSE_SEO_CACHE_FAQDESK_CATEGORIES] => false
   [uSE_SEO_CACHE_INFO_PAGES] => false
   [uSE_SEO_CACHE_LINKS] => false
   [uSE_SEO_CACHE_NEWSDESK_ARTICLES] => false
   [uSE_SEO_CACHE_NEWSDESK_CATEGORIES] => false
   [uSE_SEO_CACHE_POLLBOOTH] => false
   [uSE_SEO_CACHE_PAGE_EDITOR] => false
   [uSE_SEO_REDIRECT] => true
   [uSE_SEO_HEADER_TAGS] => false
   [uSE_SEO_PERFORMANCE_CHECK] => false
   [sEO_REWRITE_TYPE] => Rewrite
   [sEO_URLS_FILTER_SHORT_WORDS] => 3
   [sEO_CHAR_CONVERT_SET] => false
   [sEO_REMOVE_ALL_SPEC_CHARS] => false
   [sEO_PAGES] => Array
       (
           [0] => index.php
           [1] => product_info.php
           [2] => popup_image.php
           [3] => product_reviews.php
           [4] => product_reviews_info.php
       )

   [sEO_INSTALLER] => Array
       (
           [iS_DEFINED] => 
           [iS_INSTALLED] => 1
       )

   [sEO_REDIRECT] => Array
       (
           [PATH_INFO] => 
           [uRI] => bosch-siemens-manchet-regendruppel-groot-p-527.html?profile=on
           [REAL_URI] => product_info.php?products_id=527&profile=on
           [uRI_PARSED] => Array
               (
                   [path] => bosch-siemens-manchet-regendruppel-groot-p-527.html
                   [query] => profile=on
               )

           [NEED_REDIRECT] => false
           [iS_SEOPAGE] => false
       )

)


Cached Data

Array
(
   [PRODUCTS] => Array
       (
           [527] => bosch-siemens-manchet-regendruppel-groot
           [990] => bosch-siemens-manchet-gaten-361127-origineel
           [529] => bosch-siemens-manchet-354135-alternatief
           [1734] => bosch-siemens-manchet-gaten-361127-alternatief
           [989] => bosch-siemens-manchet-uitholling-tuit
       )

   [CATEGORIES] => Array
       (
           [105] => wasmachine
           [105_134] => deurrubber-manchet
           [105_134_163] => bosch-siemens-constructa
           [198] => afstandsbediening
           [242] => batterijen
           [86] => computer
           [87] => droger
           [259] => electronica
           [231] => koelkast
           [265] => koken
           [353] => overige
           [303] => stofzuiger
           [278] => telefoon
           [197] => televisie
           [260] => vaatwasser
           [348] => verzorging
           [105_124] => aansluitmateriaal
           [105_127] => accessoires
           [105_130] => apparatenvoet
           [105_256] => condensator
           [105_137] => deurgreep-scharnier-haak
           [105_134_162] => electrolux-zanussi
           [105_134_167] => candy-overig
           [105_134_164] => indesit-ariston-merloni
           [105_134_166] => miele
           [105_134_165] => whirlpool-bauknecht-philips
           [105_131] => knop
           [105_132] => koolborstels
           [105_133] => lager-simmering
           [105_135] => module-timer
           [105_136] => motor
           [105_138] => pomp
           [105_139] => pompfilter
           [105_140] => schakelaar
           [105_142] => schokdemper-drijfas-trommel
           [105_266] => slang-rubber
           [105_143] => snaar-riem
           [105_144] => thermostaat
           [105_145] => ventiel
           [105_146] => verwarming
           [105_244] => zeepbak
       )

   [sTANDARD_URLS] => Array
       (
           [0] => http://www.xxx.nl/logoff.php
           [1] => http://www.xxx.nl/account.php
           [2] => http://www.xxx.nl/shopping_cart.php
           [3] => http://www.xxx.nl/checkout_shipping.php
           [4] => http://www.xxx.nl/advanced_search_result.php
           [5] => http://www.xxx.nl/advanced_search.php
           [6] => http://www.xxx.nl/contact_us.php
           [7] => http://www.xxx.nl/eshoptips.php
           [8] => http://www.xxx.nl/eshoptypenummer.php
           [9] => http://www.xxx.nl/eshopuitleg.php
           [10] => http://www.xxx.nl/shipping.php
           [11] => http://www.xxx.nl/images/307884.JPG
           [12] => http://www.xxx.nl/images/307884.JPG
           [13] => http://www.xxx.nl/shopping_cart.php
           [14] => http://www.xxx.nl/tell_a_friend.php
           [15] => http://www.xxx.nl/conditions.php
           [16] => http://www.xxx.nl/bedrijfsinfo.php
           [17] => http://www.xxx.nl/disclaimer.php
           [18] => http://www.xxx.nl/garantie.php
           [19] => http://www.xxx.nl/contact_us.php
           [20] => http://www.xxx.nl/privacy.php
       )

   [MANUFACTURERS] => Array
       (
           [82] => bosch-siemens-alternatief
       )

)

Link to comment
Share on other sites

I installed your contrib version "Ultimate_SEO_URLSv22d_10". Install was successful, but every time I click on categories, or product it redirect me to index.php. When I move my cursor over link, the link is rewrited, but when I click every time my title page is displayed. Can you please help me with this?

See the recent posts regarding this.

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

I get a error when turning on the Performance/Debug info (?profile=on):

I don't know that I've ever tested that option. It was in the original code. The error is occurring because NUMBER_URLS_GENERATED = 0. I don't know why that is the case though. I'll look into it for the next release if I have time.

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,

 

I have a simple question. I am trying to make the URL's display as catalog/hardware/dvd/productname, instead of the usual catalog-hardware-dvd-productname .

 

I tried to use the option from the admin panned Enter special character conversions. If I change - to absolutely anything but /, it works.

 

Do you have any idea why this is ?

 

Regards,

 

Lucian

Link to comment
Share on other sites

I have a simple question. I am trying to make the URL's display as catalog/hardware/dvd/productname, instead of the usual catalog-hardware-dvd-productname .

 

I tried to use the option from the admin panned Enter special character conversions. If I change - to absolutely anything but /, it works.

 

Do you have any idea why this is ?

You can't do with the way the code is written. And as mentioned previously regarding this, to do so would lessen the SEO effect and is not recommended.

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

Yes I know.

 

The problem is that I am basically upgrading the site from an older custom made shopping cart to Oscommerce and it used to have that structure for the URL.

 

Basically I tried for example to modify this function :

 

function get_all_category_names($cID, $cName){

$parArray = array(); //get all of the parrents

$this->GetParentCategories($parArray, $cID);

 

foreach ($parArray as $parentID) {

$sql = "SELECT LOWER(categories_name) as parentName

FROM ".TABLE_CATEGORIES_DESCRIPTION." cd

WHERE categories_id = '".(int)$parentID."' AND cd.language_id = '".(int)$this->languages_id."'

LIMIT 1";

$result = $this->DB->FetchArray( $this->DB->Query( $sql ) );

$cName = $result['parentName'] . '/' . $cName; //build the new string

}

return $this->strip(str_replace(" ", "/", $cName));

}

 

 

However even though I removed the - that used to be here and have put / instead, it still doesn't display the /.

 

I also removed the - from some other functions across the file. However still the same thing.

 

I'm not really sure but is there some kind of security check that basically stops that character ?

 

Thank you,

 

Lucian

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...