homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

no url without www
indexing with nonwww

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

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)

how are you redirecting?
what is the status code of the response?


 7:13 pm on Jul 1, 2011 (gmt 0)

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)

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)


[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

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved