Jump to content
Latest News: (loading..)

Hotclutch

Members
  • Content count

    1,799
  • Joined

  • Last visited

  • Days Won

    10

Hotclutch last won the day on July 11

Hotclutch had the most liked content!

3 Followers

Profile Information

  • Real Name
    Ashley
  • Gender
    Male
  • Location
    Cape Town, SA

Recent Profile Visitors

29,789 profile views
  1. favicon.ico error

    You can specify the favicon in the head section of all pages i.e template_top.php <link rel=icon href=favicon.png sizes="16x16" type="image/png"> I don't know what the reference in robots.txt would be, but you only need to do one or the other.
  2. To be honest I don't think this one is worth doing. Besides the inconvenience to yourself to have to maintain that file every time you want to make a change, the file won't be cached in the same way as when you're linking to CDN. A user coming to your site may already have the FA in their cache, and won't have to download again. Whereas now they will have to download your custom CSS everytime.
  3. ULTIMATE Seo Urls 5 - by FWR Media

    If it's just the look that's important to you - you could replicate the look with the USU file I am sure. Instead of calling code, copy your boilerplate text from view source. by boilerplate text i mean your nav - left/right columns, footer.
  4. ULTIMATE Seo Urls 5 - by FWR Media

    ^^ Change the html tag on line 32 for your language.
  5. ULTIMATE Seo Urls 5 - by FWR Media

    @PiLLaO Replace your 404 page with this one: You need to do the following things: 1) On line 38 change the base reference to your URL. 2) If you do not use a favicon, delete line 42. That's it, now you have a boostrap 404 page. <?php /** * * ULTIMATE Seo Urls 5 PRO ( version 1.1 ) * * * @package USU5_PRO * @license http://www.opensource.org/licenses/gpl-2.0.php GNU Public License * @link http://www.fwrmedia.co.uk * @copyright Copyright 2008-2009 FWR Media * @copyright Portions Copyright 2005 ( rewrite uri concept ) Bobby Easland * @author Robert Fisher, FWR Media, http://www.fwrmedia.co.uk * @lastdev $Author:: Rob $: Author of last commit * @lastmod $Date:: 2010-12-21 22:45:02 +0000 (Tue, 21 Dec 2010) $: Date of last commit * @version $Rev:: 196 $: Revision of last commit * @Id $Id:: notfound_404.php 196 2010-12-21 22:45:02Z Rob $: Full Details */ /** * Page not found html with 404 header * @package USU5_PRO * * @var array $text - array of text strings to be used in the html */ $text = array( 'title' => 'Page not found', 'text' => 'The page you were looking for could not be found. Please click the below link to return to ' . STORE_NAME . ' <p><a href="' . tep_href_link( 'index.php' ) . '" title="' . STORE_NAME . '">' . STORE_NAME . '</a></p><br />' ); header( "HTTP/1.1 404 Not Found" ); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Page Not Found</title> <base href="https://www.example.com/"> <link href="ext/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <script defer src="https://use.fontawesome.com/releases/v5.1.0/js/all.js"></script> <link rel=icon href=favicon.png sizes="16x16" type="image/png"> <!--[if lt IE 9]> <script src="ext/js/html5shiv.js"></script> <script src="ext/js/respond.min.js"></script> <script src="ext/js/excanvas.min.js"></script> <![endif]--> <script src="ext/jquery/jquery-3.1.1.min.js"></script> <style> .error-404 { margin: 0 auto; text-align: center } .error-404 .error-code { bottom: 60%; color: #4686CC; font-size: 96px; line-height: 100px; font-weight: bold } .error-404 .error-desc { font-size: 12px; color: #647788 } .error-404 .m-b-10 { margin-bottom: 10px!important } .error-404 .m-b-20 { margin-bottom: 20px!important } .error-404 .m-t-20 { margin-top: 20px!important } </style> </head> <body> <div class="error-404"> <div class="error-code m-b-10 m-t-20">404 <i class="fas fa-exclamation-triangle"></i></div> <h2 class="font-bold">Oops 404! That page can’t be found.</h2> <div class="error-desc"> Sorry, but the page you are looking for was either not found or does not exist. <br> Try refreshing the page or click the button below to go back to the Homepage. <div><br> <a href="/" class="btn btn-primary"><span class="fas fa-home" data-fa-transform="up-2" aria-hidden="true"></span> Go back to Homepage</a> </div> </div> </div> <script src="ext/bootstrap/js/bootstrap.min.js"></script> </body> </html>
  6. ULTIMATE Seo Urls 5 - by FWR Media

    You don't need all this on a 404 page. All you need is a not found notice and a link to somewhere useful. The HTML on that page is very simple and can be replaced, there are many templates online. Here is a bootstrap example from bootsnip: https://bootsnipp.com/snippets/Oel4q
  7. ULTIMATE Seo Urls 5 - by FWR Media

    No need to change anything there. The 404 page works and is located at includes/modules/ultimate_seo_urls5/includes/notfound_404.php
  8. A new danger?

    maybe you already have specified RewriteEngine On, and now have it twice.
  9. products model: box width

    The older osCommerce table structure allowed 10 or 11 characters, so presumably you're using that. Go into phpMyAdmin for your database and edit the column products_model in the products table. You will also have to make the same change in the orders_products table.
  10. .btn { font-size: 16px; line-height: 1.5 } Changing the btn class to 16px causes some alignment issue on the cm_header_search, so i recommend leaving this out, or maybe something else needs to change along with it.
  11. It might cause problems yes, but does the code work at all? I only have one language, which is English, so won't cause problems for me.
  12. In your template top, replace <html <?php echo HTML_PARAMS; ?>> with hardcoded: <html dir="ltr" lang="en">
  13. Consolidating your changes and mine we can put in user.css body { font-size: 16px; line-height: 1.5 } .dropdown-menu { font-size: 16px } .form-control { font-size: 16px; line-height: 1.5 } .btn { font-size: 16px; line-height: 1.5 } .dropdown-menu > li > a { line-height: 1.5 } .list-group-item-text { line-height: inherit } .thumbnail { line-height: inherit } .description and .footer, I don't think they are bootstrap, or maybe they are custom.css, so i have not added in those.
  14. You're gonna get some flak for adding meta keywords tag meta robots index you never need to explicitly add, because the default behaviour of robots is to index, follow. I am surprised the audit tool fails on the omission of a meta description tag. Google does not worry with it, Bing still highlights it as a SEO factor. In any case, there are a few good addons that add meta description if the siteowner wants them.
  15. body { font-size: 16px; line-height: 1.5 } .dropdown-menu { font-size: 16px } .dropdown-menu > li > a { line-height: 1.5 } .list-group-item-text { line-height: inherit } .thumbnail { line-height: inherit }
×