Forum Moderators: phranque
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{QUERY_STRING} ^google_doing_this$
RewriteRule ^why\.is$ [mysite.com...] [R=301,L]
a rewrite to 301 any?tags to another file. I tried but I'm ahaving problems. ...maybe becuase of the difference in the?tag so I'm posting mine:
My domains are linked as [mysite.com?tag...] and I entered
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{QUERY_STRING} ^tag$
RewriteRule ^tag$ [mysite.com...] [R=301,L]
it didn't work. what am I doing wrong? A 301 to / would be just as good. I was going to post the follow up there but he suggested that we move any questions here, presumably so others have it easier to find the same solution.
thanks in advance,
You may also need a page name in the substitution ("new URL") as well.
Without knowing how your site works, I can't offer more. If you can be more specific about your page names and how (or if) they are involved, that would help.
Jim
once upon a time I linked from a site of mine to another site with?siteb to track the traffic. Removed the link at least a year ago but the link
http-//www-mysite.com?siteb still shows up with the real index page cache (fairly recent cache too). I have 3 of these tracking urls and they all show as supplemental when I search for a sentence from my front page. Maybe is nothing but I'm afraid that G has them as dupes. My rankings have crashed hard and I can't afford to ignore anything.
as I said, I already removed the links but I want GB to think that mysite.com?siteb is 301d to mysite.com/
Basically, 301 www-mysite.com?siteb to www-mysite.com
thanks again,
301 www.mysite.com?siteb or www.mysite.com/?siteb to www.mysite.com/
Code for .htaccess in Web root directory:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{QUERY_STRING} ^siteb$
RewriteRule ^$ http://www.mysite.com/? [R=301,L]
any downside to linking to them? What would you do? I'm losing a lot of $$ and if this is it...
is there a way to make so dom.com/?anything goes to the index page? I tried adding a * but it didn't work. It would be great to prevent someone from linking to you either on purpose or innocently. Just in case...by the time I find out someone linked that way, it maybe too late for Google.