Pergunta

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

Foi útil?

Solução

You can use this RedirectMatch rule as your first rule:

RedirectMatch 301 ^/vote/dapplegray\.php/ /songs/dapplegray.php
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top