chrometweaks.org

Which is better to register a domain name with, iPage or Tucows and why?

Click Here To View All Answers...


Quick question: Which is better to register a domain name with, iPage or Tucows and why? Thanks for any comment. Second question of mine... Hi all.

I have noticed that some people come to my iPage site throught the pop up image.php.

I have tried and make it go all wrong sending the surfers away.

My questions:.

Why the pop up had been taken by the search ...

And how to avoid that?.

Thanks.

Salvo..

Comments (158)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some research and get back to you if I bump into an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Hi Chris.

I don't have a robots.txt.

Should I have one?.

If it is a.

Must have.

How do I go about having it and how should I include what I don't want to be picked up.

Thanks.

Salvo.

This post has been edited by.

Salvo.

: 18 February 2004, 12:01..

Comment #2

Search for tutorials about it the robo file is a file for search engine crawlers..

I it you can add pages the search engine shouldn't add or crwal.....

Comment #3

I have found this :.

Where do I find out how /robots.txt files work?.

It is best explained with an example:.

# /robots.txt file for.

Http://webcrawler.com/.

# mail for constructive criticism.

User-agent: webcrawler.

Disallow:.

User-agent: lycra.

Disallow: /.

User-agent: *.

Disallow: /tmp.

Disallow: /logs.

I make it as a file robots.txt ? .

Question 1: Where does it go? in root directory?.

Question 2: To disallow all the pop up.

Popup_image.php?pID=90.

Not just the product id 90 but all the popup_image.php how shell I place it?.

My problem is google at moment, how do I do it?.

Thanks.

Salvo.

PS: I counld find it in Wiki..

Comment #4

I might have the answer to my questions, but I like a confermation by someone.

This is the robots.txt file I will place in ROOT direcotry.

And it will all the spider will NOT search for the popup_image.php.

# robots.txt file.

# For domain:.

Http://www.ll.

...

# All robots will spider the domain.

#User-agent: *.

#Disallow:.

User-agent: *.

Disallow: /admin/.

Disallow: /popup_image.php.

This post has been edited by.

Salvo.

: 18 February 2004, 13:49..

Comment #5

In stead of preventing people to find your iPage site through the popups, I would make a link in the poup back to the site/product (unless you have too many costumers already of course)...

Comment #6

The pop up is the one used in the product_info.php CLICK TO ENLARGE.

Unfortunatelly google got hold of it and clicking on the link given by google, ONLY the pop up open the larger image only ... and close it.

AT MOMENTS there are quite a few of these pop up listed already in google, I will have to make amend adding a link to the main iPage site so I don't loose the surfer..

But in the future is not good searching for something, found a link to an image pop up that close on you.

PS: By the way, is it correct what I have done for the robots.txt?.

This post has been edited by.

Salvo.

: 18 February 2004, 14:48..

Comment #7

Reading this thread made me check my own "popup_image.php" - all of mine are also in Google..

I put together a quick couple of lines of .php, which you should place in popup_image.php:.

If (ereg("google", strtolower($HTTP_REFERER))) {.

     header("Location: "HTTP_SERVERDIR_WS_CATALOGFILENAME_PRODUCT_INFO"?products_id="$pID);.

     exit;.

 }.

Right after the following piece of code (in popup_image.php):.

Require('includes/application_top.php');.

Fairly straightforward...

Comment #8

Hi Gary,.

I will put that tonight and let you.

Thanks.

Salvo..

Comment #9

Yes, beautifull. perfect..

As soon as someone clicks on the pop up link listed by google, now is taken to the product itself.....

Gary. Is it the best solution? EVEN better would be not to let google take the pop ups in the first place?.

Salvo..

Comment #10

Where do you put this code in the popup_image.php?..

Comment #11

Gary Said:.

Right after the following piece of code (in popup_image.php):.

CODE.

Require('includes/application_top.php');.

Put it here..

Comment #12

Using the BTS, so most of you can't just copy and past this code, but maybe it still is usefull to someone somehow..

I created a link from the popup (popup_image.tpl.php when using the BTS) back to the product_info.php page (and there also is a close window link "invented" by someone else)..

<?php.

Echo '<div id="imagePopup">';.

If (isset($pID)).

{ // link back to this products info page (target="_blank" because we don't want it inside the popup window).

 echo '<a target="_blank" href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$pID)'">'.$products[products_name].'</a>';.

 echo tep_image(DIR_WS_IMAGES$products['products_image'], $products['products_name']);.

 echo '<a id="closePopup" href="javascript:window.close()">'TEXT_CLOSE_WINDOW'</a>';.

}.

Else.

{.

 // a link to the index page if the products id is unknown somehow.

 echo '<a target="_self" href="'HTTP_SERVERDIR_WS_HTTP_CATALOG'"><h1>www.yourdomain or whatever you like</h1></a>';.

}.

Echo '</div>';.

?>..

Comment #13

I believe that once a page is in Google, you should do nothing to remove it. Buying customers may find your iPage site from that Google listing....

So I would say that if your page is not in Google, then put popup_image.php into your robots.txt file..

If it is already in Google, then leave it as is, and add in the piece of code I made...

Comment #14

You could try to make the code a little more portable by doing this:.

NOTE: UNTESTED so might not work!!!.

If ((!eregi(HTTP_SERVER, $HTTP_REFERER))||(!eregi(HTTPS_SERVER, $HTTP_REFERER))) {.

   header("Location: "HTTP_SERVERDIR_WS_CATALOGFILENAME_PRODUCT_INFO"?products_id="$pID);.

   exit;.

}.

Saying: if the referring URL does not contain the HTTP_SERVER *or* the HTTPS_SERVER then redirect. Makes sense, but it is late so it might not work quite as intended...

Comment #15

Hi all.

I have noticed that some people come to my iPage site throught the pop up image.php.

I have tried and make it go all wrong sending the surfers away.

My questions:.

Why the pop up had been taken by the search ...

And how to avoid that?.

Thanks.

Salvo..

Comment #16

Put the popup url in your robots.txt.

This post has been edited by.

Wizardsandwars.

: 18 February 2004, 11:15..

Comment #17


This question was taken from a support group/message board and re-posted here so others can learn from it.