Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stop google indexing images?


paul r

Recommended Posts

Hi,

 

I just noticed that in google, if someone searches for something such as:

 

http://www.google.com/search?q=xud98sd

 

My site comes up at the top www.myparts.co.uk

 

But google has indexed the image - so when you click the link it goes straight to the pic. I am losing customers because of this. These URL's arent in my sitemap.

 

I'm using SEO URL's. Is it possible to make the link in google go straight to the product description rather than the picture?

 

Paul.

Link to comment
Share on other sites

Looks like it's indexing results from the popup image script.

 

If all else fails, change your robots.txt file to something like this:

 

User-agent: Googlebot-Image
Disallow: /

User-agent: *
Disallow: /popup_image.php
Allow: /

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Looks like it's indexing results from the popup image script.

 

If all else fails, change your robots.txt file to something like this:

 

User-agent: Googlebot-Image
Disallow: /

User-agent: *
Disallow: /popup_image.php
Allow: /

 

 

cheers,

 

I've added a META NO INDEX line to the popup image script, hopefully this will stop google from indexing the pictures. Any idea how long it will take for google to remove thge pictures?

 

I must have lost about 10 customer clicks this week as they have been sent straight to the pic and not the description :(

 

Paul.

Link to comment
Share on other sites

Any idea how long it will take for google to remove the pictures?

Next time it comes around, I guess...

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Looks like you need some keywords and metatags so people can find you on search engines when searching for something other than your domain name.

 

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Site.co.uk</title>
<base href="http://www.site.co.uk/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

That's all that's in the <head> section of your index page.

:o

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Looks like you need some keywords and metatags so people can find you on search engines when searching for something other than your domain name.

 

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Site.co.uk</title>
<base href="http://www.site.co.uk/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

That's all that's in the <head> section of your index page.

:o

 

Hi,

 

What do I need to add in?

 

Paul.

Link to comment
Share on other sites

You need to add these meta-tags:

 

<meta name="keywords" content="blah blah blah">
<meta name="description" content="blah blah blah">

You can just "hard code" them in, but for best results you really should look into one of the contributions that adjusts them depending on the page/category/product being viewed.

 

I used "Easy Meta-tags".

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

You need to add these meta-tags:

 

<meta name="keywords" content="blah blah blah">
<meta name="description" content="blah blah blah">

You can just "hard code" them in, but for best results you really should look into one of the contributions that adjusts them depending on the page/category/product being viewed.

 

I used "Easy Meta-tags".

 

 

Thanks for the help, much appreciated :)

 

Paul.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...