Last active
August 29, 2015 14:07
-
-
Save br1o/28db068865342a0743d0 to your computer and use it in GitHub Desktop.
Redirection htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quelqu'un.e pourrait m'indiquer comment faire une redirection .htaccess (réécriture d'URL) pour rediriger les adresses de type : | |
http://css.4design.tl/files/2012/05/github-windows.png | |
vers : | |
http://css.4design.tl/wp-content/blogs.dir/2/files/2012/05/github-windows.png | |
Merci d'avance, | |
Pour info, voici mon .htaccess : | |
#Activer php5 sur ovh | |
SetEnv PHP_VER 5_4 | |
# BEGIN WordPress | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
# uploaded files | |
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^ - [L] | |
RewriteRule . index.php [L] | |
# END WordPress | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dynamicnet > pas d'erreur, mais l'image ne s'affiche toujours pas. Pour info, j'ai ajouté le contenu du fichier .htaccess dans le gist