magento checklist confoo 2014
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
![Page 1: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/1.jpg)
Magento pre-launch checklist
Montreal, Québec, Canada, February, 28th 2014
ææqquuoo
![Page 2: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/2.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/3.jpg)
Speaker
Damien Seguy
Exakat : PHP expert services
E-commerce website in China for 3 years
![Page 4: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/4.jpg)
We take Questions
?
![Page 5: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/5.jpg)
Long before
That will impact store owner
or the contrary : you’ll wait for him
![Page 6: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/6.jpg)
Change ADMIN URL
![Page 7: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/7.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/8.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/9.jpg)
![Page 10: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/10.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/11.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/12.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/13.jpg)
Test system compilation
![Page 14: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/14.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/15.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/16.jpg)
hand it to store owners
And don’t drop it
![Page 17: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/17.jpg)
Favicon
Change the favicon.ico
Remove also the original icon
Small security step
![Page 18: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/18.jpg)
Change image default
skin/frontend/default/theme/images/catalog/product/placeholder
![Page 19: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/19.jpg)
Change logo default
![Page 20: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/20.jpg)
Contact info
and the stores names
![Page 21: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/21.jpg)
HTML head
![Page 22: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/22.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/23.jpg)
404 page
![Page 24: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/24.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/25.jpg)
Social networks
Check your social networks
Are they working ? Are they not the developper’s own?
![Page 26: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/26.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/27.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/28.jpg)
At the launch
That will help on the D-Day
![Page 29: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/29.jpg)
Check your robots.txt
Forgotten in production
![Page 30: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/30.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/31.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/32.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/33.jpg)
Start Magento caches
Magento cache
System -> cache management
Magento index
System -> index management
![Page 34: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/34.jpg)
Check cron
Sitemap
Logs
Reindex
![Page 35: Magento checklist confoo 2014](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/35.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/36.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022062405/5551a90eb4c9053c488b509a/html5/thumbnails/37.jpg)
Thank you!
http://www.slideshare.net/dseguy/