Forum Moderators: phranque
The good page is not [mydomain.com...] it's [mydomain.com...] , without the double slash at the end, so I want to redirect it.
I do this:
#RewriteRule ^blog/([0-9]{4})/([0-9]{2})/([0-9]{2})//$ ^blog/$1/$2/$3/ [R=301,L]
But it doesn't work, how can I do it?
Thanks
RewriteRule ^blog/([0-9]{4})/([0-9]{2})/([0-9]{2})//$ [b]http://example.com/b[/b]log/$1/$2/$3/ [R=301,L]
Jim
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /blog/[0-9]{4}/[0-9]{2}/[0-9]{2}//\ HTTP/
RewriteRule ^blog/([0-9]{4})/([0-9]{2})/([0-9]{2})/$ http://example.com/blog/$1/$2/$3/ [R=301,L]