Magento checklist confoo 2014

37
Magento pre-launch checklist Montreal, Québec, Canada, February, 28th 2014 æ æ q q u u o o

description

Nothing is more exciting that rolling one's website for a real audiance. After a significant time of development with Magento, everyone is eager to see the new e-commerce site behaves. Every stake holder, may it be security architect, SEO expert, speed freak or your beta testers, everyone mentionned something crucial to check. We'll review what configurations, architectures recipes or data preparation may be used.

Transcript of Magento checklist confoo 2014

Page 1: Magento checklist confoo 2014

Magento pre-launch checklist

Montreal, Québec, Canada, February, 28th 2014

ææqquuoo

Page 2: Magento checklist confoo 2014

Three types of problems

Things you should do long before launch

Things that will go wrong with store owners

Things that are good at the last moment

Page 3: Magento checklist confoo 2014

Speaker

Damien Seguy

[email protected]

Exakat : PHP expert services

E-commerce website in China for 3 years

Page 4: Magento checklist confoo 2014

We take Questions

?

Page 5: Magento checklist confoo 2014

Long before

That will impact store owner

or the contrary : you’ll wait for him

Page 6: Magento checklist confoo 2014

Change ADMIN URL

Page 7: Magento checklist confoo 2014

Change ADMIN URL

Change the admin URL to something else

Avoid ‘administration’, ‘__admin’.

Use another name, like the name of the department in charge, character name...

Add restriction with htpasswd and/or IP

Page 8: Magento checklist confoo 2014

Change Base_URL

Don’t use {{base_url}} in production

use website.dev in dev, and website.com in production

Do it at dev time, and don’t forget later

Page 9: Magento checklist confoo 2014
Page 10: Magento checklist confoo 2014

Set up SSL key

Set up SSL for admin and private. May be public

This is happening everywhere

Feel the impact at dev time

Quick auto-signed key during dev, see impact

Page 11: Magento checklist confoo 2014

PHP configuration

max execution time : 30

Do not use 1800 because it is needed by admin

use .htaccess to raise the value in admin!

memory_limit : 256 M

If you can, use 128M during dev.

Page 12: Magento checklist confoo 2014

Validate

Won’t have time at the last moment

HTML (validator.w3.org)

CSS : http://jigsaw.w3.org/css-validator/

Javascript : Jslint.com

Apply to : homepage, product page, search results, a few cms pages.

Page 13: Magento checklist confoo 2014

Test system compilation

Page 14: Magento checklist confoo 2014

Test compile

Compact code for easier loading

May have impact on your code

Problems are

unusual inclusions and their path

classes name collisions

Don’t use compile version in dev, only test it....

Page 15: Magento checklist confoo 2014

Set up probes

Use the previous dummy store to run scenario

home page, select products, fill checkout, reach paiement

home page, fill mailing list form, success

Speed loading

http://phantomjs.org/

Page 16: Magento checklist confoo 2014

hand it to store owners

And don’t drop it

Page 17: Magento checklist confoo 2014

Favicon

Change the favicon.ico

Remove also the original icon

Small security step

Page 18: Magento checklist confoo 2014

Change image default

skin/frontend/default/theme/images/catalog/product/placeholder

Page 19: Magento checklist confoo 2014

Change logo default

Page 20: Magento checklist confoo 2014

Contact info

and the stores names

Page 21: Magento checklist confoo 2014

HTML head

Page 22: Magento checklist confoo 2014

HTML head

Change and set the default title

This only applies when the product has no such information

This will happen and look ... silly

Make all the others blank

Page 23: Magento checklist confoo 2014

404 page

Page 24: Magento checklist confoo 2014

404 page

No page design and dummy pictures

Change it in the CMS

Or even make it changed by some one else

Take advantage of the 404 page to display a listing, or do some searching.

Page 25: Magento checklist confoo 2014

Social networks

Check your social networks

Are they working ? Are they not the developper’s own?

Page 26: Magento checklist confoo 2014

Google analytics

Check for Analytics, base, checkout, website optimiser

Make sure it is there

Make sure it is the one intented for production

Same for module licenses

Page 27: Magento checklist confoo 2014

Photo inventory

Make a list of the photo names

This is a ls in the media folder

Make sure they make send

Page 28: Magento checklist confoo 2014

At the launch

That will help on the D-Day

Page 29: Magento checklist confoo 2014

Check your robots.txt

Forgotten in production

Page 30: Magento checklist confoo 2014

Check your robots.txt

Don’t forget things that block the robots

Use it in preprod, as you don’t want test data to be harvested

Page 31: Magento checklist confoo 2014

Enable Gzip

<ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|html)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*</ifModule>

Page 32: Magento checklist confoo 2014

Install system caches

APC for PHP : code cache

Varnish : full page cache

memcache : good for your sessions

not a cache...

Page 33: Magento checklist confoo 2014

Start Magento caches

Magento cache

System -> cache management

Magento index

System -> index management

Page 34: Magento checklist confoo 2014

Check cron

Sitemap

Logs

Reindex

Page 35: Magento checklist confoo 2014

Remove test data

Don’t leave old data there

Clear bills and shipping

Keep your dummy information

For probes, for online tests.

Mention it to the store owner

Page 36: Magento checklist confoo 2014

Backup / restore

Check back up are ready and configured

Rehearse the restore strategy

What happens if you have to restore data that where already moved ?

Page 37: Magento checklist confoo 2014

Thank you!

http://www.slideshare.net/dseguy/