Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 11th, 2004, 6:52 PM   #1
scorpiosage
Programmer
 
scorpiosage's Avatar
 
Join Date: Aug 2004
Location: Austin, Tx
Posts: 55
Rep Power: 5 scorpiosage is on a distinguished road
Send a message via AIM to scorpiosage Send a message via Yahoo to scorpiosage
2 part question regarding php and search engines.

First off, my site is listed with all the major and a bunch of minor search enginies, with all the proper meta tags, for description, keywords.

problem is, that they don't come up in a search at all, even if I go to google and search
"psychicscorpio"

It lists the site, but it apears as a link that looks like this
www.psychicscorpio.com With no description, and it doesn't even use my title.

It has nothing to do with my coding (I don't think).

Now, here is how I am tying into php.... We know that searchengines check many different things, like who you link to, who links to you, what the text that describes your links are, the text in your body, amongst numerouse other things.

If you are using an include file (wich I am) to create your links, is it read by the bots as if the page was parsed and it's just html?

And then, what happens if I use include files to generate my meta tags so that I can change up the meta tags in my pages from time to time, without worrying about going to each page. Would they be read by the search engines?

lol.. So much involved with this question, but, it is kind of important that I know the answers so that I can get my site completed and launch it for real.

Thanks in advance for any input
Mike
__________________
Here's my latest project still in the works, and I need to get rid of this "frame" situation for real. www.prideofaustin.com
scorpiosage is offline   Reply With Quote
Old Oct 12th, 2004, 10:13 AM   #2
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 5 BlazingWolf is on a distinguished road
Unfortunately search engines don't really use the all the Meta tag stuff anymore just the title and description.

And the method I taught you with PHP I've heard is known to trip up the crawling bots but it would still collect your first page so that's not a big deal.

The bots these days basically just click everylink they find so probably the best way to get on the search engines is get linked on lots of sights or one really popular site.

Other than that it's pretty much just all luck.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Oct 13th, 2004, 12:52 AM   #3
scorpiosage
Programmer
 
scorpiosage's Avatar
 
Join Date: Aug 2004
Location: Austin, Tx
Posts: 55
Rep Power: 5 scorpiosage is on a distinguished road
Send a message via AIM to scorpiosage Send a message via Yahoo to scorpiosage
Blazing wolf,

You are awesome to be on here answering questions all the time. If I wasn't such a Newb with some of this stuff, I would be answering more posts.

I actually used to know all the search engine tricks, since I have been doing HTML stuff for about 2 years, but a lot has changed since then.

Well, I was wondering, do you think that it would help if I submitted some of the link pages of the people that are linked to me?

As this site I am working on is pretty new, I did find a great group of sites that all are about the same thing, and we link to eachother, a couple of wich come up on the top of search engines for my catagory.

So hopefully this will help me at the beginning of the month.

Unfortunately when you look for my website via google, all you get is a the link to my site, no description or anything, and no title to the link, wich, I am almost positive that I have written those meta tags correctly...

It's just a bumber that all that work goes into something and you can't even get listed. Though I do wonder if somehow I got cancled out...
Over half of my code is my paypal button codes that are encrypted. I may have to rethink the layout, and put the paypal buttons in their own page, to keep them off of the index page so that the bot isn't go through all that clutter.

Also, I wonder if my alth tag trick sent up a red flag to the bots, because I did sort of flood the alt tags with my keywords.

Thanks
Mike
__________________
Here's my latest project still in the works, and I need to get rid of this "frame" situation for real. www.prideofaustin.com
scorpiosage is offline   Reply With Quote
Old Oct 13th, 2004, 12:40 PM   #4
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 5 BlazingWolf is on a distinguished road
Submitting sites with links to you may help, but also you have to just be patient because the bost crawl costantly but they are slow. If you just submitted it I would wait at least a good 2 weeks before you even attempted a google search.

After that I would look for alternatives. Everything I've looked up these days tell me it's pretty much luck unless you have a lot of visitors already. :/
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Oct 14th, 2004, 2:33 AM   #5
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
$agent = $_SERVER['HTTP_USER_AGENT'];
	$guri = $_SERVER['REQUEST_URI'];
	$ip = $_SERVER['REMOTE_ADDR'];
	$url = $_SERVER['PHP_SELF'];
	if(@ereg("Google", $agent)){
   @mysql_query("INSERT INTO googlebot (id, date, uri, agent, ip, url) VALUES ('', now(),'$guri', '$agent', '$ip', '$url')");
	
CREATE TABLE googlebot(
id INT(25) NOT NULL,
date DATETIME NOT NULL,
uri VARCHAR(255) NOT NULL,
agent VARCHAR(255) NOT NULL,
ip VARCHAR(255) NOT NULL,
url VARCHAR(255) NOT NULL,
CONSTRAINT PK PRIMARY KEY (id))

put that code, top part into a php file (preferebly index.php, and the second part is for your datbabase schema if you have one, then you can find out when and how often the googlebot hits your site.
----------------------------------------

note: not 100% sure about the database schema as i cant test it with code already up and running on my database server, but i no the top stuff does work as it was taken wdirectly from my index.php page.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity."

- Albert Einstein
Berto is offline   Reply With Quote
Old Oct 14th, 2004, 8:34 AM   #6
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I run similar code, but I capture everyone coming in... then I have a PHP script that I wrote in PHP to administer the monitor the monitoring log and ban or provide special permissions to visitors.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:24 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC