Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > Crawling, indexing, and ranking > Google search results in IP address
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MonaCat  
View profile  
 More options Jun 2 2008, 9:15 pm
From: MonaCat
Date: Mon, 2 Jun 2008 18:15:10 -0700 (PDT)
Local: Mon, Jun 2 2008 9:15 pm
Subject: Google search results in IP address
I want my website name to show, but a search for my site only shows IP
address.  How do I correct this?  Thanks!
www.MonaCat.com
98.131.12.171

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
webado  
View profile  
 More options Jun 2 2008, 10:18 pm
From: webado
Date: Mon, 2 Jun 2008 19:18:34 -0700 (PDT)
Local: Mon, Jun 2 2008 10:18 pm
Subject: Re: Google search results in IP address
You can use the .htaccess file to 301 redirect all urls access on the
ip address to what they are using the domain.

If you  already have an .htaccess file in the root of the website
(i.e. same place where you have the index.html file ) then download it
by ftp using etxt or ASCII transfer mode.

If you don't have it, create it using Notepad and saved under the
name  .htaccess  .

Edit thsi file in Notepad and add to it:

Options +Indexes +FollowSymlinks
RewriteEngine on
RewriteBase /

### re-direct index.html to root / ###
RewriteCond %{THE_REQUEST} ^.*\/index\.html\ HTTP/
RewriteRule ^(.*)index\.html$ /$1 [R=301,L]

### re-direct IP address to www
### re-direct non-www to www
### re-direct any parked domain to www of main domain
RewriteCond %{http_host} !^www.monacat.com [nc]
RewriteRule ^(.*)$ http://www.monacat.com/$1 [r=301,nc,L]

Save and upload by FTP to the root folder using text or ASCII transfer
mode.

Just to warn you though that you have to also change your website's
navigation so you don't refer to the homepage as index.html . Use the
domain root url "http://www.monacat.com/" alone for the link to the
homepage (or intro as you call it).

The directives in the .htaccess file will do the following:

1) will redirect any url appearing with the IP address to the
corresponding url on the domain http://www.monacat.com/ .
2) will redirect any url on http://monacat.com/ to the corresponding
url on http://www.monacat.com/
3) will redirect any access to http://www.monacat.com/index.html to
http://www.monacat.com/  .

Because of 3)  you have to fix your navigation at the same time,
otherwise you will create redirecitons during navigation of the site,
and that's no good.

These directives are very useful to resolve canonical issues, i.e. www
and non www and/or  IP address urls coexisting, as well as multiple
urls for the homepage. You currently have 6 of them:

http://www.monacat.com/
http://www.monacat.com/index.html
http://monacat.com/
http://monacat.com/index.html
http://98.131.12.171/
http://98.131.12.171/index.html

The .htaccess will consolidate all of them under http://www.monacat.com/
and the rest of the site will go by http://www.monacat.com/ prefixed
urls.

On Jun 2, 9:15 pm, MonaCat wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MonaCat  
View profile  
 More options Jun 3 2008, 7:51 am
From: MonaCat
Date: Tue, 3 Jun 2008 04:51:55 -0700 (PDT)
Local: Tues, Jun 3 2008 7:51 am
Subject: Re: Google search results in IP address
Thank you!  It is redirecting to my site.  Is there a way to make
google show correctly right off the bat?

On Jun 2, 10:18 pm, webado wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
webado  
View profile  
 More options Jun 3 2008, 8:08 am
From: webado
Date: Tue, 3 Jun 2008 05:08:47 -0700 (PDT)
Local: Tues, Jun 3 2008 8:08 am
Subject: Re: Google search results in IP address
It has to crawl first in order to update all the urls. It will
eventually.

It doesn't matter that you still see the old urls if  visitors
(including robots)  get redirected properly.

On Jun 3, 7:51 am, MonaCat wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MonaCat  
View profile  
 More options Jun 3 2008, 8:09 am
From: MonaCat
Date: Tue, 3 Jun 2008 05:09:57 -0700 (PDT)
Local: Tues, Jun 3 2008 8:09 am
Subject: Re: Google search results in IP address
Also, I am not sure if I did this?  I saved it, but don't know about
uploading.

"Save and upload by FTP to the root folder using text or ASCII
transfer
mode."

Thanks


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
webado  
View profile  
 More options Jun 3 2008, 8:21 am
From: webado
Date: Tue, 3 Jun 2008 05:21:53 -0700 (PDT)
Local: Tues, Jun 3 2008 8:21 am
Subject: Re: Google search results in IP address
You must have done it OK or it wouldn't be redirecting now.

----------

Golly! Scared the bejesus out of me! I had opened your homepage in
another tab and then came back here to post and I started hearing all
those shutter sounds and no idea where they were coming from! LOL

On Jun 3, 8:09 am, MonaCat wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MonaCat  
View profile  
 More options Jun 3 2008, 8:25 am
From: MonaCat
Date: Tue, 3 Jun 2008 05:25:31 -0700 (PDT)
Local: Tues, Jun 3 2008 8:25 am
Subject: Re: Google search results in IP address
Sorry!  Thank you for your help!

On Jun 3, 8:21 am, webado wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google