Msg#: 4419629 posted 5:57 pm on Feb 20, 2012 (gmt 0)
We're a vendor on Clickbank, and this past week, I can't find our index page in google anymore, although inner pages all rank fine as before. I have narrowed this down to possibly having multiple same pages of our index page due to affiliate URLs through Clickbank. So I'm trying to fix this through htaccess rewrite.
What I found when I do a site:example.com is that I find in the results, instead of having our index page, google had our index page with an affiliate's hop ID attached to the end, and I think google might be confused with all the different ending hop ID's of different affiliates and this also leads to duplication issues.
For example, if our site URL was:
There would be many affiliate URLs that look like this:
http://www.example.com/?hop=#*$!XX (where #*$!xx is the affiliate's ID)
And http://www.example.com/?hop=#*$!XX this is the type of URL we found that replaced our index page in google's records (LOL) so I think there's some confusion and possibly a duplicate penalty. I totally overlooked this...
Now I'm trying to fix this through htaccess to do a rewrite that would change all those types of URLS (http://www.example.com/?hop=#*$!XX) to redirect to just my base URL (http://www.mysite.com) without the ending ?hop=#*$!xx)
But I do not have any htaccess knowledge, and was hoping could someone please help me out and let me know what the 2 or 3 lines of code should be to achieve this?
Thanks so much in advance!
[edited by: tedster at 6:15 pm (utc) on Feb 20, 2012] [edit reason] switch to example.com [/edit]
So now the Crawl is set to "Representative URL". There were a few hundred of them. I assume now that I've changed this setting in GWT, that google would/should only crawl/index our original index page, correct?
So can someone help me with the htaccess code to now redirect all the ending "?hop=#*$!" to just root domain? Thanks!