SetEnv PHP_VER 5
# index.html sous / (www de ovh) est le fichier affiche a la saisie de l URL sans no de fichier style html
DirectoryIndex index.php
#
#Options +FollowSymlinks
#RewriteCond %{HTTP_HOST} ^dev-ventes.nuxit.net$
#RewriteRule ^(.*) http://dev-ventes.nuxit.net/$1 [QSA,L,R=301] 
#
#
#fait traiter en php5 toute page ayant une extension .php  NUXIT UNIQUEMENT Perturbe WAMP5
AddHandler x-httpd-php5 .php
AddType application/x-httpd-php5 .php
#
#
# ce redirect fonctionne  
RedirectMatch 301 /methodologies_commerciales_et_marketing.htm  /methodologies-entreprise-marketing-commercial-management-organisation.php
#
#
#reecrit l'expression et applique une redirection 301 mais parasite de fin 
#RewriteRule ^fiche_reference\.htm(.*)$    http://dev-ventes.nuxit.net/references.php [R=301]
#
#
ErrorDocument 404 /accueil-intermediaire.php
#
#
#  fonctionne - tout ce qui commence par fiche_formation.htm peu importe la suite est redirigé
#RedirectMatch  301 ^/fiche_formation.htm(.*)$   /formations-coaching-commercial-management.php 
# 
#
# les statiques ci apres :
#RedirectMatch  301 /nous_contacter.htm  	           /contact-dvv2.php
#RedirectMatch 301 /visuel_approche_globale_commerciale_et_marketing.htm    /approche-globale-marketing-commerciale.php
#RedirectMatch  301 /formation_commerciale_marketing.htm    /catalogue-formations-coaching-commercial-marketing-management.php
#RedirectMatch  301 /audit_commercial_assistance_conseil.htm    /conseil-assistance-marketing-commercial-vente-management-organisation.php
#RedirectMatch  301 /referencer_-_referencement_sur_google.htm   http://www.referencement-positionnement-sites.com/
#RedirectMatch  301 /mieux_vendre_avec_internet.htm 		http://www.referencement-positionnement-sites.com/
#RedirectMatch  301 /technologies.htm		                http://www.referencement-positionnement-sites.com/
#RedirectMatch  301 /references.htm 	                   /references.php
#RedirectMatch  301 /production_prestations_marketing_ou_commerciales.htm 	/marketing-strategique-produit-direct.php
#
# un paquet de lignes de ce type à rediriger
#RedirectMatch 301 /fiche_formation.htm?ID=4 	/formations-coaching-commercial-management.php	 
#RedirectMatch 301 /fiche_formation.htm?ID=5 	/formations-coaching-commercial-management.php	
#RedirectMatch 301 /fiche_formation.htm?ID=9 	catalogue-formations-coaching-commercial-marketing-management.php   	
#RedirectMatch 301 /fiche_formation.htm?ID=3 	/formations-coaching-commercial-management.php  
#RedirectMatch 301 /fiche_formation.htm?ID=1 	http://www.referencement-positionnement-sites.com/formations-web-marketing-google.php
#RedirectMatch  301 /fiche_formation.htm?ID=2 	http://www.referencement-positionnement-sites.com/formations-web-marketing-google.php
#RedirectMatch  301 /fiche_formation.htm?ID=10	/formations-coaching-management-des-hommes.php
#RedirectMatch  301 /fiche_formation.htm?ID=8	/formations-coaching-management-des-hommes.php
#RedirectMatch  301 /fiche_formation.htm?ID=7	/formations-coaching-commercial-management.php
#RedirectMatch  301 /fiche_formation.htm?ID=6	/formations-coaching-commercial-management.php
#
#
#RedirectMatch  301 /fiche_partenaire.htm\?ID=1	http://www.referencement-positionnement-sites.com/
#RedirectMatch  301 /fiche_partenaire.htm?ID=2	http://www.referencement-positionnement-sites.com/
#
#
#RedirectMatch  301 /fiche_prestation_production.htm?ID=5	http://www.referencement-positionnement-sites.com/
#RedirectMatch  301 /fiche_prestation_production.htm?ID=4	/marketing-direct-produit-relationnel.php
#RedirectMatch  301 /fiche_prestation_production.htm?ID=3	http://www.referencement-positionnement-sites.com/
#
# le redirectmatch suivant ne fonctionne pas - je pige pas pourquoi car il est correct
#RedirectMatch  301 ^/fiche_reference\.htm\?ID\=[0-9]+$   /references.php
#
#  fonctionne - tout ce qui commence par fiche_reference.htm peu importe la suite est redirige
# mais un parasite apres php :  http://dev-ventes.nuxit.net/references.php?ID=1
#RedirectMatch  301 ^/fiche_reference\.htm(.*)$   http://dev-ventes.nuxit.net/references.php
#RedirectMatch  301 ^(.*)\.htm$   http://dev-ventes.nuxit.net/accueil-intermediaire.php/
#
#
#RewriteRule ^fiche_reference\.htm(.*)$ /accueil-intermediaire.php [QSA,L,R=301]
#
# le ?  permet de bloquer le QSA à null et ainsi de ne pas avoir de parasite ?id=4 etc. 
RewriteEngine on
#
#  empeche index.php ET AUCUN RISQUE d'empecher un sous domaine formation.developpezvosventes - verifié sur test.developpezvosventes.com => impec
RewriteRule ^(.*)ndex\.php$ http://www.developpezvosventes.com/? [R=301,L]
#
RewriteRule ^(.*)ous_contacter\.htm$ /contact-dvv2.php? [R=301,L]
RewriteRule ^(.*)isuel_approche_globale_commerciale_et_marketing\.htm$ /approche-globale-marketing-commerciale.php? [R=301,L]
RewriteRule ^(.*)ormation_commerciale_marketing\.htm$ /catalogue-formations-coaching-commercial-marketing-management.php? [R=301,L]
RewriteRule ^(.*)udit_commercial_assistance_conseil\.htm$ /conseil-assistance-marketing-commercial-vente-management-organisation.php? [R=301,L]
RewriteRule ^(.*)referencer_-_referencement_sur_google\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
RewriteRule ^(.*)mieux_vendre_avec_internet\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
RewriteRule ^(.*)technologies\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
RewriteRule ^(.*)references\.htm$ /references.php? [R=301,L]
RewriteRule ^(.*)production_prestations_marketing_ou_commerciales\.htm$ /marketing-strategique-produit-direct.php? [R=301,L]
RewriteRule ^(.*)methodologies_commerciales_et_marketing\.htm$ /methodologies-entreprise-marketing-commercial-management-organisation.php? [R=301,L]
#
#
# ce qui suit est bloqué par QSA c à d un ? dans URL  - apache s'arrete faut donc tester qsa via un rewriteCond
#RewriteRule ^(.*)iche_formation\.htm[?][A-Z]{2}[=][4]{1}$ /formations-coaching-commercial-management.php [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=4$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-commercial-management.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=5$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-commercial-management.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=9$
RewriteRule ^(.*)iche_formation\.htm$ /catalogue-formations-coaching-commercial-marketing-management.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=3$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-commercial-management.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=1$
RewriteRule ^(.*)iche_formation\.htm$ http://www.referencement-positionnement-sites.com/formations-web-marketing-google.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=2$
RewriteRule ^(.*)iche_formation\.htm$ http://www.referencement-positionnement-sites.com/formations-web-marketing-google.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=10$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-management-des-hommes.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=8$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-management-des-hommes.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=7$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-management-des-hommes.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=6$
RewriteRule ^(.*)iche_formation\.htm$ /formations-coaching-management-des-hommes.php? [R=301,L]
#
#
RewriteCond %{QUERY_STRING} ^ID=1$
RewriteRule ^(.*)iche_partenaire\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=2$
RewriteRule ^(.*)iche_partenaire\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
#
#
RewriteCond %{QUERY_STRING} ^ID=5$
RewriteRule ^(.*)iche_prestation_production\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=3$
RewriteRule ^(.*)iche_prestation_production\.htm$ /marketing-direct-produit-relationnel.php? [R=301,L]
RewriteCond %{QUERY_STRING} ^ID=4$
RewriteRule ^(.*)iche_prestation_production\.htm$ http://www.referencement-positionnement-sites.com/? [R=301,L]
#
#
#
#la derniere position pour ce rewrite qui gere tout ce qui n'a pas ete traite par les precedents rewriterule
RewriteRule ^(.*)\.htm$ /accueil-intermediaire.php? [R=301,L] 
#
#RewriteCond %{HTTP_HOST} ^developpezvosventes.com$
#RewriteRule ^(.*) http://www.developpezvosventes.com/$1 [QSA,L,R=301] 
#
#
#RedirectMatch  301 /fiche_reference.htm?ID=1	/references.php 
#RedirectMatch  301 /fiche_reference.htm?ID=2	/references.php
#RedirectMatch  301 /fiche_reference.htm?ID=3	/references.php
#RedirectMatch  301 /fiche_reference.htm?ID=22	/references.php
#

