News:

Wondering if this will always be free?  See why free is better.

Main Menu

Redirect and Google.

Started by srunyon1, February 28, 2011, 02:58:33 PM

Previous topic - Next topic

srunyon1

Ok I have an issue with google not showing my site properly and they say it has to do with
Redirects.
Google says=

"Your site behaves quite poorly.

http://mikrokopter.us/ is getting 302 redirected to http://www.mikrokopter.us/index.php?PHPSESSID=j4ju46h7776dfiarma01h0o696;wwwRedirect  which does not help at all.

At the same time http://www.mikrokopter.us/ stays put and responds with a 200.

You should 301 redirect urls on http://mikrokopter.us/  to the same urls on http://www.mikrokopter.us/ "


now how do I know the difference between a 302 and a 301 redirect?
also I do not get this result every time.. As a matter of fact for me to see it I had to go through a proxy service to see it. and today it seems to be gone.
what I see now is the same as I get for this site.

http://www.mikrokopter.us/index.php?wwwRedirect

my .htaccess file looks like this.. if I remove the line about mikrokopter.us if fails to show images.. so is this 301 or 302?

RewriteEngine on
AddHandler application/x-httpd-php5s .php

RewriteCond %{HTTP_REFERER} !^http://hexakopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://hexakopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://macsframes.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://macsframes.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://macsframes.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://macsframes.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.macsframes.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.macsframes.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.marlinhoa.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.marlinhoa.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.ziggys-cyber-artz.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.ziggys-cyber-artz.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://marlinhoa.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://marlinhoa.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://marlinhoa.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://marlinhoa.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://microcopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://microcopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopter-biz.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopter-biz.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopter.biz/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopter.biz$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopters.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopters.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopters.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mikrokopters.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://multirotorhelis.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://multirotorhelis.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://multirotorhelis.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://multirotorhelis.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://multirotorhelis.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://multirotorhelis.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://oktokopter.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://oktokopter.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://oktokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://oktokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://quadrocopters.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://quadrocopters.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rcquadrotor.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rcquadrotor.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.hexakopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.hexakopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.macsframes.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.macsframes.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.macsframes.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.macsframes.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.macsframes.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.macsframes.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.marlinhoa.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.marlinhoa.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.ziggys-cyber-artz.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.ziggys-cyber-artz.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.marlinhoa.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.marlinhoa.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.marlinhoa.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.marlinhoa.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.microcopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.microcopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopter-biz.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopter-biz.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopter.biz/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopter.biz$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopters.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopters.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopters.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mikrokopters.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.multirotorhelis.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.multirotorhelis.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.multirotorhelis.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.multirotorhelis.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.multirotorhelis.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.multirotorhelis.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.oktokopter.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.oktokopter.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.oktokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.oktokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.quadrocopters.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.quadrocopters.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rcquadrotor.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rcquadrotor.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ziggys-cyber-artz.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ziggys-cyber-artz.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ziggys-cyber-artz.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ziggys-cyber-artz.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zigzter.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zigzter.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zigzter.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zigzter.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ziggys-cyber-artz.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ziggys-cyber-artz.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ziggys-cyber-artz.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ziggys-cyber-artz.mikrokopter.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zigzter.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zigzter.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zigzter.mikrokopter.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zigzter.mikrokopter.us$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

what do I need to add to have all of mikrokopter.us go to www.mikrokpter.us? as a 301 redirect..

thanks!!! for any help

Zig

Arantor

Not submitting the URL without the www part would help ;)

Well, I think you will want something akin to
RewriteCond %{HTTP_HOST} ^mikrokopter.us$ [NC]
RewriteRule (.*) http://www.mikrokopter.us/ [R]

Advertisement: