bbergy Posted March 14, 2006 Report Share Posted March 14, 2006 Hello.I am basically unfamiliar with php and need someone to look at my code in genlib.php to see why search engines can't find my website. I put the meta name and keywords on two months ago and nothing has happened. Thanks for any help.http://www.bownehistory.org/TNG if( !$cms[support] ) echo "<html>\n<head>\n"; else echo $cms[credits]; echo "<title>Bergy Genealogy</title>\n"; include( $custommeta ); if( isset( $flags[tabs] ) ) echo "<link href=\"$cms[tngpath]" . "$flags[tabs]\" rel=\"stylesheet\">\n"; if( $session_charset ) echo "<meta http-equiv=\"Content-type\" content=\"text/html; charset=$session_charset\">\n"; echo "<meta name=\"Keywords\" content=\"genealogy, family, history, BERGEY, BERGY, BERGYS, BEYOND, NASH, PORRITT, PORRIT, PALLISTER, WALT, POOLE, THAYER, JOHNSON, LAMLEY, HEINRICH, ROHRBACH, REITZEL, TODD, HISER, SEIBERT, OTTERBEIN, NOYES, HUBER, HERR, WHITMARSH, SHAW, STRATTON, ORCUTT, LANE, TIRRELL, MICHIGAN, BOWNE, TWP, KENT, CO, COUNTY, GEAUGA, OHIO, WATERLOO, ONTARIO, MONTGOMERY, CO, PENNSYLVANIA, BLISSFIELD, MARYLAND, MASSACHUSETTS\">\n"; echo "<meta name=\"Description\" content=\"Bergy, Nash, Johnson and Lamley Family Genealogy and Family History from Massachusetts, Pennsylvania, Ohio, Ontario and Michigan\">\n"; if( isset( $flags[robots] ) ) echo "<meta name=\"robots\" content=\"all\">\n"; if( isset( $flags[autorefresh] ) && $flags[autorefresh] == 1 ) echo "<meta http-equiv=\"refresh\" content=\"30\" />\n"; if( isset( $flags[scripting] ) ) echo $flags[scripting]; if( !$cms[support] ) { echo "</head>\n"; if( !$flags[noheader] ) include( $customheader ); } if( !$flags[noicons] ) echo tng_icons( 1 );} Quote Link to comment Share on other sites More sharing options...
Rush Posted March 14, 2006 Report Share Posted March 14, 2006 Your METAs come through fine, so I don't necessarily see a PHP problem. A couple of things come to mind...Sitemap:Do you have one for Google yet? If not, it will help google to the right spots.http://www.google.com/webmasters/sitemaps/I was tinkering about with this sitemap generator tonight:http://www.auditmypc.com/free-sitemap-gene...nerator-updatesorone that generates the url for individuals locally:http://www.tngforum.us/index.php?showtopic=900METAs:This won't stop indexing, but one thing that I can think of that would be a drawback is your METAs are hard coded for every page. This can drive relevancy into the gutter. There has been some discussion about this here:http://www.tngforum.us/index.php?showtopic=712I suppose the importance of METAs can be debated, but might as well make them good if you have them.Rush Quote Link to comment Share on other sites More sharing options...
sjwinslow Posted March 14, 2006 Report Share Posted March 14, 2006 If search engines aren't finding your site you may want to try placing your site URL on as many genealogy related sites as possible. There are a number of sites that allow you to register your genealogy site and they will display your URL. I posted a number of sites (CLICK HERE) I was able to register my website with but there are many more out there. This is one of the best ways to get you site recognized.Steve Quote Link to comment Share on other sites More sharing options...
sjwinslow Posted March 16, 2006 Report Share Posted March 16, 2006 One other thought, make sure you create a sitemap and submit it to Google. You might also want to consider adding Google Adsense to your site. I did both in conjunction with registering at the above sites and the search engines are going nuts over my pages only after 6 weeks of having the site up. The ads don't look bad and you might make a little money. Besides it increases search engine awareness.Steve Quote Link to comment Share on other sites More sharing options...
mrstucci Posted March 16, 2006 Report Share Posted March 16, 2006 I just added my URL to a site called Top Surname Search and submitted it but then the next page asked me to insert this line into my website: <A HREF="http://www.genealogysearch.org/cgi-bin/topsites/topsites.cgi?mrstucci"><IMG SRC="http://www.genealogysearch.org/top100.gif">Now, I know nothing about code (I am code-phobic) so not sure what to do next if anything. Judy Quote Link to comment Share on other sites More sharing options...
Rush Posted March 16, 2006 Report Share Posted March 16, 2006 Kinda of depends where you would like it to appear. At the bottom, on one page, every page...Just let me know where you would like it and I can help you out.Rush Quote Link to comment Share on other sites More sharing options...
Jerry Posted June 1, 2006 Report Share Posted June 1, 2006 I just added my URL to a site called Top Surname Search and submitted it but then the next page asked me to insert this line into my website:<snip>Now, I know nothing about code (I am code-phobic) so not sure what to do next if anything. JudyJudy,That site ranks you based on how many times people get to their site FROM your site. That is why you want a link on your site.If you don't want or need a high ranking on that site (but want to get listed), even one clickthru from your site to theirs will get you listed. Search engines will then find your site on theirs.You can change the link to a text-only link.You can put the link deeper in your site, like on a "links" page.You can definitely CLOSE the anchor tag. (They provided you with code missing part of it)I just did all this yesterday. Quote Link to comment Share on other sites More sharing options...
mrstucci Posted June 6, 2006 Report Share Posted June 6, 2006 Hi Rush- I would like some help (ok- alot of help) for placing that code somewhere on my site. If I put it on my first page, is that enough to get my site found? And when a new version of TNG comes out, do I have to put the code back? JudyKinda of depends where you would like it to appear. At the bottom, on one page, every page...Just let me know where you would like it and I can help you out.Rush Quote Link to comment Share on other sites More sharing options...
Rush Posted June 7, 2006 Report Share Posted June 7, 2006 Not a problem. At the bottom of your index.php file, you will see the following</font><br><br><br><p><span class="small">This site powered by <a href="http://lythgoes.net/genealogy/software.php">The Next Generation of Genealogy Sitebuilding</a><sup>©</sup>, written by Darrin Lythgoe 2001-2005.</span></p></div><script language="JavaScript"> document.form1.mylastname.focus();</script></body></html> Change it to read this: </font><br><br><center><A HREF="http://www.genealogysearch.org/cgi-bin/topsites/topsites.cgi?mrstucci"><IMG SRC="http://www.genealogysearch.org/top100.gif"></center> <br><br><br><p><span class="small">This site powered by <a href="http://lythgoes.net/genealogy/software.php">The Next Generation of Genealogy Sitebuilding</a><sup>©</sup>, written by Darrin Lythgoe 2001-2005.</span></p></div><script language="JavaScript"> document.form1.mylastname.focus();</script></body></html> I added in these two lines right after the </font> <br><br><center><A HREF="http://www.genealogysearch.org/cgi-bin/topsites/topsites.cgi?mrstucci"><IMG SRC="http://www.genealogysearch.org/top100.gif"></center> That should center the image near the bottom. Should work fine for you.Let me know how it works out.Rush Quote Link to comment Share on other sites More sharing options...
mrstucci Posted June 7, 2006 Report Share Posted June 7, 2006 Well, before I go "messing", I mean "changing", code, my index.php looks slightly different than your example. It looks like this (just noticed a reference to www.leisterpro.com which isn't on my first page.....):</font> <br><br><br><p><span class="small">This site powered by <a href="http://lythgoes.net/genealogy/software.php">The Next Generation of Genealogy Sitebuilding<!--a--><sup>©</sup>, written by Darrin Lythgoe 2001-2005.</a></span></p><p><span class="small"><a href="http://www.leisterpro.com"><br></a></span></p></div><a href="http://lythgoes.net/genealogy/software.php"><script language="JavaScript"> document.form1.mylastname.focus();</script></a></body></html>Not a problem. At the bottom of your index.php file, you will see the following</font><br><br><br><p><span class="small">This site powered by <a href="http://lythgoes.net/genealogy/software.php">The Next Generation of Genealogy Sitebuilding</a><sup>©</sup>, written by Darrin Lythgoe 2001-2005.</span></p></div><script language="JavaScript"> document.form1.mylastname.focus();</script></body></html> Change it to read this: </font><br><br><center><A HREF="http://www.genealogysearch.org/cgi-bin/topsites/topsites.cgi?mrstucci"><IMG SRC="http://www.genealogysearch.org/top100.gif"></center> <br><br><br><p><span class="small">This site powered by <a href="http://lythgoes.net/genealogy/software.php">The Next Generation of Genealogy Sitebuilding</a><sup>©</sup>, written by Darrin Lythgoe 2001-2005.</span></p></div><script language="JavaScript"> document.form1.mylastname.focus();</script></body></html> I added in these two lines right after the </font> <br><br><center><A HREF="http://www.genealogysearch.org/cgi-bin/topsites/topsites.cgi?mrstucci"><IMG SRC="http://www.genealogysearch.org/top100.gif"></center> That should center the image near the bottom. Should work fine for you.Let me know how it works out.Rush Quote Link to comment Share on other sites More sharing options...
Rush Posted June 7, 2006 Report Share Posted June 7, 2006 Changing it to look like this should work just fine:</font><br><br><center><A HREF="http://www.genealogysearch.org/cgi-bin/topsites/topsites.cgi?mrstucci"><IMG SRC="http://www.genealogysearch.org/top100.gif"></center> <br><br><br><p><span class="small">This site powered by <a href="http://lythgoes.net/genealogy/software.php">The Next Generation of Genealogy Sitebuilding<!--a--><sup>©</sup>, written by Darrin Lythgoe 2001-2005.</a></span></p></div><a href="http://lythgoes.net/genealogy/software.php"><script language="JavaScript">document.form1.mylastname.focus();</script></a></body></html>You can see the additions of the two lines right after the </font> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.