Forum Moderators: phranque
http://www.example.com/index.php?action=results&event_ident=7 The above url simply shows my home page in the browser, but obviously I would rather that Yahoo indexed http://www.example.com/.
I have tried my usual method of redirecting this but it doesn't work
Redirect 301 /index.php?action=results&event_ident=7 http://www.example.com/ Anyone got any suggestions?
Sorry guys, I don't even know where to start with that.
Jim's been using this example lately.
RewriteEngine On
RewriteRule ^foo\.html$ [webmasterworld.com...] [R=301,L]
bouncybunny:
I really really wish I could say that helped, but I'm clearly way out of my depth here.
Don't feel bad. You'd have to know enough about writing mod_rewrite regular expressions to have half a clue of how to even do a site search to find the first piece of the puzzle, which would be the first step to finding a solution.
Clue 1: It's got something to do with query strings.
Clue 2: ______________________
[edited by: jdMorgan at 12:44 am (utc) on Feb. 13, 2008]
[edit reason] Spliced thread [/edit]
They have
/widgets?D=A
/widgets?M=A
/widgets?D=D
/gadgets?N=D
/gadgets/?N=D
The bad part is that the /realdirectory/ gets knocked out of the index. IMHO it's some kind of scraping/hijacking issue because it's on a couple of sections that *were* well trafficked for some seasonal stuff.
It also happens with wiseguys who log-spam using
www.example.com/?mycrummyspammingsite.html
to let you know they visited.
[webmasterworld.com...]
Works fine.