Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Have an SEO question. I have been checking the progress of my site indexing in Google, for some bizarre reason best known to itself, there is a very random URL indexed against my domain which doesnt exist.


Is there a way I can forward the url and querystring to www.footballadvisor.net as a 301 in my htacess file?

Thanks :)

share|improve this question

migrated from stackoverflow.com Aug 11 '11 at 20:40

This question came from our site for professional and enthusiast programmers.

URL that google indexed ,should contain a part that doesn't exist in your site(or parameter in query string) !
Assume there is GGGGGG in that URL(and of course, that's Not in yours), so :

RewriteCond %{REQUEST_URI}   ^\/(.*)GGGGGG(.*)$
RewriteRule   (.*)   http://www.footballadvisor.net [R=301,L]
share|improve this answer
Thanks very much for taking the time to reply, not sure if I have done something wrong but this didnt work :( RewriteCond %{REQUEST_URI} ^\/(.*)Itemid=46(.*)$ RewriteRule (.*) footballadvisor.net [R=301,L] – Richard G Aug 10 '11 at 11:53
@Richard G you should replace GGGGGG with something you that's wrong! – undone Aug 10 '11 at 12:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.