RewriteEngine On
RewriteBase /

ErrorDocument 404 http://www.assemble-experts.fr/

RewriteRule ^groupe-cabinets-gestion-patrimoine.html$ spip.php?page=article&id_article=2 [L]
RewriteRule ^garantie-chambre-independants-patrimoine.html$ spip.php?page=article&id_article=16 [L]
RewriteRule ^presse-gestion-patrimoine.html$ spip.php?page=article&id_article=7 [L]
RewriteRule ^abonnement-gratuit-gestion-patrimoine.html$ spip.php?page=article&id_article=8 [QSA,L]

RewriteRule ^actualite-defiscalisation-retraite-juridique.html$ spip.php?page=article&id_article=23 [QSA,L]
RewriteRule ^actualite-defiscalisation-retraite-juridique-([0-9]+)\.html$ spip.php?page=actualite&id_article=$1 [L]

RewriteRule ^meilleure-offre-assurance-credit.html$ spip.php?page=article&id_article=6 [L]
RewriteRule ^meilleurs-placements-financiers.html$ spip.php?page=article&id_article=3 [L]
RewriteRule ^reseau-national-gestion-privee.html$ spip.php?page=article&id_article=4 [L]

RewriteRule ^cabinet-conseil-gestion.html$ spip.php?page=article&id_article=105 [L]
RewriteRule ^expert-gestion-privee.html$ spip.php?page=article&id_article=5 [L]

RewriteRule ^confirmation.html$ spip.php?page=article&id_article=109 [L]
RewriteRule ^confirmation-optin.html$ spip.php?page=article&id_article=114 [L]

RedirectPermanent /finassur/ https://www.assemble-experts.fr/groupe-cabinets-gestion-patrimoine.html
RedirectPermanent /patrimethic/ https://www.assemble-experts.fr/groupe-cabinets-gestion-patrimoine.html

RewriteRule ^comment-assemble-utilise-les-cookies.html$ spip.php?page=article&id_article=155 [QSA,L]
RewriteRule ^politique-de-confidentialite.html$ spip.php?page=article&id_article=170 [QSA,L]


RewriteEngine On
RewriteCond %{HTTP_HOST} ^assemble-experts\.fr [NC]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.assemble-experts\.fr [NC]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]