Mortillus Posted May 3, 2010 Share Posted May 3, 2010 Bonjour,Je voudrais faire de la récriture url depuis mon module.Le chemin actuellement est module/addonvente/venteprive.phpcomment le changer en venteprive.htmlJ'ai créer une base donner pour que chacun tape ses mot clées ca pas de soucis mais comment tout intégrer.Merci d'avance. Link to comment Share on other sites More sharing options...
liandri Posted May 4, 2010 Share Posted May 4, 2010 Bonjour,plutôt que de toucher à l'htaccess qu'il faudra que tu modifies à chaque mise à jour, pourquoi ne mets-tu pas un fichier à la racine venteprive.php et tu mets dedans : <?php include(dirname(__FILE__).'/module/addonvente/venteprive.php'); ?> plus simple non !?A+ Link to comment Share on other sites More sharing options...
rigobert Posted May 4, 2010 Share Posted May 4, 2010 Du PHP inclus dans un fichier HTML sera à priori servi tel quel au navigateur, donc il ne se passera pas grand chose (à part mettre en ligne le code source).Pour de l'URL rewriting personnalisé, il faut un .htaccess ... personnalisé ! Link to comment Share on other sites More sharing options...
Mortillus Posted May 5, 2010 Author Share Posted May 5, 2010 Je pensais a ton principe mais avec du php Link to comment Share on other sites More sharing options...
liandri Posted May 5, 2010 Share Posted May 5, 2010 Autant pour moi, j'ai écrit trop vite Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now