Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

smic717394

Pioneers
  • Posts

    61
  • Joined

  • Last visited

Posts posted by smic717394

  1. No, sitemaps should be correct. Submit new XML sitemaps with the correct urls.

     

    Make sure though that the old urls do 301 redirect to the new.

     

    Thank you. Your contribution redirects properly are creates the 301,

    I checked on http://web-sniffer.net/ the old address address

    http://www.cexy.co.uk/love-zone/romantic-massage-p-3330.html

    and

    the status is:

    Status: HTTP/1.0 301 Moved Permanently

    Location:

    http://www.cexy.co.uk/romantic-massage-p-3330.html

    so should be ok then. Thank you for your help.

  2. Then you have an unsupported modification to the original series 2.

     

    Well, had, because i now use your contribution, but is it any way I can make the links like before, or what is the best I should do submit the old sitemaps with the old url and when google crawl them will be 301 redirected to the correct links and hopefully I will keep the index links, or what should I do, if I submit a new sitemap with the new links Google might think are duplicates and penalise me for duplicate content.

  3. And as I said before the old seo urls never created a link like ..

     

    http://[www.cexy.co.uk]/love-zone/romantic-massage-p-3330.html

     

    Adding a category name would have been like ..

     

    http://[www.cexy.co.uk]/love-zone-romantic-massage-p-3330.html

     

    I think this is the function responsable from seo.class.php

     

    function get_product_name($pID){
              $result = array();
              if ($this->attributes['SEO_ADD_CAT_PARENT'] == 'true') {
                 $sql = "SELECT LOWER(cd.categories_name) AS cName
                           FROM ".TABLE_CATEGORIES_DESCRIPTION." cd LEFT JOIN 
                                ".TABLE_PRODUCTS_TO_CATEGORIES." p2c on cd.categories_id = p2c.categories_id 
                           WHERE p2c.products_id = '".(int)$pID."' AND cd.language_id = '".(int)$this->languages_id."'
                           LIMIT 1";
                 $result = $this->DB->FetchArray( $this->DB->Query( $sql ) );
                 $cName = str_replace(" ", "-", $result['cName']);
              }
                   switch(true){
                           case ($this->attributes['USE_SEO_CACHE_GLOBAL'] == 'true' && defined('PRODUCT_NAME_' . $pID)):
                                   $this->performance['CACHE_QUERY_SAVINGS']++;
                                   $return = (tep_not_null($cName) ? $cName . '/'. constant('PRODUCT_NAME_' . $pID) : constant('PRODUCT_NAME_' . $pID));
                                   $this->cache['PRODUCTS'][$pID] = $return;
                                   break;
                           case ($this->attributes['USE_SEO_CACHE_GLOBAL'] == 'true' && isset($this->cache['PRODUCTS'][$pID])):
                                   $this->performance['CACHE_QUERY_SAVINGS']++;
                                   $return = (tep_not_null($cName) ? $cName . '/'. $this->cache['PRODUCTS'][$pID] : $this->cache['PRODUCTS'][$pID]);
                                   break;
                           default:
                                   $this->performance['NUMBER_QUERIES']++;
                                   $sql = "SELECT products_name as pName 
                                             FROM ".TABLE_PRODUCTS_DESCRIPTION." 
                                             WHERE products_id='".(int)$pID."' 
                                             AND language_id='".(int)$this->languages_id."' 
                                             LIMIT 1";
                                   $result = $this->DB->FetchArray( $this->DB->Query( $sql ) );
                                   $pName = $this->strip( $result['pName'] );
                                   $this->cache['PRODUCTS'][$pID] = $pName;
                                   $this->performance['QUERIES']['PRODUCTS'][] = $sql;
                                   $return = (tep_not_null($cName) ? $cName . '/'.  $pName : $pName);
                                   break;                                                                
                   } # end switch                
                   return $return;
           } # end function

     

    isnt this the part of the code who adds the /?

     

    $return = (tep_not_null($cName) ? $cName . '/'. constant('PRODUCT_NAME_' . $pID) : constant('PRODUCT_NAME_' . $pID));

  4. You moved your site from the directory [love-zone] to root so the urls will be different.

     

    Re: sitemaps there are corrective files in the download for Google XML Sitemap SEO.

     

    love-zone is the category name I thought I said before, the page was on the root and is now on the root.

     

    For example, this product is in a subcategory called Sexy Fashion so the URL was:

    http://www.cexy.co.uk/sexy-fashion/mini-dress-gstring-p-3839.html

    Now the URL is:

    http://www.cexy.co.uk/mini-dress-gstring-p-3839.html

     

    This product is in a category called Love Zone so the URL was:

    http://www.cexy.co.uk/love-zone/romantic-massage-p-3330.html

    Now the URL is:

    http://www.cexy.co.uk/romantic-massage-p-3330.html

     

    This product is in a subcategory called Daring so the URL was:

    http://www.cexy.co.uk/daring/nurse-p-1804.html

    And now is:

    http://www.cexy.co.uk/nurse-p-1804.html

     

    And so on, bellow is a print screen of the old SEO configuration, Check out option 3 "Add category parent to begining of URLs?"

     

    settingsd.th.jpg

     

    Now I dont mind having them like they are now, because either of the links the old and the new works, the old style are 301 redirected to the new one, but for whatever reason google is not picking them in the new format.

  5. I need Help please this is very important. all my old links are getting kicked from Google index and the new sitemap has 0 index pages. I try to submit the old sitemap with the old links, but Google show warnings that all the links in the database are 301 redirected to another address and I should only include in the sitemap the final destination.

     

    I need help please before all my index pages are removed from index. Basically on the product page I want to add the category in between the domain and product name.

     

    For example, this is how one of the link was before:

    http://www.cexy.co.uk/love-zone/romantic-massage-p-3330.html

     

    And this is how is now:

    http://www.cexy.co.uk/romantic-massage-p-3330.html

     

    Please Help.

  6. Firstly: - Chemos old seo urls contribution never offered the type of url you have stated ..

     

    www.domain.com/category/product.html

     

    However if your shop used to be in a directory and has been moved to root it may have looked like ..

     

    www.domain.com/[some directory]/product-p-x.html

     

    USU5 301 redirects work perfectly so USU5 is not your problem, perhaps search the forums for help on moving your shop from a directory to root.

     

     

    The page was on the root and now is on the root too. This is an example.

     

    The old URL:

     http://www.cexy.co.uk/love-zone/romantic-massage-p-3330.html

    New URL:

     http://www.cexy.co.uk/romantic-massage-p-3330.html

  7. I need some help please, we are desperate because we are losing indexed pages and our traffic is to the ground.

     

    In January we moved to a php5 server and i installed this wonderful contribution, the problem is that before we have Chemos contribution and our link use to be www.domain.com/categoiry/product.html and now we have www.domain.com/product.html is there anyway of adding the category to the products url so we can keep the links as they were originally.

     

    We used to have 1800 pages indexed and now we dropped to 452.

     

    Please Help.

  8. There aren't any problems to fix. It is because you are scanning to many files and/or your host has the timeout on the server set too low. You will need to exclude some of the files.

     

    Usually works fine, but as soon as there is a new file or one modified then is when it just hangs. I got this from the log if it helps...

     

    PHP Fatal error: Maximum execution time of 600 seconds exceeded in /httpdocs/admin/includes/functions/sitemonitor_functions.php on line 405, referer:

  9. I have installed v1.9 sometimes it works but most times just times out, it runs for like a minute than i just get a blank page, and the hacking code scanner never worked, as soon as I runn it i get a blank page, is there any way of fixing this times out problems?

  10. I installed this excellent contribution on a CRE 6.4B2B and its working great, i skipped the modification of the "catalog/includes/modules/product_listing.php" because the code in cre is a bit different, is there going to be a problem? Also how can i add new rules, for example in version 6.4 they took out the information.php and newsdesk_info.php and have a new system, pages.php, the links are pages.php?pID=1 or pages.php?CDpath=1

     

    .htaccess can i use the one from the old version 2.1? I could not find one with the package. And last how do the custom 404 pages work, if i type in something wrong i just get the normal page cannot be displayed

     

    Thank you again...

  11. Hi, I have installed the iosc_1_2_3 and it was working great, but i recently moved server to a PHP5 server and I reinstalled the contribution but is no longer working, I get a blank page. I made a .htaccess with php_flag display_errors On so I can see the errors, and they are:

     

    Notice: Constant DIR_WS_HTTP_CATALOG already defined in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/configure.php on line 21

     

    Notice: Constant DIR_WS_HTTPS_CATALOG already defined in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/configure.php on line 22

     

    Notice: Constant DIR_WS_IMAGES already defined in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/configure.php on line 23

     

    Notice: Constant DIR_WS_INCLUDES already defined in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/configure.php on line 26

     

    Notice: Constant DIR_WS_TEMPLATES already defined in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/configure.php on line 34

     

    Notice: Constant DIR_WS_CONTENT already defined in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/configure.php on line 35

     

    Warning: require() [function.require]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.co.uk/httpdocs/../includes/database_tables.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.co.uk/httpdocs:/tmp) in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/application_top.php on line 52

     

    Warning: require(/var/www/vhosts/mydomain.co.uk/httpdocs/../includes/database_tables.php) [function.require]: failed to open stream: Operation not permitted in /var/www/vhosts/mydomain.co.uk/httpdocs/includes/application_top.php on line 52

     

    Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/lond-moda.co.uk/httpdocs/../includes/database_tables.php' (include_path='.:') in /var/www/vhosts/lond-moda.co.uk/httpdocs/includes/application_top.php on line 52

     

     

    I tried the fix with the domxml-php4-to-php5.php but no luck... Please help..I really like this contribution

  12. When you signed up with NETBANX you will have told them what the address of your website was and they will have set your integration to only allow transactions that come from that address. If the customer comes from a different webpage address that is the error that they will see. (It's a security feature called a "referrer check" or "referral check")

     

    Check that the address/URL of the page just before the error, write it down and make sure it's the same as what is written in your specification.

     

    If possible just change the address of your page so that it matches the specification, but if it's not possible or it already matches you need to phone NETBANX and have them help you get your "referrer URL's" changed.

     

    I hope that helps anyway.

     

    Cheers, Dave.

     

     

    I have a little problem with the mod, it works fine on the page, but I'm working on a new design, I installed the module and if the merchant directory is set to demo, then its working fine we can test it it passes the transactions but if we change the directory to my directory then I get this error “(728) Script was called wrongly”

     

    The test page is on another domain, but i thought the error for that was 710

  13. PLEASE HELP - NETBANX

     

    have implements and been thru the test with netbanx - which theyre VERY helpful with, however the test I did wa swith the default settings in the Netbanx setup, which for currency is 'transactions in 'selected currency' - if u change that to GBP or USD etc and try the test it fires a ZERO value transactoin thru to them - they rang me up to tell me - oscommerce seems to see if as a value ok, but isnt passing the converted value thru - it works ok if u leave it as selected currency though????

     

    as such up to now were a multicurrency site but we'll have to disapbel that and just have it as GBP (as also u need different merchant id's for multi currency?

     

    any help most appreciated = www.silkyandspice.com

     

    Mark

     

    Did you fix this Mark?

     

    I get the same problem. Please Help.

  14. Hi,

     

    My exclusion list includeds "admin/backups"

     

    but i just created a backup and on the email i get "Found a new file named admin/backups/db_20090731214640.sql.gz", what is wrong?

     

    Yes is listed in the reference file but is on the exclude list. And now its very slow, if there are no changed file is very fast if i change one file, and i run the script, it just opens a blank page.

  15. Then something is preventing SiteMonitor from functioning correctly. Did you test it when it was first installed by making some change to a moniotred file? Did it ever work? If a hacker has been able to get into your admin, then there is a serius security issue that needs to be taken care of since they should not be able to do that, assuming your admin is secured.

     

    Jack

     

    Is very unlikely a hacker gain access to the admin control panel, the admin folder is password protected and then is the usual admin password protection. Site monitor works, the night I noticed the error, and first file I found was general.php so I restore it from a backup, then I run the site monitor and it did detect the general.php was different (my copy), then I found out that most of the file were corrupt so i just restore all the file.

     

    Again excellent contribution Jack, I didn’t want to sound like your contribution was not working. Anyway I went back to version 1.5 because the 1.7 keep sending 2 emails. Is 1.7 better on detecting the changed files, should I just install 1.7 and live with the fact that I'm receiving 2 emails? I check every post for a solution and it is mentioned few times but the solutions are not helping me, I think is to do with the quarantine folder keep showing in the excluding list but the option is not selected.

×
×
  • Create New...