GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   SEO Help! IP Showing up in Google instead of URL! (https://gfy.com/showthread.php?t=798210)

Socks 01-08-2008 05:59 PM

SEO Help! IP Showing up in Google instead of URL!
 
http://www.google.ca/search?q=britis...ient=firefox-a

Second link on the page, it's showing our IP, which leads to a busted page

The real page is http://www.adultsitesurfer.com/alphalist.php?pattern=B

What are we doing wrong? How do we stop this from happening?

WiredGuy 01-08-2008 06:03 PM

My guess is you have an open directory to your logs and there's a link from there to your most active pages and that's how Google found the link.
WG

Socks 01-08-2008 06:06 PM

Hey what's up WG! Won't see you in Vegas unfortunately this year, can't go due to baby coming...

Thanks, I'll have a look and see, I wonder where else we might be doing something stupid like this..

Socks 01-08-2008 06:10 PM

Hey if we 301 redirect the IP to the domain, is there a way to do it so we only have to write one line, instead of 5,000 lines and it will know to keep everything after .com/ the same?

Socks 01-08-2008 06:15 PM

Apparently our logs are outside of the webroot, so there's no way google could be getting 'em.. argh

GrouchyAdmin 01-08-2008 06:20 PM

Code:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond &#37;{SERVER_NAME} !^(www.?)domain.com$ [NC]
  RewriteRule .* http://www.domain.com%{REQUEST_URI} [QSA,R=permanent,L]
</IfModule>

I haven't tested the above, but it feels right to me.

WiredGuy 01-08-2008 06:21 PM

Quote:

Originally Posted by Socks (Post 13626212)
Apparently our logs are outside of the webroot, so there's no way google could be getting 'em.. argh

Maybe your link tracking script or something else. Somewhere on the web they found your ip via a link and followed that is likely the cause.
WG

V_RocKs 01-08-2008 06:24 PM

That also works for redirecting the non www portion. Would solve a problem you might not know you have.

V_RocKs 01-08-2008 06:25 PM

Probably happened when you first began the website. And Google has been keeping two books for you the entire time.

Socks 01-08-2008 07:28 PM

I hope it hasn't been happening since 2002... fuck :P

I'll try to get this handled tonight, I think 301 is probably the best way

Jenny S. 01-08-2008 07:39 PM

When you register a new domain it is accessible as IP immediately, even though the domain name is not (yet). To have the name go through may take up to 72 hours. You obviously submitted the domain to Google before your domain name was there. Their system logged the numeric IP, and has been doing it ever since.

OzMan 01-08-2008 07:50 PM

Quote:

Originally Posted by Socks (Post 13626455)
I hope it hasn't been happening since 2002... fuck :P

I'll try to get this handled tonight, I think 301 is probably the best way

Well Google first indexed it a year ago and still has 28 pages indexed.

I scanned your site's pages and couldn't see the link.

Like WG said, there must have been a link to follow from somewhere and apparently there still is as of two days ago so try to think what changes you did in the first week of Jan 2007 that involved those pages.

ztik 01-08-2008 07:55 PM

Quote:

Originally Posted by Jenny S. (Post 13626495)
When you register a new domain it is accessible as IP immediately, even though the domain name is not (yet). To have the name go through may take up to 72 hours. You obviously submitted the domain to Google before your domain name was there. Their system logged the numeric IP, and has been doing it ever since.

think before you post

Jenny S. 01-08-2008 08:05 PM

Quote:

Originally Posted by ztik (Post 13626547)
think before you post

Why don't you fucking avoid my posts, asshat? In every fucking message I post you pop in after with some smart-ass comment? Do I remind you of your fucking Momma, or something? Fucking push the ignore button, will ya?

OzMan 01-08-2008 08:07 PM

this might be it

http://www.adultsitesurfer.com/pastfeatures.php

goes to http://208.101.9.239/features.html

Steve Awesome 01-08-2008 08:19 PM

Couple of things you can do.

1. Go to the google webmaster tools, add the site by the IP, then exclude all the results in the index.

http://www.google.com/webmasters/tools/

2. You can use mod_rewrite to create a custom robots.txt file so you can exclude all search engines when crawling the IP. Here's a handy group of tip sheets on mod_rewrite:

http://www.ilovejackdaniels.com/chea...e-cheat-sheet/

Socks 01-08-2008 08:26 PM

Quote:

Originally Posted by OzMan (Post 13626605)

You are the fucking man. How can we do business? Get at me man, [email protected] I use spam arrest tho, gotta answer it.. I'm a get that dealt with!

Socks 01-08-2008 08:27 PM

Quote:

Originally Posted by Steve Awesome (Post 13626656)
Couple of things you can do.

1. Go to the google webmaster tools, add the site by the IP, then exclude all the results in the index.

http://www.google.com/webmasters/tools/

2. You can use mod_rewrite to create a custom robots.txt file so you can exclude all search engines when crawling the IP. Here's a handy group of tip sheets on mod_rewrite:

http://www.ilovejackdaniels.com/chea...e-cheat-sheet/

Wow nice!! We've definitely had our fair share of mod_rewrite issues over the past year, lemme tell ya

Socks 01-08-2008 09:09 PM

Quote:

Originally Posted by GrouchyAdmin (Post 13626241)
Code:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{SERVER_NAME} !^(www.?)domain.com$ [NC]
  RewriteRule .* http://www.domain.com%{REQUEST_URI} [QSA,R=permanent,L]
</IfModule>

I haven't tested the above, but it feels right to me.

We used this and it worked as you expected. :)

Thanks a ton man, if you need something from me let me know, let's do business. :)

Your code + OzMan's detective work = golden.

So now that I have you here... Lemme ask:

http://www.adultsitesurfer.com/alphalist.php?pattern=B

Should we be telling google not to index these pages? What's the best way to do that? We want google to use them and follow the links, but I'm not sure if it's advantageous to have them indexed?

Socks 01-09-2008 01:05 AM

To robots it or not to robots it? Ideas?

Any use having an alpha list in the index?


All times are GMT -7. The time now is 08:13 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123