Search…

X3 Photo Gallery Support Forums

Search…
 
devin
Experienced
Topic Author
Posts: 45
Joined: 16 Apr 2007, 00:15

Removing HTML site from google's index??

20 Aug 2008, 23:36

http://www.devinlefevere.net/?p=html&pa ... 2FAbout%2F

As you can see it some how found my html version..how can i remove this within imagevue = [
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

21 Aug 2008, 01:56

Hmm interesting, you can't "remove" it, but can add noindex, nofollow in gallery_index.phtml to prevent it from being indexed by search engines in the future.

Actually its tricky question - maybe some option [x] Disable HTML gallery would help to avoid it. I wonder what other people thinking?

I am sorta fond of HTML gallery myself and would like to know what you guys thinking about it?
firedev.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Removing HTML site from google's index??

21 Aug 2008, 03:05

devin wrote:http://www.devinlefevere.net/?p=html&pa ... 2FAbout%2F

As you can see it some how found my html version..how can i remove this within imagevue = [
Generally this connection between the flash and the html version was meant as a benefit so that your entire gallery could be searched by google, indexing individual pages. It works like this:

1. google already knows about your main page devinlefevere.com.
2. When it visits that page, it checks all the links in the socurce code, and finds the link to the html document.
3. It then continues to the html document, and indexes from there

I can understand some users may not want this, so to prevent this, you need to remove the link to your HTML page from the main FLASH page. Open templates/index_gallery.phtml, and remove the following code:
Code
Optionally, you can view the HTML gallery page instead:<br />
&raquo; <a href="?p=html">HTML gallery</a><br /><br />
In your case, since google has already found your HTML page, it will be indexed until the html page is disabled somehow. We will provide a solution for this in next update.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

21 Aug 2008, 03:24

Okay here is simple way to fix everything:

1. First let's tell google to stop indexing us:

Add to templates layout.phtml in head tag after meta
Code
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
This will tell google to not index this page anymore and not follow links from this page

2. Now to redirect users to the same page in swf gallery:

Add
Code
<meta http-equiv="refresh" content="0;url=http://yoursite.com/#/<?php echo $swfAPath; ?>" />
to layout.phtml's head, this too will redirect users from ?p=html to the root of your site and they will see same picture

and some extra:

3. To lock up html gallery forever

You can also redirect everybody who came to ?p=html page to ?p=gallery.

Unfortunately they wont be redirected to the same picture, just to gallery root. And this step is just for reference.

Open imagevue routing.inc.php and after //Html routes
change:
Code
$routingRules[] = array(
	'match' => array('p' => 'html'),
	'routeTo' => array('controller' => 'index', 'action' => 'html')
);
to
Code
$routingRules[] = array(
	'match' => array('p' => 'html'),
	'routeTo' => array('controller' => 'index', 'action' => 'gallery')
);
( action='html' changes to 'gallery' )

This will treat ?p=html as ?p=gallery

Actually I wouldn't recommend step 3, thats only for those who want to give up on html completely.
firedev.com
 
devin
Experienced
Topic Author
Posts: 45
Joined: 16 Apr 2007, 00:15

21 Aug 2008, 12:05

Thanks guys! Since i redirected the html website will the 2nd link always stay in google's index now? If you google my name devin lefevere you will see the top 2 links are there.. I would prefer it only be the top one.

Just curious if it will be removed after google tries to crawl again in a few days.

Thanks again.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

21 Aug 2008, 12:44

Yes, I believe it should be ... I tried to check your site right now, but it wouldn't connect for some reason, so I didn't have the opportunity to check the changes you have made....

I believe when google crawls again to your html page, it will de-index it ... Did you also add the line:
Code
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
Of course, its no telling how often google crawls your site, unless you have noticed a specific interval. For some sites, it takes 2 weeks ...
 
darktowers
Posts: 19
Joined: 21 Aug 2008, 23:09

22 Aug 2008, 02:34

I would also recommend adding (or updating) your robots.txt file in the root of your server to disallow access/indexing to the directory where you have your gallery installed. Google "robots.txt" for more info.
 
MorningWood
Experienced
Posts: 60
Joined: 13 Nov 2008, 14:31

15 Nov 2008, 10:49

I'm jsut wondering why you would like for google NOT to index your html site? This will also give you the oppertunity to have some google analytics stats, right?? Or am i mistaken?
 
darktowers
Posts: 19
Joined: 21 Aug 2008, 23:09

15 Nov 2008, 12:58

MorningWood wrote:I'm jsut wondering why you would like for google NOT to index your html site? This will also give you the oppertunity to have some google analytics stats, right?? Or am i mistaken?
Because my gallery contains photographs of my family/children and I have very strong principals on privacy protection for my children. Some people don't mind pictures of their family available on the Internet, and that's cool, but I choose not to make my personal family photos freely available on the Internet. I don't want my kids growing up as children or adults and other people being able to find their images online without their permission.

Some people don't quite realize that e-mails, images, messages to social networking sites etc... potentially stay around FOREVER, even if you delete them. And before anyone argues that, then I'm not only talking about search engine indexing, but also server logs and the ability for anyone to download or take screenshots of ANY information on the Web.

Be careful out there everyone. ;-)
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

18 Nov 2008, 15:58

Well, in that case you can probably shut down html page, but recently adobe posted that they developed a way for google to index swf sites and somehow 'click' links in swf. So this isnt very reliable too.
firedev.com
 
devin
Experienced
Topic Author
Posts: 45
Joined: 16 Apr 2007, 00:15

20 Nov 2008, 15:50

does this still apply for the newest build?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

20 Nov 2008, 22:49

devin wrote:does this still apply for the newest build?
Not quite sure what you are referring to ... I don't think anything has changed in regards to this topic and the latest release.