Announcement

Collapse
No announcement yet.

Broken font icons and the www

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Broken font icons and the www

    I know that Bruce addressed this previously in this post from 2015 https://www.miva.com/forums/forum/on...gnifying-glass but good grief that was over 2 years ago and the problem still exists.

    If all the URL's for the site I'm currently having this issue with include the www then there is no problem, the font icons display. But if someone uses just http://domain.com then all the font icons break and it's not pretty. Besides adding lines to the htaccess file is there any other fix for this? Does the htaccess need to force one over the other? Which is preferred? Bruce's seems to not use the www which seems contrary to what I'm seeing.

    There must be some way to fix this so the font icons work with or without the www?


    Leslie Kirk
    Miva Merchant Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

  • Hi Leslie,

    The resources, like fonts, usually base their paths off of the basehref. If you are calling pages using WWW but the base does not contain that, or visa-versa, then you could see an issue. As a general rule, unless the store is not the root of the site, setting the site to use WWW and having the redirect in the htaccess file are the best options.

    Here's a little more information on the debate of to WWW or not: http://www.yes-www.org/why-use-www/
    Matt Zimmermann
    Director of UI/UX Standards and Theme Development
    / Miva, Inc.

    Comment


    • Originally posted by Matt Zimmermann View Post
      Hi Leslie,

      The resources, like fonts, usually base their paths off of the basehref. If you are calling pages using WWW but the base does not contain that, or visa-versa, then you could see an issue. As a general rule, unless the store is not the root of the site, setting the site to use WWW and having the redirect in the htaccess file are the best options.

      Here's a little more information on the debate of to WWW or not: http://www.yes-www.org/why-use-www/
      This sounds like it's still golden advice but I wanted to make sure. Just to make sure I understand, I have a store that does not use the WWW and is about to have a ReadyTheme applied. So it will be best to go back through the domain settings and re-add the www, then add a redirect from the domain.com to the www.domain.com?

      Leslie Kirk
      Miva Merchant Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


      • Hi Leslie,

        Unless they have a reason to not use WWW, that would be the best plan.
        Matt Zimmermann
        Director of UI/UX Standards and Theme Development
        / Miva, Inc.

        Comment


        • Note: While a hassle, FORCING all users to use a specific domain is very helpful SEO wise.
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


          • Originally posted by Bruce - PhosphorMedia View Post
            Note: While a hassle, FORCING all users to use a specific domain is very helpful SEO wise.
            Yes - the site is currently "forcing" domain.com
            Leslie Kirk
            Miva Merchant Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment

            Working...
            X

            This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

            This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

            Accept