---
# System prepended metadata

title: Store optimization tasks

---

# Store optimization tasks


## Using C-panel
1) Software > Optimize Website > Compress All Content
2) Software > MultiPHP INI Editor > zlib.output_compression > Enabled
3) Domains > Domains > Force HTTPS Redirect > On

## Using Ftp 
1) Clean Var Directories

    * downloader/.cache
    * var/cache/
    * var/session
    * var/locks
    * var/log
    * var/report
    * var/tmp

2) Create cpbackup-exclude.conf in the home directory that includes

```
public_html/var/cache
public_html/var/session
public_html/var/log
public_html/var/report
public_html/var/tmp
public_html/var/locks
public_html/downloader/.cache
public_html/media/catalog/product/cache

```

3) Create robots.txt under public_html directory, changing sitemaps 
```
# Website Sitemaps
Sitemap: https://midasfurniture.com/sitemap/en/sitemap.xml
Sitemap: https://midasfurniture.com/sitemap/ar/sitemap.xml
Sitemap: https://midasfurniture.com/sitemap/qtr_en/sitemap.xml
Sitemap: https://midasfurniture.com/sitemap/qtr_ar/sitemap.xml
Sitemap: https://midasfurniture.com/sitemap/ksa_en/sitemap.xml
Sitemap: https://midasfurniture.com/sitemap/ksa_ar/sitemap.xml
# Google Image Crawler Setup
User-agent: Googlebot-Image
Disallow:
Allow: /
# Crawlers Setup
User-agent: *
# Directories
Disallow: /404/
Disallow: /app/
Disallow: /cgi-bin/
Disallow: /downloader/
Disallow: /errors/
Disallow: /includes/
Disallow: /js/
Disallow: /lib/
Disallow: /magento/
Disallow: /pkginfo/
Disallow: /report/
Disallow: /scripts/
Disallow: /shell/
Disallow: /skin/
Disallow: /stats/
Disallow: /var/
# Paths (clean URLs)
# (if using shop id in URL must prefix with * or copy for each)
Disallow: */index.php/
Disallow: */catalog/product_compare/
Disallow: */catalog/category/view/
Disallow: */catalog/product/view/
Disallow: */catalogsearch/
Disallow: */checkout/
Disallow: */easycheckout/
Disallow: */control/
Disallow: */contacts/
Disallow: */customer/
Disallow: */customize/
Disallow: */newsletter/
Disallow: */poll/
Disallow: */review/
Disallow: */sendfriend/
Disallow: */tag/
Disallow: */wishlist/
Disallow: */catalog/product/gallery/
# Quickview
Disallow: */quickview/
# Flipper
Disallow: */flipper/
# Files
Disallow: /cron.php
Disallow: /cron.sh
Disallow: /error_log
Disallow: /install.php
Disallow: /LICENSE.html
Disallow: /LICENSE.txt
Disallow: /LICENSE_AFL.txt
Disallow: /STATUS.txt
Disallow: /fixpermissions.sh
# Paths (no clean URLs)
#Disallow: /*.js$
#Disallow: /*.css$
Disallow: /*.php$
Disallow: /*?SID=
```

4) Disable unused extensions
    * app/etc/modules/Shopgo_Totango.xml
    * app/etc/modules/Shopgo_PackgeListener.xml
    * app/etc/modules/Cashu_Prepaid.xml
    * app/etc/modules/Shopgo_ZainIraq.xml
    * app/etc/modules/Gate2play_Paymentgateway.xml
    * app/etc/modules/Shopgo_SkuNotifications.xml
## Using the dashboard
1) Delete test custumers and orders
2) Delete unused and outdated products
3) Turn off real-time data
    * System -> Configuration -> Sales -> Dashboard -> Use Aggregated Data -> Yes
4) Disable users and errors logs
    * System -> Configuration -> Advanced -> System -> Log
    * System -> Configuration -> Advanced -> Developer -> Log Settings
5) Activiate magento External Full-Page Cache
    * System -> Configuration -> Advanced -> System -> External Full Page Cache Settings
6) Activate secure URLs
    * System -> Configuration -> General -> Web -> Use Secure URLs in Frontend -> Yes
    * System -> Configuration -> General -> Web -> Use Secure URLs in Admin -> Yes



## General 
1) Compress/Optimize image 
    - Image Optimizer (kraken.io)

