For whatever reason, Google is attempting to crawl URL strings associated with the voting feature on my site. Google finds errors and shows these in Webmaster Tools. I'd like to create a catch all 301 rule that resolve to the URL featuring the voting.

So these:

(dapplegray.php represents the page name, 1-5 being the vote values).

..would resolve to: http://bussongs.com/songs/dapplegray.php

有帮助吗?

解决方案

You can use this RedirectMatch rule as your first rule:

RedirectMatch 301 ^/vote/dapplegray\.php/ /songs/dapplegray.php
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top