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)
-   -   How to keep photo galleries out of SE's, but keep them available to Google Images? (https://gfy.com/showthread.php?t=843976)

Socks 07-27-2008 05:40 AM

How to keep photo galleries out of SE's, but keep them available to Google Images?
 
How can I make sure my lots of photos type pages aren't being indexed, but also let google images use them?

Will robots.txt keep google image bot or whatever out?

Better to noindex, follow? Or does noindex also keep it out?

Socks 07-27-2008 05:51 AM

I guess all the califortunes are still sleeping!

Klen 07-27-2008 05:58 AM

I am confused.I mean being in google images means being indexed so not sure is that possible what you want

baddog 07-27-2008 12:49 PM

Image search uses keywords found on the page in the img source/alt tags. I'm not sure there is a way to keep images in but pages out.

Socks 07-27-2008 03:12 PM

Hrmmmm.. Thanks guys

The issue is that we have a URL for every single photo, so a photo set with 200 images = 200 pages/URL's. It has to be this way for our site logic to work, as each image is an object.

Since you only get so many pages indexed in google etc, I'd like to make sure our more important pages appear in the index rather than a slew of low-content photo pages. But also not tel Google Images to stay away. Maybe not possible!

If anyone else has any ideas lemme know!

spacedog 07-27-2008 03:32 PM

In robots.txt put

User-agent: Googlebot-Images
Disallow: /

this disallows indexing of your images in google images search

Socks 07-27-2008 04:27 PM

Quote:

Originally Posted by spacedog (Post 14517992)
In robots.txt put

User-agent: Googlebot-Images
Disallow: /

this disallows indexing of your images in google images search

that's the opposite of what I want to do though, I want to make some pages available to google images, but not indexed for search.

MattO 07-27-2008 04:47 PM

If you make a sitemap for your site you can set a priority to those pages that is lower than your main pages. That might do the trick as far as having the large multitude of image pages dilute your main content.

See: https://www.google.com/webmasters/to.../protocol.html

spacedog 07-27-2008 05:01 PM

Quote:

Originally Posted by Socks (Post 14518207)
that's the opposite of what I want to do though, I want to make some pages available to google images, but not indexed for search.

Just put noindex,follow on the page(s) you don't want indexed and googlebot images will follow and index since robots text does not tell it not to index while regular googlebot will not index but follow to index anything that does not have noindex or robots.txt exclusion

SmokeyTheBear 07-27-2008 05:48 PM

Quote:

Originally Posted by spacedog (Post 14518258)
Just put noindex,follow on the page(s) you don't want indexed and googlebot images will follow and index since robots text does not tell it not to index while regular googlebot will not index but follow to index anything that does not have noindex or robots.txt exclusion

not a smart idea because google still needs a page to display as to the context of the image. Have you ever seen an image in google images that doesnt have a page displaying the image below it :)

a better idea is to have the pages nofollow but place a menu with each of the images linked directly from the gallery menu so google will use 1 page ( the menu ) to show users in google images, this is better for many reasons. A) the images will get spidered and listed B) the pages won't C) traffic from the images will be sent to the main gallery page not the individual pictures page .

SmokeyTheBear 07-27-2008 06:04 PM

save as list.php
place in directory above images
edit directory and url

PHP Code:

<?php
$dir 
"dir/";
if (
is_dir($dir)) {
    if (
$dh opendir($dir)) {
        while ((
$file readdir($dh)) !== false) {
            echo 
"<a href=\"http://yoursite.com/dir/$file\" title=\"$file\">$file</a> $file <br>\n";
        }
        
closedir($dh);
    }
}
?>


keep in mind the way google images displays your images depends on keywords both on the page and in things like alt tags, by directly linking to the source image you will be relying on the keywqord on the page the menu is placed and the linking text ( in this example the linking text is the file name )

Socks 07-29-2008 04:39 AM

Awesome Smokey thanks, I'll pass that shit on to my partners.. The site in question doesn't run PHP, it's 100&#37; Java and bash pretty much.. We may actually install PHP to use a few things soon though. Anyways the concept is there, we'll just re-do it in Java I guess.

I suppose maybe it's really important to link to the image, could be our fanciness is killing us at ASS too (which is php), we have some kind of click-image-to-close script which functions nice, but maybe google isn't getting the message.

IE: http://www.adultsitesurfer.com/showi..._094904055.jpg


All times are GMT -7. The time now is 07:23 AM.

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