Bonjour,
J'aimerais faire en sorte que l'url rewriting marche aussi sur mes sous domaines, du style :
sous.domaine.tld/index.php?cat=truc
sous.domaine.tld/truc.html
mais aucun moyen de le faire fonctionner...
Voici un morceau de mon fichier .htaccess
J'aimerais faire en sorte que l'url rewriting marche aussi sur mes sous domaines, du style :
sous.domaine.tld/index.php?cat=truc
sous.domaine.tld/truc.html
mais aucun moyen de le faire fonctionner...
Voici un morceau de mon fichier .htaccess
Code:
ErrorDocument 404 /404.php
RewriteEngine on
RewriteRule ^([a-z,A-Z,0-9,_]+)\.html$ index.php?cat=$1 [L]
RewriteRule ^admin-([a-z,A-Z,0-9,_]+)\.html$ index.php?cat=admin&admin=$1 [L]