Forum Moderators: Robert Charlton & goodroi
I am facing some strange problem. let me describe here
I am looking at my site listed in google with urls like,
1)http://www.www.mydomain.com
2)http://wwww.mydomain.com
3)http://www.www.mydomain.com/xyz.jsp
4)http://wwww.mydomain.com/xyz.jsp
5)http://www.mydomain.com
6)http://www.mydomain.com/xyz.jsp
my home page listed three time with different variations in www, same thing for most of the pages.
We are using IIS6.0 and Jrun4.0 IIS Server is Maped with Jrun Application server.
In Addition,
Google's Cache of above pages are like
for wwww and www.www same old pages which were replaced few months back in July
for www it is a regular new home page.
Any idea why?
I hope it doesn't give us a duplicate penalty.
If they are fully indexed, would you mind skicky mailing your domain name. It looks like there are a couple of things that could be happening.
A wildcard dns setup and lack of redirects would be 1st on my list.
Not good.
The only solution is to 301 rewrite from every HTTP_HOST to the canonical one (www or non-www as you wish).
RewriteEngine on
RewriteCond %{HTTP_HOST}!^www\.domain\.com [NC]
RewriteRule ^(.*)$ [domain.com...] [L,R=301]
RewriteCond Host: ^example\.com
RewriteRule (.*) http\://www\.example\.com$1 [I,RP]
or ask your host to do it if you don't have access. I am by no means an expert (and have never run a windows server), so be sure you know what you are doing and have a tool handy to check the headers afterward to make sure everything is working.
RewriteCond %{HTTP_HOST}!^www\.mysite\.com
RewriteRule ^(.*) [mysite.com...] [L,R=301]
I wonder if yours would redirect all subdomains as well where mine allows subdomains. Don't know myself - I just copy this sort of stuff from others then fiddle until it does what I want.
also these URLS are fully loaded and cached show old pages with new header images as images has been replaced with same file names.
Any clue? I talked to my server admin to check http header and dns but no satisfactory answers.
my site is ranking well in MSN and Yahoo but not in google due to this problem.
www.mydomain.com (correct site)
wwww.mydomain.com and
www.www.mydomain.com
Message is "You are not Authorized to view this page or Directory"
Does that mean this pages or directory (wwww and www.www)is exist but not authoried to view. I tried www.www.anyotherdomain.com and display is "Page can not display"
Google listing URLS with wwww and www.www
is this thing common for Google or problem in web server?
Lalo:
wwww.mydomain.com and
www.www.mydomain.com
Message is "You are not Authorized to view this page or Directory"
If you can enter either of the 2 addresses immediately above into a browser, and then receive a response from your site, that means that your DNS server is supplying an IP address for "wrong" web-addresses. You need to give your server admin a damn good tongue-lashing, since s/he is not doing their job properly. Illegal web-addresses do not have IP-addresses associated with them (that is the very definition of "Illegal" in this context).
Lalo:
I tried www.www.anyotherdomain.com and display is "Page can not display"