Talk Directories - Directory Discussion Forums  

Welcome to Talk Directories forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

Go Back   Talk Directories - Directory Discussion Forums > Search Engine Marketing & Optimization > Search Engine Optimization

Search Engine Optimization Discussion of techniques and practices used to market your site in search engines like Google, Yahoo!, MSN, Live, Ask etc. PageRank and other SERP related questions belong here.

Reply
 
LinkBack Thread Tools Display Modes
Old 07-26-2008, 12:02 PM   #1
 
niky's Avatar
 
Status: New Member
Join Date: Jul 2008
Posts: 3
niky is on a distinguished road
IM:
Default HTML vs PHP pages?

Hello

I am just finishing an SEO job for one of our main clients.

I instructed our designer to use basic html for all the important pages I have optimised for, the core and long tail phrases.

He has just shown me the finished site, all the pages are php even the ones I specifically asked to be HTML.

Q: does Google and the like index and rank php pages the same as HTML or will I have to get the designer to redo the main pages as basic HTML?

Everyone's thoughts, opinions, and experiences are much appreciated.

Best regards
___________________
b&b Edinburgh Lighter Belt Buckle
niky is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-29-2008, 03:32 PM   #2
 
NathanWong's Avatar
 
Status: Administrator
Join Date: Jul 2008
Posts: 1
NathanWong is on a distinguished road
IM:
Default

There should be no difference whether you use PHP or HTML, however it's important not to use query strings. That is, the search engines do not like example.com/article.php?id=1252. Instead, look to use example.com/article/1252/seo-article-on-file-extension/, or similar to that.

Hypertext Style: Cool URIs don't change. has more info on this - it's recommended for more reasons than just SEO, so why not?
NathanWong is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-12-2008, 02:41 AM   #3
 
AstenPonting's Avatar
 
Status: New Member
Join Date: Aug 2008
Posts: 5
AstenPonting is on a distinguished road
IM:
Default

yes there is no major difference between PHP and HTML page SEO are possible in both cases
AstenPonting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-10-2008, 03:29 AM   #4
 
shubhangid's Avatar
 
Status: New Member
Join Date: Sep 2008
Posts: 9
shubhangid is on a distinguished road
IM:
Default

I am beginner but I think Its same for HTML and PHP.
shubhangid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-13-2008, 07:07 AM   #5
 
ClaudeShoreman's Avatar
 
Status: New Member
Join Date: Oct 2008
Posts: 3
ClaudeShoreman is on a distinguished road
IM:
Post

HTML is static, PHP is dynamic. PHP allows you to use a database as well as programming in things that will change the page depending on what the user does.

HTML with Javascript can do some dynamic things but is not secure anyone can change the code so it is not good for e commerce or database activities.

An html page has a different extension than a PHP page. so it is considered a different page. If you replace page1.htm with page1.php you will lose the PR and all SEO that you did on the html page. You can use htaccess to get around this though.
__________________
Medical Tourism
ClaudeShoreman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2008, 09:00 AM   #6
 
VaynesHopkins's Avatar
 
Status: New Member
Join Date: Aug 2008
Posts: 7
VaynesHopkins is on a distinguished road
IM:
Default

PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.

The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server's PHP engine before being sent to a client's Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user's Web browser, everything is formatted as HTML.

Last edited by VaynesHopkins; 10-17-2008 at 07:03 AM.
VaynesHopkins is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-20-2008, 05:00 AM   #7
 
HoneyHolly's Avatar
 
Status: New Member
Join Date: Sep 2008
Posts: 8
HoneyHolly is on a distinguished road
IM:
Post

If you are all .html then you are generic, and generic is never bad.

Set apache to process all files thru php, and make all your files .html
__________________
Internet Phone

Last edited by HoneyHolly; 10-20-2008 at 05:05 AM.
HoneyHolly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-21-2008, 05:37 AM   #8
 
FRANKLYN's Avatar
 
Status: New Member
Join Date: Oct 2008
Posts: 6
FRANKLYN is on a distinguished road
IM:
Default

php doesn't replace html.

The php script is used to output a page of html, some elements of which have been built as a result of programmatic decisions within that script.

The most useful php feature is INCLUDE files. It allows the "page" to be built from chunks of code, and for single chunks to be re-used in multiple pages of the site over and over again.

That allows site-wide changes to be very rapidly implemented. The usage of CSS for styling is crucial. Separation of content and style, once you cross that bridge, opens a whole new way of thinking

Last edited by FRANKLYN; 10-30-2008 at 03:21 AM.
FRANKLYN is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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




Copyright © 2007 - 2010 iTalkWebs Network - .Ad Management by RedTyger

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26