質問

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