Jump to content

Christopher Short

Member
  • Posts

    432
  • Joined

  • Last visited

Posts posted by Christopher Short

  1. On 3/9/2017 at 1:02 AM, bsmither said:

    So, you are wanting CubeCart to send an order to Processing when it would otherwise go to Pending?

    When an order goes to Pending, up to two things happen depending on settings: the admin is notified, and the stock level is adjusted.

    So, in /classes/order.class.php

    
    Near line 399, find:
    
    				case self::ORDER_PENDING;
    
    On a new blank line after that, add:
    
    $this->orderStatus(2, $order_id);

     

    I'm not sure this is working. I get double emails, my customers are getting doubles as well. I need to have the order status go to pending when they checkout, and process on payment notification, which will be a payment is pending( The payment is pending; see the pending_reason variable for more information. Please note, you will receive another Instant Payment Notification when the status of the payment changes to 'Completed', 'Failed', or 'Denied'. This Transaction ID has been processed before. Recipient account didn't match specified PayPal account. ). This message should trigger pending to processing for me. I can;t see to find where I made the change on the last version before the upgrade. This setup allows me to have inventory reduced as a payment has been authorized and the money is guaranteed at this point from paypal( would be a nice feature to add to cubecart by the way)

  2. 2 minutes ago, bsmither said:

    Scanning through the XML file posted earlier, I see several URLs that are in the /store/ subdirectory, and the /quickbooks-pos-imported-inventory/ subdirectory. These obviously are vestigial remnants of an earlier crawl.

    One other URL has me puzzled, however: /r45-htlo.html

    This was last seen 3/22 and then not seen 3/22.

    https://www.csrocketry.com/research-supplies/chemicals/r45-htlo.html

    its still there.

     

    The quickbooks sub directory should be a private directory, thats my preload area for new products. That category isn't active. Any way to block it?

  3. 2 minutes ago, bsmither said:

    Are we assuming this report is the direct result of having Google crawl (verify) your site from the sitemap most recently given to it?

    Or can we guess that this report is NOT from a direct result of having Google verify from the most recent sitemap, but rather an aggregation of 're-verification' checks to make sure what was found earlier is still there?

    If the latter, then it would seem to me that the appropriate response would be to tell Google to delete everything it has ever crawled from that site and then to make a fresh crawl, indexing only what is in the sitemap located at the store.

     

     

    I'm assuming they print this as a direct result from the crawl. I'll look into a fresh crawl then.

  4. 4 minutes ago, bsmither said:

    The sitemap to which you posted a link a few posts back?

    That site map has only one instance of "xxlarge-skyangle-deployment-bag.html" (line 5784).

     

    right, but that isn't the proper link for that product. I have 75 other instances of the same thing, where the new site map has bad links in it. This is just one case of it. I need to see how to get this to stop happening.

  5. 12 minutes ago, bsmither said:

    If you cleared all SEO links from admin, Maintenance, then this issue in the Github may explain what is happening.

    On the other hand, a search for skyangle includes this product:
    www.csrocketry.com/recovery-supplies/skyangle/deployment-bag/xxlarge-skyangle-deployment-bag.html

    Note that the category's seo_path has been prepended to the product's seo_path.

     

    I know the path on the site is correct, but the site map seems to pull invalid paths. Some of those changes are months old, such as this one. I changed the path a long time ago. How bad will these 404 errors hurt my seo rankings?

  6. Here is something new for this:

    URL:
    https://www.csrocketry.com/xxlarge-skyangle-deployment-bag.html
    Error details
    In sitemaps
    Linked from
     
     

     

    This is a 404 error from google console. I generated this map after I did the SEO refresh from admin.

    How do I remove the sales items category from the site map, it is not active on my site as a category, as I run permanent price discounts on some items.

  7. 12 hours ago, bsmither said:

    When you created the sitemap, did you log in to admin under SSL? (Even if the store is set to use SSL, one can still log in to admin not using SSL.)

    If you did not log in under SSL, then that may be the reason why the sitemap was created using non-SSL links.

    Yeah, this seems to be the issue. I added https to my admin, made a new site map and they all show https now, and appear to be linking properly. Thanks a bunch!

  8. 6 minutes ago, Dirty Butter said:

    YOU are not causing problems, lol, but something sure is!

    Hopefully this will be a straightforward fix. I am trying to improve my seo rankings and generate more business. My last google report had almost 700 404 errors, which were all product name changes. Then the link warning occurred and now I'm stuck. Of course you and Bsmither are great at helping me and I truly appreciate it!

  9. 9 minutes ago, Dirty Butter said:

    Note there's a section Bsmither provided that is supposed to keep Google from seeing those v4 url's. It has helped, but I sometimes still get warnings about the v4 url formed pages. I've guessed that it's a hosting blip that lets those old formed url's show momentarily.

     

    I added this, not sure how this file works though :)

    5 minutes ago, bsmither said:

    " It still leaves the /index.php?seo_path= part in the link. Should it remove that? "

    CubeCart should be removing that. We will have to find out where it doesn't when it is supposed to.

     

    What can I do to help?

    10 minutes ago, bsmither said:

    " I think once the seo link has been deleted, it takes the page being clicked on to refresh it. "

    There is an issue with having the Maintenance kill SEO links. See: https://github.com/cubecart/v6/issues/1490

     

    Hmm, I started the thread that you guys used for that. I guess Im causing problems... ;)

  10. 1 minute ago, Dirty Butter said:

    Do you have this?

     

    Here is the new file:

    ##### START CubeCart .htaccess #####

    ### File Security ###
    <FilesMatch "\.(htaccess)$">
      Order Allow,Deny
      Deny from all
    </FilesMatch>

    ### Apache directory listing rules ###
    DirectoryIndex index.php index.htm index.html
    IndexIgnore *

    ### Rewrite rules for SEO functionality ###
    <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /
     
      ##### START v4 SEO URL BACKWARD COMPATIBILITY #####
      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L]
      ##### END v4 SEO URL BACKWARD COMPATIBILITY #####

      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !=/favicon.ico
      RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
    </IfModule>

    ### Default store 404 page ###
    ErrorDocument 404 /index.php

    ## Override default 404 error document for missing page resources ##
    <FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$">
      ErrorDocument 404 "<html></html>
    </FilesMatch>
    ##### END CubeCart .htaccess #####

  11. 3 minutes ago, Dirty Butter said:

    That sounds like your htaccess file does not have the Redirects working properly. Rename your existing .htaccess file. CC will create a new one with the appropriate standard values.

    I did this just now. It still leaves the /index.php?seo_path= part in the link. Should it remove that?

  12. Now google gave me this warning: When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.

    this is a link from the site map:

    http://www.csrocketry.com/rocket-motors/cesaroni.html

    this is where that link takes you when you click in the site map:

    https://www.csrocketry.com/index.php?seo_path=rocket-motors/cesaroni

    This is the actual link:

    https://www.csrocketry.com/rocket-motors/cesaroni.html

     

  13. 1 minute ago, bsmither said:

    " but after 5 or so refreshes, the page pulls up "

    I was going to say this sounds like an external caching issue (not your browser and not CubeCart, but something your hosting provider is running your site through).

    But that doesn't make sense. A new seo path wouldn't be in the external cache.and no external cache would block a request for a page it doesn't have.

    If it is CubeCart that is returning a 404 (a "404 message" within a regular Cubecart page), then either:
    The URL is not getting rewritten in the .htaccess file, or
    The seo path cannot be found in the CubeCart_seo_urls database table.

    Check the table for the exact, correct spelling of the seo path being used.

    The spelling is all exact and correct. I think once the seo link has been deleted, it takes the page being clicked on to refresh it... they are almost all fixed now that I sent a program to crawl all links.

  14. I have done some product renaming, and reset the seo links. I then generated a new site map using the maintenance section...links in the new site map generate 404 errors when you click them, and google is showing 700 errors on my site from my last crawl. Any ideas on how to fix this?

    Also, if you browse through the site, the errors will show, but after 5 or so refreshes, the page pulls up. Then the link from the site map will refresh and pull the site with no 404 error.

    I also see sitemap links to inactive category and items that have the status off. How do I get those deleted?

  15. 2 minutes ago, bsmither said:

    I am not seeing any difficulty.

     

    You just missed it.....I found the issue. When I did the edit, the csv file had added 14000 commas at the end of the description file. I'm using g7cart data pump which has really made this update of the product descriptions and seo info fast.

×
×
  • Create New...