{"id":1552,"date":"2017-06-15T12:04:11","date_gmt":"2017-06-15T10:04:11","guid":{"rendered":"https:\/\/www.h-hennes.fr\/blog\/?p=1552"},"modified":"2017-06-15T12:04:11","modified_gmt":"2017-06-15T10:04:11","slug":"fichier-gitignore-pour-site-prestashop-de-production","status":"publish","type":"post","link":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/","title":{"rendered":"Fichier .gitignore pour site prestashop de production"},"content":{"rendered":"<p>Une petite ressource rapide, voici un fichier .gitignore optimis\u00e9 pour g\u00e9rer votre site Prestashop ( &lt; 1.7 ) en mode projet<\/p>\n<pre lang=\"bash\">\r\n.idea\/\r\n\/admin-dev\/autoupgrade\/backup\r\n\/admin-dev\/backups\r\n\/admin-dev\/export\r\n\/cache\/\r\n!\/cache\/index.php\r\n!\/cache\/*\/index.php\r\n\/config\/xml\/\r\n!\/config\/xml\/index.php\r\n!\/config\/xml\/.htaccess\r\n!\/config\/xml\/themes\/index.php\r\n\/download\r\n!\/download\/index.php\r\n!\/download\/.htaccess\r\n\/img\/\r\n!\/img\/index.php\r\n!\/img\/admin\r\n!\/img\/jquery-ui\r\n!\/img\/*\/index.php\r\n!\/img\/*\/.htaccess\r\n\/log\r\n!\/log\/index.php\r\n!\/log\/.htaccess\r\n\/modules\/*\/config*.xml\r\n\/themes\/*\/cache\r\n!\/themes\/*\/cache\/index.php\r\n\/tools\/tcpdf\/cache\r\n!\/tools\/tcpdf\/cache\/index.php\r\n\/upload\r\n!\/upload\/.htaccess\r\n<\/pre>\n<p>Il exclus les fichiers des dossiers li\u00e9s aux contenus du site, mais conserve les fichiers index.php pour que les dossiers soient tout de m\u00eame bien pr\u00e9sent dans le d\u00e9pot \ud83d\ude42<br \/>\nIl faut \u00e9galement remplacer \u00ab\u00a0admin-dev\u00a0\u00bb par le chemin de votre admin<br \/>\nN&rsquo;h\u00e9sitez pas \u00e0 soumettre vos optimisations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Une petite ressource rapide, voici un fichier .gitignore optimis\u00e9 pour g\u00e9rer votre site Prestashop ( &lt; 1.7 ) en mode projet .idea\/ \/admin-dev\/autoupgrade\/backup \/admin-dev\/backups \/admin-dev\/export \/cache\/ !\/cache\/index.php !\/cache\/*\/index.php \/config\/xml\/ !\/config\/xml\/index.php !\/config\/xml\/.htaccess !\/config\/xml\/themes\/index.php \/download !\/download\/index.php !\/download\/.htaccess \/img\/ !\/img\/index.php !\/img\/admin !\/img\/jquery-ui !\/img\/*\/index.php !\/img\/*\/.htaccess \/log !\/log\/index.php !\/log\/.htaccess \/modules\/*\/config*.xml \/themes\/*\/cache !\/themes\/*\/cache\/index.php \/tools\/tcpdf\/cache !\/tools\/tcpdf\/cache\/index.php \/upload !\/upload\/.htaccess Il exclus les fichiers [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[245],"tags":[493,104],"class_list":["post-1552","post","type-post","status-publish","format-standard","hentry","category-prestashop-2","tag-gitignore","tag-prestashop"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"herve\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#article\",\"name\":\"Fichier .gitignore pour site prestashop de production | Herv\\u00e9 Hennes\",\"headline\":\"Fichier .gitignore pour site prestashop de production\",\"author\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#organization\"},\"datePublished\":\"2017-06-15T12:04:11+02:00\",\"dateModified\":\"2017-06-15T12:04:11+02:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#webpage\"},\"articleSection\":\"Prestashop, gitignore, prestashop\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/prestashop-2\\\/#listItem\",\"name\":\"Prestashop\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/prestashop-2\\\/#listItem\",\"position\":2,\"name\":\"Prestashop\",\"item\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/prestashop-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#listItem\",\"name\":\"Fichier .gitignore pour site prestashop de production\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#listItem\",\"position\":3,\"name\":\"Fichier .gitignore pour site prestashop de production\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/prestashop-2\\\/#listItem\",\"name\":\"Prestashop\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#organization\",\"name\":\"Herv\\u00e9 Hennes\",\"description\":\"D\\u00e9veloppeur e-commerce\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/\",\"name\":\"herve\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248532c833c69e304668cc20fd20ec6ddc1808306f57d5d14e632059f50347a4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"herve\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#webpage\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/\",\"name\":\"Fichier .gitignore pour site prestashop de production | Herv\\u00e9 Hennes\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2017\\\/06\\\/15\\\/fichier-gitignore-pour-site-prestashop-de-production\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\"},\"datePublished\":\"2017-06-15T12:04:11+02:00\",\"dateModified\":\"2017-06-15T12:04:11+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/\",\"name\":\"Herv\\u00e9 Hennes\",\"description\":\"D\\u00e9veloppeur e-commerce\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Fichier .gitignore pour site prestashop de production | Herv\u00e9 Hennes","description":"","canonical_url":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#article","name":"Fichier .gitignore pour site prestashop de production | Herv\u00e9 Hennes","headline":"Fichier .gitignore pour site prestashop de production","author":{"@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author"},"publisher":{"@id":"https:\/\/www.h-hennes.fr\/blog\/#organization"},"datePublished":"2017-06-15T12:04:11+02:00","dateModified":"2017-06-15T12:04:11+02:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#webpage"},"isPartOf":{"@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#webpage"},"articleSection":"Prestashop, gitignore, prestashop"},{"@type":"BreadcrumbList","@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.h-hennes.fr\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/category\/prestashop-2\/#listItem","name":"Prestashop"}},{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/category\/prestashop-2\/#listItem","position":2,"name":"Prestashop","item":"https:\/\/www.h-hennes.fr\/blog\/category\/prestashop-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#listItem","name":"Fichier .gitignore pour site prestashop de production"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#listItem","position":3,"name":"Fichier .gitignore pour site prestashop de production","previousItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/category\/prestashop-2\/#listItem","name":"Prestashop"}}]},{"@type":"Organization","@id":"https:\/\/www.h-hennes.fr\/blog\/#organization","name":"Herv\u00e9 Hennes","description":"D\u00e9veloppeur e-commerce","url":"https:\/\/www.h-hennes.fr\/blog\/"},{"@type":"Person","@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author","url":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/","name":"herve","image":{"@type":"ImageObject","@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/248532c833c69e304668cc20fd20ec6ddc1808306f57d5d14e632059f50347a4?s=96&d=mm&r=g","width":96,"height":96,"caption":"herve"}},{"@type":"WebPage","@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#webpage","url":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/","name":"Fichier .gitignore pour site prestashop de production | Herv\u00e9 Hennes","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/www.h-hennes.fr\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/#breadcrumblist"},"author":{"@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author"},"creator":{"@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author"},"datePublished":"2017-06-15T12:04:11+02:00","dateModified":"2017-06-15T12:04:11+02:00"},{"@type":"WebSite","@id":"https:\/\/www.h-hennes.fr\/blog\/#website","url":"https:\/\/www.h-hennes.fr\/blog\/","name":"Herv\u00e9 Hennes","description":"D\u00e9veloppeur e-commerce","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/www.h-hennes.fr\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"1552","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-29 16:38:26","updated":"2022-10-01 21:45:39","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.h-hennes.fr\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.h-hennes.fr\/blog\/category\/prestashop-2\/\" title=\"Prestashop\">Prestashop<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFichier .gitignore pour site prestashop de production\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.h-hennes.fr\/blog"},{"label":"Prestashop","link":"https:\/\/www.h-hennes.fr\/blog\/category\/prestashop-2\/"},{"label":"Fichier .gitignore pour site prestashop de production","link":"https:\/\/www.h-hennes.fr\/blog\/2017\/06\/15\/fichier-gitignore-pour-site-prestashop-de-production\/"}],"_links":{"self":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/comments?post=1552"}],"version-history":[{"count":1,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1552\/revisions"}],"predecessor-version":[{"id":1553,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1552\/revisions\/1553"}],"wp:attachment":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/media?parent=1552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/categories?post=1552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/tags?post=1552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}