Current location: Hot Scripts Forums » General Community » The Lounge » Google Bot Problem


Google Bot Problem

Reply
  #1 (permalink)  
Old 01-13-05, 03:55 AM
eddyvlad eddyvlad is offline
Wannabe Coder
 
Join Date: Sep 2003
Location: In The Bloody Pits Of Hell
Posts: 160
Thanks: 2
Thanked 0 Times in 0 Posts
Google Bot Problem

Hmm..... My site has been up for almost 2 yrs already with alot of contents but the only way to search it through the search engine is by searching parts of the URL or name of my website. Unlike blogspot, sometimes I search at google, the result gave me a link to an archive from someone's blog.

I know google bot will index and follow the pages and links but my site is different. And it's database driven. I don't think there's a way google bot can follow any link other than the index page. I've tried putting direct link to some of my pages in my index page but according to my stat page, google bot only landed on the index page and nowhere else. I think you should take a look at my website to get the idea why... www.eddyvlad.com

So how do I get Google bot to index my other pages and use it's contents as keywords?
__________________
Mr. Brown Eyes
Reply With Quote
  #2 (permalink)  
Old 01-14-05, 08:41 AM
ben.periton ben.periton is offline
Wannabe Coder
 
Join Date: Oct 2004
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Most search engines dont like urls with ?blah=blah in it, i got around this by putting the following in my httpd.conf, i presume it would work in .htaccess

AliasMatch ^/nav/.* /usr/home/mysite/public_html/navigation.php

which would mean: /nav/news/ would be the same as navigation.php?page=news

You would need to put this in the navigation.php

$url_array = explode("/", $_SERVER["REQUEST_URI"]);

if (substr($url_array[2],0,1) != '?') $pagename = $url_array[2];
if (isset($url_array[3]) && substr($url_array[3],0,1) != '?') $subpagename = $url_array[3];

Of course you can call the file whatever you want
__________________
Ben Periton
http://ben.periton.co.uk
Reply With Quote
  #3 (permalink)  
Old 01-14-05, 11:26 AM
eddyvlad eddyvlad is offline
Wannabe Coder
 
Join Date: Sep 2003
Location: In The Bloody Pits Of Hell
Posts: 160
Thanks: 2
Thanked 0 Times in 0 Posts
The javascript has no effect on the bot right? Coz my pages are all in iframe but if try to view the iframe page itself, it'll take you to the index.php coz it'll detect it's not in a frame. I'm figuring out how to take user back to the same page but inside the frame when the user try to view the iframe page on it's own.

So I just place links to my iframe pages on index.php so the bot will follow?
My index.php open up a window which contains alot of frames.
__________________
Mr. Brown Eyes
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie found a solution to a date problem. mickey_kamer Perl 4 05-09-07 05:54 AM
Need help finding Script for Google News nrcowlishaw Script Requests 4 11-13-05 05:46 PM
Google is going to take over the world iddx The Lounge 24 05-23-05 12:58 PM
Count problem kasic ASP.NET 1 10-20-04 12:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 09:13 AM


All times are GMT -5. The time now is 01:48 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.