HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old February 11th, 2005, 11:56 AM
northofthecity northofthecity is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 1 northofthecity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 36 sec
Reputation Power: 0
Question Newbie Question: Spidering PHP files

Another newbie? Don't groan too much.....I've been developing desktop and client/server database apps for lots of years. I've never done any web page stuff until I bought a couple sites written in PHP.

Question: How does googlebot read PHP files? My concern is these PHP created pages use dynamic titles......<title><? echo $site_title ?></title>.......in a single header file. Nice technique, but if there is no title, it seems to me these pages won't rank well. Same is true regarding dynamically created content.

Am I missing something here?

Reply With Quote
  #2  
Old February 12th, 2005, 05:43 PM
justicewhite justicewhite is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 304 justicewhite User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 17 m 21 sec
Reputation Power: 5
Hi northofthecitym,

First of all, welcome to the forum.

The spiders don't discriminate against PHP based sites as long as they comply with some basic guidelines (no spamming etc.).

Your question seems to be related to a template you're using. It's hard to comment on your problem based on the data you've given. But, you can always change the

<title><? echo $site_title ?></title> statement to something like:

<title><? echo $page_title ?></title> where you dynamically update the $page_title for each page.

I actually use a similar technique for my PHP based site.

I presume you also refer to the dynamic URLs when you say "Same is true regarding dynamically created content".

You can find a lot of material on presenting dynamic URLs in a spider friendly way as well. The most popular one is the .htaccess rewrite utility.

If you can be more specific with your questions, there may be more people to give you some hints.

Good luck with your site and PHP...

Reply With Quote
  #3  
Old February 13th, 2005, 07:26 PM
Waddle's Avatar
Waddle Waddle is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 168 Waddle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 7 m 7 sec
Reputation Power: 5
You have got to also keep in mind that the SE never actually "see" your PHP scripts. These are executed on the server side. All SE's see is the resulting code that is output from the script, which should be HTML. As indicated in an earlier post, the use of mod rewrites can also help.
__________________
Kabooli Internet Directory : Each listing recieves a written review, numeric ratings in 6 areas, and an overall Kabooli Rating Score. One web page is devoted to each listing. View the Kabooli Site Map.

Reply With Quote
  #4  
Old February 14th, 2005, 10:51 AM
Highland's Avatar
Highland Highland is offline
Extremely Googled
SEO Chat Novice (500 - 999 posts)
 
Join Date: Dec 2004
Posts: 547 Highland User rank is Corporal (100 - 500 Reputation Level)Highland User rank is Corporal (100 - 500 Reputation Level)Highland User rank is Corporal (100 - 500 Reputation Level)Highland User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 Days 2 h 1 m 49 sec
Reputation Power: 6
Hopefully there's an include file to fix this in.

I use templates in my sites by including two files... one is the header file and contains the table for the whole page. The second contains the footer and the closing table arguments. So in my header I have a variable for the title but, assuming I don't pass a title value, I have a default title. So the code looks like
Code:
 <?
 if(!isset($title)) $title="Default Title";
 ?>
 <head>
 <title><?=$title?></title>
 </head>
 <body>
 <table>
 


You're right that pages without a title will do worse than those with. Pick a good default title for your page, check for the variable and, if it's not set, make it the default. Makes templating, and your life, tons easier.

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > Newbie Question: Spidering PHP files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT