Created
January 27, 2015 13:36
-
-
Save evemilano/579af684bf1ca6d4f9c6 to your computer and use it in GitHub Desktop.
Redirezionare la cartella di accesso
This file contains hidden or 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
| #Rinomina una cartella e forza l'utente al nuovo nome | |
| #Sostituisci 'old' con il nome della vecchia cartella | |
| #Sostituisci 'new' con il nome della nuova cartella | |
| RewriteEngine on | |
| RewriteRule ^/?old([a-z/.]*)$ /new$1 [R=301,L] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Articolo: https://www.evemilano.com/2014/10/esempi-mod-rewrite-htaccess-apache/