Plogger Support Forum - Google indexing issue.... Fri, 29 Mar 2024 14:19:47 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10824#Comment_10824 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10824#Comment_10824 Tue, 02 Jun 2009 09:41:30 +0000 elias75 I use plogger for my www.FreeFilmPosters.com and so far, the program and the support here has been great! Here is my current issue:
Google is indeed indexing all my pages. The problem is how it does that. All pages are indexed great except for the photos. So all photos instead of being indexed as (for example): "Pulp Fiction" are indexed as "April 24th, 2009". In other words, the indexing appears according to the date each photo is uploaded. What I want is to have my photos being indexed according to the file name. Is there a way of doing this?
thanx]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10842#Comment_10842 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10842#Comment_10842 Wed, 03 Jun 2009 16:21:40 +0000 sidtheduck
I'm pretty sure it's indexing that because the h1 tag on the individual pictures is empty (gallery name) so then it indexes the next h2 tag (which is the date) instead of the second h2 tag (which is the picture caption). I would edit your 'picture.php' file in your theme to wrap the picture caption in an h1 tag and remove the gallery name h1 tag from 'header.php' if you are not going to use it. That way, Google will index the picture as the caption instead of the date.]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10868#Comment_10868 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10868#Comment_10868 Sun, 07 Jun 2009 14:17:32 +0000 elias75
sorry for my late response to this thread but I was away for a few days.... Please note that I am a newbie when it comes to html & php..... I do understand generally what you mean above in your answer and I tried to make those changes... (I use dreamweaver btw).... the thing is that I do not know how to do them, I mean, I was looking for the h1 tag but couldn't find it... where should I look.... I don't see anything relevant in the code... sorry, I know it sounds funny, but as I said.... newbie here.... please just show me the way and I will figure it out (I should hope)....
cheers!]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10893#Comment_10893 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10893#Comment_10893 Wed, 10 Jun 2009 12:42:29 +0000 elias75 Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10922#Comment_10922 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10922#Comment_10922 Wed, 17 Jun 2009 05:34:36 +0000 elias75 Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10923#Comment_10923 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10923#Comment_10923 Wed, 17 Jun 2009 11:26:38 +0000 sidtheduck
I've been gone for about a week and am making my way through unanswered posts. Sorry for the late reply. For my expamples, I am assuming you are using the default theme.

Posted By: sidtheduckremove the gallery name h1 tag from 'header.php'
I guess if you are using the beta3 version of Plogger, the h1 tag is built into the generate_header function. To remove it (since you seem to have a blank gallery name), you would open 'header.php' in the theme folder that you are using. Look for the following code (should be lines 6-8):
print '<div id="wrapper">
<table id="header-table" width="100%"><tr><td>'.generate_header().
'</td><td id="jump-search-container">'.generate_jump_menu() . generate_search_box().'</td></tr></table>';

and change it to read:
print '<div id="wrapper">
<table id="header-table" width="100%"><tr><td id="jump-search-container">'.generate_jump_menu() . generate_search_box().'</td></tr></table>';<?code>

<blockquote><cite>Posted By: sidtheduck</cite>I would edit your 'picture.php' file in your theme to wrap the picture caption in an h1 tag</blockquote>To do this, open 'picture.php' in the theme folder you are using and look for the following code (should be lines 7-18):
<code> print ' <div id="inner_wrapper"> <div id="big-picture-container">
<table style="width: 100%;">
<tr>
<td>
<h2 class="date">'.plogger_get_picture_date().'</h2>
</td>
<td class="align-right">
<h2 id="picture_caption">';
$capt = plogger_get_picture_caption();
print $capt;

print '</h2></td></tr></table>';

and edit it to read:
print ' <div id="inner_wrapper"> <div id="big-picture-container">
<table style="width: 100%;">
<tr>
<td>
<h2 class="date">'.plogger_get_picture_date().'</h2>
</td>
<td class="align-right">
<h1 id="picture_caption">';
$capt = plogger_get_picture_caption();
print $capt;

print '</h1></td></tr></table>';


Posted By: elias75also how do I remove the details info from each photo? (dimensions, camera model etc)
Finally, to get this done you need to still be in 'picture.php' in the theme folder you are using. Look for the following code (should be lines 45-54):
print '
<table style="width: 100%;">
<tr>
<td id="exif-toggle-container"><div id="exif_toggle">'.$detail_link.'</div></td>
</tr>
</table>
</div>';


print generate_exif_table($row["id"]);

and delete those lines or comment it like so:
/* print '
<table style="width: 100%;">
<tr>
<td id="exif-toggle-container"><div id="exif_toggle">'.$detail_link.'</div></td>
</tr>
</table>
</div>';


print generate_exif_table($row["id"]);*/
]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10930#Comment_10930 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=10930#Comment_10930 Thu, 18 Jun 2009 11:06:50 +0000 elias75
as always your comments did the job! Well, at least for "the remove the details info from each photo" part of my question. I am sure that now Google will index the picture as the caption instead of the date.... is there a way to find out just to make it sure?? Or else I will just wait for Google to index the next bunch of photos!

Plogger is GREAT! in my site I have more than 4,600 photos and I am adding around 150-200 each week! At some point I will make another site with Plogger.... for the time, check www.FreeFilmPosters.com

cheers
Elias]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11129#Comment_11129 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11129#Comment_11129 Fri, 24 Jul 2009 12:06:17 +0000 elias75 it's me again :) ok so after a month I see some changes towards the desired result but still not what I wanted... getting close though....
Google is still not indexing the photos according to the file name (or the caption). if you try site:freefilmposters.com you will see that photos are all indexed as "FreeFilmPosters.com Galleries". I should think some small change in the code is needed again... I am using beta3 version of Plogger , default.
thanks in advance!
Elias]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11134#Comment_11134 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11134#Comment_11134 Fri, 24 Jul 2009 18:43:03 +0000 sidtheduck
It appears that this has to do with your <title> tags all having "FreeFilmPosters.com Galleries" as the title. It looks like your Plogger setup is in a subfolder and the actual gallery display is happening via an include function in http://www.freefilmposters.com/gallery1.php. Is this correct? If so, I think the <title> tag of gallery1.php is static and reads "FreeFilmPosters.com Galleries" for all pages.

The easiest way to fix this would be to update to the latest SVN code as the generate_title() function has been updated to allow for greater control of the title tag output. Let me know if you are willing to update your Plogger installation and I can try to help you integrate the titles.]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11147#Comment_11147 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11147#Comment_11147 Tue, 28 Jul 2009 11:25:28 +0000 elias75
yes you are absolutely right. The Plogger setup is in a subfolder and the actual gallery display is happening via an include function in http://www.freefilmposters.com/gallery1.php

Yes I am willing to update the Plogger installation to make this work. However, I have no idea how to update to the latest SVN code.... I am very new to php and just starting to figuring out.... so, where do I start??

cheers! :)]]>
Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11204#Comment_11204 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11204#Comment_11204 Mon, 03 Aug 2009 10:53:05 +0000 elias75 Google indexing issue.... http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11208#Comment_11208 http://www.plogger.org/forum/comments.php?DiscussionID=2726&Focus=11208#Comment_11208 Mon, 03 Aug 2009 15:26:44 +0000 sidtheduck
Sorry, I forgot to reply. I have been working on an updated generate_title() function, but it is not yet in the SVN code (I thought it was). I can send you the updated code for your use, but it still may be slightly buggy. If you want to try it out, email me at sidtheduck SPLAT gmail DOT com.]]>