Forum Moderators: phranque

Message Too Old, No Replies

Weird tag added to URL in SERPS

Located many more on other sites, Why?

         

Terabytes

5:19 pm on Nov 24, 2010 (gmt 0)

10+ Year Member



Hey!

ok, so I'm perusing a customers site with the "site:" command...

I run across a link like this:
www.example.com/?linkProvidedBy=WANDInc

what gives? How was that accomplished?
I'm pretty sure the site hasn't been hacked, the actual page title for that particular link is about 6 months old...

I searched the tag, and found "several" other pages with this tag applied on other websites...all seem to be the main page of the respective site.

I'm concerned about dup content, I'm concerned about how it happened, I'm concerned about effect...

(did I mention I'm concerned?) :)

Can I have this "page" removed thru WMT?

anyone have any thoughts on this?
thanks for your time!
Tera

bwnbwn

6:07 pm on Nov 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Terabytes
This was a discussion here.
[webmasterworld.com...]
I brought this back up here.
[webmasterworld.com...]

This querry needs to be 404'd and not allowed to resolve a 200. I have a fix for mine finally that was a complicated one due to our cms, and what need to pass and block anything else. We use isapi so I paid for support and it was the best money I spent in a long time.

I would advise you to do the same as what I have been trying to get our IT to fix for months took them about 20 minutes to give me the fix.

Terabytes

6:41 pm on Nov 24, 2010 (gmt 0)

10+ Year Member



Awesome! I resolved the query with your help...and the samples you provided...

RewriteCond %{QUERY_STRING} linkProvidedBy=
RewriteRule (.*) http://www.example.com/$1? [R=301]

Thanks! have a great Thanksgiving!
Tera

bwnbwn

7:11 pm on Nov 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Very hapy to be of assistance. You have a great Thanksgiving as well.

Tera I would look at blocking anything that could link to the page.

will

http://www.example.com/?anything

reslove?

g1smd

9:51 pm on Nov 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Change the [R=301] flag to [R=301,L].

Terabytes

10:15 pm on Nov 24, 2010 (gmt 0)

10+ Year Member



doesn't the "L" stop processing? I have other items after this....

Thanks!

Terabytes

10:19 pm on Nov 24, 2010 (gmt 0)

10+ Year Member



will

http://www.example.com/?anything

resolve?


yes it does...

so, now... how do I stop "any" tags after the URL?

phranque

6:00 am on Nov 25, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



typically the "L" flag will be appropriate if you use the Proper Order for htaccess [webmasterworld.com].

bwnbwn

7:01 pm on Nov 25, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Terabytes why I suggested you get some help because I can't give you the rule due to your site is different. You will have to have the rule written to allow what the site needs to operate and block the rest.

phranque

7:36 am on Nov 26, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



are you saying the canonical urls will never have a query string?

if this is true then you could generalize the rule condition to check for any query string:
RewriteCond %{QUERY_STRING} .
RewriteRule (.*) http://www.example.com/$1? [R=301,L]

if this is not true then you must do as bwnbwn suggested and modify the rule condition(s) so that the "good" query strings are allowed and the rest are redirected.