lereveurgop Posted April 9, 2010 Share Posted April 9, 2010 Bonjour,Voici mon site que je construit : http://www.gopandgo.com/www_webautoecole/Les liens CMS en haut dans la barre horizontale, dans informations, et en pied de page ne marchent pas.Auriez vous une idée du pourquoi et du comment ?Merci ;-) Link to comment Share on other sites More sharing options...
jeckyl Posted April 9, 2010 Share Posted April 9, 2010 Salut,tu as activé l'url simplifié dans tes préférences, mais as tu généré ton fichier htacces ? Link to comment Share on other sites More sharing options...
lereveurgop Posted April 9, 2010 Author Share Posted April 9, 2010 oui voici mon fichier access... AddType x-mapp-php5 .php# URL rewriting module activationRewriteEngine onRewriteBase /# URL rewriting rulesRewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]# Catch 404 errorsErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
jeckyl Posted April 9, 2010 Share Posted April 9, 2010 Et cela fonctionne sans l'url simplifiée ? Link to comment Share on other sites More sharing options...
noblemccall Posted April 9, 2010 Share Posted April 9, 2010 Great post mate, Thanks! Link to comment Share on other sites More sharing options...
lereveurgop Posted April 9, 2010 Author Share Posted April 9, 2010 oui sans url simplifié ça marche très bien ! Link to comment Share on other sites More sharing options...
phil46 Posted April 9, 2010 Share Posted April 9, 2010 Re,cela vient automatiquement du htaccessEst ce que tu as mis çà par rapport à un quelconque serveur genre 1and1 ovh ou autre ? AddType x-mapp-php5 .php 1/supprimer l'ancien htaccess, remettre un nouveau fichier vide via ftp le nommer htaccess.txt avant transfert et le renommer ensuite .htaccess2/regénérer un nouveau htacess depuis l'admin du site.A+Phil Did 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