Hi,
I get 404 crawl errors from google because other sites encode my urls. I would like to redirect those bad urls to the real ones.
There are two patterns that I'd like to fix:
1)
mysite.com/wp-content/themes/whatever/thumbnail.php%3Fsrc%3Dhttp://mysite.net/wp-content/uploads/2009/09/myimage.jpg%26h%3D200%26w%3D165%26zc%3D1
should be redirected to:
mysite.com/wp-content/themes/whatever/thumbnail.php?src=http://mysite.net/wp-content/uploads/2009/09/myimage.jpg&h=200&w=165&zc=1
2)
mysite.com/wp-content/uploads/2009/09/myimage.jpg%3Fggnoads
should be redirected to:
mysite.com/wp-content/uploads/2009/09/myimage.jpg?ggnoads
Is this doable via htaccess?