2
0
Fork 0
mirror of https://github.com/phanan/htaccess.git synced 2018-11-08 13:39:40 +01:00

small fix

This commit is contained in:
www.bnit.it 2015-08-19 13:27:16 +02:00
parent 62b4e10f02
commit ddf8a129ea

View file

@ -130,7 +130,7 @@ RewriteRule ^ %1 [L,R=301]
``` ```
[Sorgente](https://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url#27264788) [Sorgente](https://stackoverflow.com/questions/21417263/htaccess-add-remove-trailing-slash-from-url#27264788)
### Redirect a Single Page ### Redireziona una singola pagina
``` apacheconf ``` apacheconf
Redirect 301 /vecchiapagina.html http://www.esempio.com/nuovapagina.html Redirect 301 /vecchiapagina.html http://www.esempio.com/nuovapagina.html
Redirect 301 /vecchiapagina2.html http://www.esempio.com/cartella/ Redirect 301 /vecchiapagina2.html http://www.esempio.com/cartella/