Brent W
Well-known member
This url: http://www.v6mustang.com/vb/f5/mustang-1994-3-8l-v6-1996-3-8l-v6-swap-244508/index2.html
Should go to this url: http://www.v6mustang.com/threads/mustang-1994-3-8l-v6-to-a-1996-3-8l-v6-swap.244508/page-2
Should it not?
Currently it 404's and doesn't redirect at all to the new url structure. If you remove the index2.html part it redirects to the first page fine.
rewrites:
Should go to this url: http://www.v6mustang.com/threads/mustang-1994-3-8l-v6-to-a-1996-3-8l-v6-swap.244508/page-2
Should it not?
Currently it 404's and doesn't redirect at all to the new url structure. If you remove the index2.html part it redirects to the first page fine.
rewrites:
Code:
location /vb/ {
rewrite ^/vb/f[\d]+/.+-([\d]+)/index([\d]+).html /vb/showthread.php?t=$1&page=$2 last;
rewrite ^/vb/f[\d]+/.+-([\d]+)/ /vb/showthread.php?t=$1 last;
rewrite ^/vb/f([\d]+)/index([\d]+).html /vb/forumdisplay.php?f=$1&page=$2 last;
rewrite ^/vb/f([\d]+)/ /vb/forumdisplay.php?f=$1 last;
}