Jump to content
Latest News: (loading..)

mk_osc

Members
  • Content count

    45
  • Joined

  • Last visited

Profile Information

  • Real Name
    Markus
  • Gender
    Male
  1. Header Status Handler

    On my upgraded BS 2.3.4.1 version I've lot's of errors on my google search console for URL's like this: domain.com/product_info.php/products_id/82 I tried manually this URL and which is then redirecting to domain.com/product_info.php/products_id/server_error.php?id=404 and keeps refreshing this URL in an infinite loop. Any ideas what might be wrong? And also, should this not rewrite the URL to SEO friendly URL anyway, since product id 82 is a valid product with SEO URLs installed?
  2. Header Tags SEO

    thanks, that worked. I just noticed that social bookmark newsvine.com is no longer working and found this article: https://www.dailykos.com/stories/2017/7/27/1684462/-Newsvine-com-shutting-down-October-1-2017 So I think it should be safe to remove it from future versions.
  3. Header Tags SEO

    did not fix the issue. so I researched further. According to Facebook's documentation og:price and og:currency is not valid It should have the prefix "product" instead of "og".
  4. Header Tags SEO

    I think it may be caused due to the currency symbol $ Google was also picky when the currency symbol was included with the price. And as we define the currency in an extra property, that might cause the problem. What do you think? I don't know how I can test it without it, since I don't know know which code to change.
  5. Header Tags SEO

    thanks, that worked I've another issue now: When I test a product page with social bookmarks in the Open Graph Object Debugger: https://developers.facebook.com/tools/debug/og/object/ I get this warning: Extraneous Property Objects of this type do not allow properties named 'og:currency'. Parser Mismatched Metadata The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: 'product:price, og:currency' on the page source code i Have [...] <meta property="og:price" content="$179.00" /> <meta property="og:currency" content="USD" /> <meta property="og:availability" content="instock" /> <!-- EOF: Header Tags SEO Generated Meta Tags by oscommerce-solution.com -->
  6. Header Tags SEO

    hi, I've a 301 redirection in place to direct my http requests to https But when I now test with header_tags_test.php I get this below. Where do I have to adjust the code, that it works with https ? From Site: Title -> 301 Moved Permanently Meta Description -> Meta Keywords ->
  7. Header Tags SEO

    ok, since I got the 302 moved response at the first test and now receiving 403 server response I researched a little on the web. And found this: https://stackoverflow.com/questions/22657548/is-it-ok-to-scrape-data-from-google-results/22703153#22703153 They are stating that without the Google search API, only 8 automated requests are allowed per hour. When retrieving e.g. 3 pages for each keyword to detect Google position, I can only check 2 keywords per hour. When using their Google search API, they mention that the limit is 40 requests per hour. I did not know and I checked much more than 2 keywords at 3 pages per hour, which then obviously resulted in a block from my server IP
  8. Header Tags SEO

    cool, thanks. But then I always receive 0 / Not Found even for keywords which show up, when I search manually on google. So I've ran a test with curl on the server and grabbed your query URL format from headertags_seo_position_google.php to verify if the match for the keyword is shown there, too. However I'm only receiving a 302 server response, see below. Not sure if I made the test correctly, but I hope this gives an indication on why the results are always 0 curl http://www.google.com/search?q=testquery&hl=en&biw=1280&bih=520&num=10&start=1&lr=&ft=i&cr=&safe=images&tbs= [1] 96 [2] 97 [3] 98 [4] 99 [5] 100 [6] 101 [7] 102 [8] 103 [9] 104 [10] 105 [2] Done hl=en [3] Done biw=1280 [4] Done bih=520 [5] Done num=10 [6] Done start=1 [7] Done lr= [8] Done ft=i [9]- Done cr= [~]# <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved <A HREF="http://ipv4.google.com/sorry/index?continue=http://www.google.com/search%3Fq%3Dtestquery&q=EgRA6-VkGNX4zc4FIhkA8aeDS7-zwdQQaeb6kLmrreT0oqXSZtXaMgFy">here</A>. </BODY></HTML>
  9. Header Tags SEO

    ok, thanks. I've fixed the issue with the social icons. I'm troubleshooting another one right now. On header_tags_seo_keywords.php I'm supposed to be able to check the Google Position, when I click the buttons in the 'Get Position' column, however after clicking it, the following appears in the column 'Google Position': URL required I looked at the code, and could only find a typo in line 426 <tr><td hiehgt="10"></td></tr> and changed it to <tr><td height="10"></td></tr> But that has of course nothing to do with it. Any suggestions where or what to check? I've searched my files for the phrase "URL required", but there was no match. Maybe this is a message directly from the google server and the script did not properly submit the data? Thanks for any help.
  10. Header Tags SEO

    Hi, appreciate your help. However this is getting rather confusing now. When I add this to the file includes/modules/product_listing.php , and remove the code from index.php, the icons no longer show up on the index.php If I don't remove the code from index.php it's working fine. Also the product pages are working fine. However on the category pages, it is appearing twice, no matter if I remove it from index.php or not. btw, the mentioned code to product_listing.php will bring back the issue with disappearing icons, when viewing the page on lower resolution. So I used this code instead as suggested earlier: } if (HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS == 'true') { echo '<div class="row"><div class="hts_bookmarks_place">'; include(DIR_WS_MODULES . 'header_tags_social_bookmarks.php'); echo '</div></div>'; } But even if I use the original code, the problem with the double entries on category pages still exist. A agree that oscommerce is very fragmented with all the different versions now. I just decided to go with the latest bootstrap to make it responsive. But I'm lost again now .... since I have no clue, why it is appearing twice on category pages.
  11. Header Tags SEO

    thanks, that fixed the problem on index.php and on product pages. However, on products_new.php the social bookmarks still don't show up. I have this in includes/modules/content/index/templates/new_products.php <!--- Begin Header Tags SEO Home Page Text and Social Bookmarks --> <?php if (tep_not_null($header_tags_array['home_page_text'])) { echo '<div>'; echo '<div style="padding:10px 0;">' . $header_tags_array['home_page_text'] . '</div>'; echo '</div>'; } if (HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS == 'true') { echo '<div class="row"><div class="hts_bookmarks_place">'; include(DIR_WS_MODULES . 'header_tags_social_bookmarks.php'); echo '</div></div>'; } ?> <!--- END Header Tags SEO Home Page Text and Social Bookmarks --> Did I miss anything?
  12. Header Tags SEO

    I've removed the second block and this fixed the problem. Thank you! I'm trying to troubleshoot another issue now. The social bookmark icons disappear on product pages when I downsize the resolution to simulate mobile devices. The strange thing is, that this doesn't happen on the index.php page with smaller resolutions. They still show up on the index.php, but not on other pages. Any idea or suggestion where to look at?
  13. Header Tags SEO

    Cool, that did the trick. The button on the category page had the same issue, so I removed that line as well. However sharing category pages with facebook button no longer show category images on facebook. They don't show up with pinterest or others either, so not sure what's causing this. Now to another issue, the social bookmarks are appearing twice on the index.php I've followed the instructions which say to add it twice: FIND: include('includes/modules/product_listing.php'); ?> </div> REPLACE WITH: /*** Begin Header Tags SEO ***/ if (tep_not_null($htc['htc_description'])) { echo '<h2 style="text-decoration:none;">'. $htc['htc_description'] . '</h2>'; } /*** End Header Tags SEO ***/ include('includes/modules/product_listing.php'); ?> </div> <!--- BEGIN Header Tags SEO Social Bookmarks --> <?php if (HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS == 'true') { echo '<div style="margin-top:5px; float:right;">'; include('includes/modules/header_tags_social_bookmarks.php'); echo '</div>'; } ?> <!--- END Header Tags SEO Social Bookmarks --> FIND: <?php echo $oscTemplate->getContent('index'); ?> </div> ADD BENEATH: <?php //<!--- Begin Header Tags SEO Home Page Text and Social Bookmarks --> if (tep_not_null($header_tags_array['home_page_text'])) { echo '<div>'; echo '<div style="padding:10px 0;">' . $header_tags_array['home_page_text'] . '</div>'; echo '</div>'; } if (HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS == 'true') { echo '<div>'; include('includes/modules/header_tags_social_bookmarks.php'); echo '</div>'; } //<!--- END Header Tags SEO Home Page Text and Social Bookmarks --> ?> They show up twice as shown in the screenshot. Any ideas? .. sorry for all my questions
  14. Header Tags SEO

    hmm, I searched my files on the server for media= and got a match on the file from your package Use_if_version_BootStrap\catalog_only_new_files\includes\modules\header_tags_social_bookmarks.php on two lines: /home/username/public_html/includes/modules/header_tags_social_bookmarks.php:14: $IMG = (tep_not_null($product_info['products_image']) ? "&amp;media=" . HTTP_SERVER . DIR_WS_HTTP_CATALOG. 'images/' . $product_info['products_image'] : ''); /home/username/public_html/includes/modules/header_tags_social_bookmarks.php:25: $IMG = (tep_not_null($category['categories_image']) ? "&amp;media=" . HTTP_SERVER . DIR_WS_HTTP_CATALOG. 'images/' . $category['categories_image'] : ''); Is this the code which is responsible for the media= or where should I look at otherwise? Any ideas? Thanks
  15. Header Tags SEO

    ok, I tried that before, but the behavior and results are the same. It is now: http://www.facebook.com/share.php?u=https%3A%2F%2Fwww.debooks4u.com%2Fegypt-1890s-book-color-photos-old-cairo-thebes-sphinx-medinet-habu-p-916.html&ampEgypt+1890s+Book+w%2F+color+photos+of+Old+Cairo+Thebes+Sphinx+Medinet+Habu+Nile&media=https://www.debooks4u.com/images/autouregyptg.jpg&title=Egypt+1890s+Book+w%2F+color+photos+of+Old+Cairo+Thebes+Sphinx+Medinet+Habu+Nile but still the same issue.
×