-2
Vous voulez transmettre les éléments suivants:Comment écrire .htaccess mod_rewrite règles pour ces cas?
localhost/bla/index.html -> localhost/index.php?s=bla/index.html
localhost/blub.html -> localhost/index.php?s=blub.html
localhost/blog.html?site=10 -> localhost/index.php?s=blog.html&site=10
localhost/folder -> localhost/index.php?s=folder
mais je veux seulement ne rediriger .html et dossiers.
très agréable. Je vous remercie. comment puis-je faire cela travailler avec .html et .php aussi? –
Qu'entendez-vous par là? –
si je veux utiliser .php et .html (localhost/bla.php -> localhost/index.php? S = bla.php –