How do I make my PHP website search engine friendly?
Moderator: General Moderators
- icarpenter
- Forum Commoner
- Posts: 84
- Joined: Mon Mar 07, 2005 8:12 am
- Location: Kent, England
How do I make my PHP website search engine friendly?
Hi
I am trying to make me website search engine freindly and I am trying to get a handle on the technology?
Currently I have a home page which has search engine (using post method) which retrieves a number of values from a MySQL database and displays these values on a page.
If I create a select statment to extract random information from the database each time the index page loads to populate the meta discription tag would this increase the search criteria of the site. how frequently do robots vist a site and if the description changes every time the page loads would the search engine cache the changes or just update its existing records per domain name?
Because my site is more of a web application as apposed to lots of pages hyperlinked together when I run the site through a meta tag anylsier ie:-
http://www.widexl.com/remote/search-eng ... lyzer.html
the result is OK but it doesn't truly reflect the amount of information that is available from the site as much of this information is generated on a per request basis...
A tipical URL would look like this but there is only a about 8 of these on my index.php
http://www.myiste.com/index.php?option= ... 4e6b28fb84
But the ammount of data that could be retrieved is is massive but this will never show in the anyliser because it cannot select and post the criteria required...
For example each URL or POST always post's to the same file index.php which then creates a new page class, depending on the information carried by the URL or the post determines which objects to call. This then outputs the relevant HTML to the browser...
Any thoughts on how to optimise this procedure to turn my site a search engine beasty would be greatly appreciated...
Ideally I would like to be able take values from the database and have these visible to search engines...
Do I need to create a site map?
Rgds Ian...
I am trying to make me website search engine freindly and I am trying to get a handle on the technology?
Currently I have a home page which has search engine (using post method) which retrieves a number of values from a MySQL database and displays these values on a page.
If I create a select statment to extract random information from the database each time the index page loads to populate the meta discription tag would this increase the search criteria of the site. how frequently do robots vist a site and if the description changes every time the page loads would the search engine cache the changes or just update its existing records per domain name?
Because my site is more of a web application as apposed to lots of pages hyperlinked together when I run the site through a meta tag anylsier ie:-
http://www.widexl.com/remote/search-eng ... lyzer.html
the result is OK but it doesn't truly reflect the amount of information that is available from the site as much of this information is generated on a per request basis...
A tipical URL would look like this but there is only a about 8 of these on my index.php
http://www.myiste.com/index.php?option= ... 4e6b28fb84
But the ammount of data that could be retrieved is is massive but this will never show in the anyliser because it cannot select and post the criteria required...
For example each URL or POST always post's to the same file index.php which then creates a new page class, depending on the information carried by the URL or the post determines which objects to call. This then outputs the relevant HTML to the browser...
Any thoughts on how to optimise this procedure to turn my site a search engine beasty would be greatly appreciated...
Ideally I would like to be able take values from the database and have these visible to search engines...
Do I need to create a site map?
Rgds Ian...
-
Hardcore4Life
- Forum Newbie
- Posts: 14
- Joined: Mon Oct 10, 2005 7:58 am
- Location: Hannover / Germany
- Contact:
- icarpenter
- Forum Commoner
- Posts: 84
- Joined: Mon Mar 07, 2005 8:12 am
- Location: Kent, England
Yeah, the robots just do ordinary HTTP requests like any browser. If you look through log files of HTTP requests, I'm sure you'll be able to find one or two from the user agent, although many make it look like they're ordinary users on purpose, so you can't customise your site to show them something different to everyone else. I'm pretty sure Google does that, don't know about the others.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- icarpenter
- Forum Commoner
- Posts: 84
- Joined: Mon Mar 07, 2005 8:12 am
- Location: Kent, England
Also..dbevfat wrote:Also, javascript redirects or popups are dead ends for a bot.
Code: Select all
header("Location: page.php");
exit;* It's a "301 Permanently Moved" message. There's a trick that using such messages to push a site's pagerank up, so Google is now ignoring 301 messages it seems.
- elecktricity
- Forum Contributor
- Posts: 128
- Joined: Sun Sep 25, 2005 8:57 pm
- Location: Trapped in my own little world.
- Contact:
- icarpenter
- Forum Commoner
- Posts: 84
- Joined: Mon Mar 07, 2005 8:12 am
- Location: Kent, England