Welcome to WebmasterWorld Guest from 23.20.37.222

Forum Moderators: phranque

Message Too Old, No Replies

no url without www

indexing with nonwww

     
1:06 pm on Jul 1, 2011 (gmt 0)

10+ Year Member



my website all non www url redirect to www url but still google is indexing without www and i have checked the date of crawl which is very recent. there is no direct link with non www for the domain anywhere.

what is the next check i should have...
1:50 pm on Jul 1, 2011 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



how are you redirecting?
what is the status code of the response?
7:13 pm on Jul 1, 2011 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Two Google searches will give you more detail at to what is going on:

[site:www.example.com] and [site:example.com -inurl:www]

One search should give no results.

The root URL should be the first item in the other list.
12:15 pm on Jul 2, 2011 (gmt 0)

10+ Year Member



i am using htaccess 301 redirect to non www to www url from the very 1st second when site is live.

Options +FollowSymLinks
RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
12:18 pm on Jul 2, 2011 (gmt 0)

10+ Year Member



@g1SMD

[site:www.example.com] gives me all url with www including home page

[site:example.com -inurl:www] gives me home page with no www
 

Featured Threads

Hot Threads This Week

Hot Threads This Month