Question

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

Was it helpful?

Solution

You can use this RedirectMatch rule as your first rule:

RedirectMatch 301 ^/vote/dapplegray\.php/ /songs/dapplegray.php
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top