slscart logo

slscart Defaults

Your store may already have the defaults installed, especially if

In the slc_extras/defaults folder is several files that can serve as defaults in the root directory. If they are not there, they will generate a missing file error which can be seen in cpanel's error log. The images are placeholders and should be replaced with ones that represent your store.

.htaccess

This has a lot of directives to improve website performance and is tuned for slscart. Performance enhancements include asset caching (e.g. images, css files, javascript files), web page compression (for html and php files), and asset compression (css, javascript, xml).

Some security issues are also addressed.

crossdomain.xml

Not used any more. Needs to be deleted.

favicons

The favicons below cover nearly all desktop, tablet, and mobile devices.

Sometimes server logs show 404 errors if an icon is missing. Login to your cpanel and check Errors! log.

This goes in the <header> area. The code with the ? means that if there is a previous icon then the new one will be immediately used and cached.

<link rel="apple-touch-icon" sizes="180x180" href="%SITEG_URL%/apple-touch-icon.png">
<link rel="icon" type="image/png" href="%SITEG_URL%/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="%SITEG_URL%/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="%SITEG_URL%/manifest.json">
<link rel="mask-icon" href="%SITEG_URL%/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="%SITEG_URL%/favicon.ico">
<meta name="theme-color" content="#ffffff">
<meta name="msapplication-config" content="%SITEG_URL%/browserconfig.xml">

apple-touch-icon.png

A default icon for Apple computers, iPads, iPhones, etc. 180x180 touch icon. iOS scales icons well so only one good one is necessary.

apple-touch-icon-precomposed.png

Deprecated since iOS7. Older version get along fine without it, though it does not hurt to have it.

browserconfig.xml

For Microsoft Internet Explorer tile(s). Introducted in IE 11 and Windows 8.1. Contains path to tile icon for Windows 8 and 10 (150x150 png image used as a tile).

favicon.ico

This is a generic favicon. A website should have its own personalized one. An error occurs if one is not present because . The sample favicon.ico contains 3 pictures: 16x16, 32x32, and 48x48

favicon-16x16.png

favicon-32x3.png

manifest.json

For android chrome. Specifies a 192x192 and 512x512 png icons. Looks for 192x192 first. Android scales icons well.

safari-pinned-tab.svg

For safari browser.

theme-color

This is for android chrome.

robots.txt

The slscart default robots.txt file allows all robots (bots) to look through all directories and files. This is about as simple as it gets. Web robots read this file for instructions on what directories and files should/should not be processed. The default one allows all robots. An error occurs if not present because nearly all web bots look for this file for directions. Note that bad bots generally ignore the instructions in the robots.txt file.

tile.png

Not used any more.

Represents your app on a Windows start screen. One that is suited for your store should be created.

tile-wide.png

Not used anymore.

Wide version of tile.png

***