Jump to content

RMD27

Members
  • Content count

    448
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Thanks
    RMD27 got a reaction from domiosc in Easy Populate & Products Attributes   
    Hi,  I only use underscore "_" in the product_model field not "-"
  2. Thanks
    RMD27 reacted to Tsimi in ULTIMATE Seo Urls 5 - by FWR Media   
    I just quote from google
    All what google says is they recommend or say it is good practice to make the URLs read-friendly so that customers/users can read or use the URL as link or navigation guide.
    It doesn't say one word that it will improve your SEO because of that. Google just says you should keep it organized. Another quote
    Again, no mention of SEO benefit. Visitor friendly does not equal better SEO or SEO results.

    Lastly, everyone can do what they want with their shop site it is their website and they should know what their customers might want. Look at Amazon, eBay or some other big shop they all have different URLs, some long, some short, some easier to read, some are super long and complicated. Important is that the "real" SEO stuff in your shop is working as it should then you'll end up getting good search results.
    So what @burt said isn't wrong at all. User friendly URLs have nothing to do with SEO.
  3. Thanks
    RMD27 got a reaction from mcmannehan in ULTIMATE Seo Urls 5 - by FWR Media   
    mcmannehan 
    he is absolutely correct about SEO URLs. i think most people find them helpful and so do search engines to some extent
    https://moz.com/learn/seo/url
    https://www.searchenginejournal.com/seo-friendly-url-structure-2/202790/
  4. Sad
    RMD27 got a reaction from leatherdealer in ULTIMATE Seo Urls 5 - by FWR Media   
    Character encoding, maybe you need to use the old method 
     
  5. Like
    RMD27 reacted to germ in HELP! Category Image Size and featured product image size...   
    The category images are displayed in index.php with this code:
     

    <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
    You can tweak the size with code something like this:
     

    <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <?php // // Index 0 and 1 contains respectively the width and the height of the image. // $width_text = HEADING_IMAGE_WIDTH; $height_text = HEADING_IMAGE_HEIGHT; if ( $image_size = @getimagesize(DIR_WS_IMAGES . $category['categories_image'] ) ) { $scale_factor = 0.5; // sample scale factor - alter to suit $width_text = intval( $image_size[0] * $scale_factor ); $height_text = intval( $image_size[1] * $scale_factor ); } // // ?> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], $width_text, $height_text); ?></td>
    Similarly the sub category images in index.php:
     
    Old code:
     

    while ($categories = tep_db_fetch_array($categories_query)) { $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "\n"; echo ' <tr>' . "\n"; } }
    New code:
     

    while ($categories = tep_db_fetch_array($categories_query)) { $rows++; $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; // // Index 0 and 1 contains respectively the width and the height of the image. // $width_text = SUBCATEGORY_IMAGE_WIDTH; $height_text = SUBCATEGORY_IMAGE_HEIGHT; if ( $image_size = @getimagesize(DIR_WS_IMAGES . $category['categories_image'] ) ) { $scale_factor = 0.5; // sample scale factor - alter to suit $width_text = intval( $image_size[0] * $scale_factor ); $height_text = intval( $image_size[1] * $scale_factor ); } // echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], $width_text, $height_text) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "\n"; echo ' <tr>' . "\n"; } }
    Code like this lets you just scale the image size directly bypassing the image sizes set in the admin.
     
    Always backup before editing.
×