|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I've placed the following directive into an .htaccess stored in
/galleries/Cambodia: redirect 301 /galleries/Cambodia/BKKtoSiemReap/ http://www.molon.de/galleries/Cambod...BKKtoSiemReap/ If you enter this into the browser the redirect works fine: http://www.molon.de/galleries/Cambodia/BKKtoSiemReap/ but this produces a 404 error: http://www.molon.de/galleries/Cambodia/BKKtoSiemReap (no slash at the end) What do I need to do to make also the second request redirect to galleries/Cambodia/Overland/BKKtoSiemReap/ ? -- Alfred Molon http://www.molon.de - Photos of Asia, Africa and Europe |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Alfred Molon <alfred_molon@yahoo.com> wrote:
> What do I need to do to make also the second request redirect to > galleries/Cambodia/Overland/BKKtoSiemReap/ ? redirect 301 /galleries/Cambodia/BKKtoSiemReap http://www.molon.de/galleries/Cambod...BKKtoSiemReap/ or combine to one rule: redirectmatch 301 ^/galleries/Cambodia/BKKtoSiemReap/?$ http://www.molon.de/galleries/Cambod...BKKtoSiemReap/ /? = optional / ^ + $ makes it an exact match -- John Bokma http://johnbokma.com/ |
|
![]() |
| Outils de la discussion | |
|
|