Welcome to WebmasterWorld Guest from 54.211.238.44

Forum Moderators: phranque

Message Too Old, No Replies

PHP and HTML Pages.same website

     
1:41 am on Dec 20, 2006 (gmt 0)

New User

10+ Year Member

joined:Mar 14, 2003
posts:21
votes: 0


I am creating a dynamic website using PHP. There are certain pages on the site that are HTML (about 30% of the pages are php and 70% html)

My question is...
Will this affect me negatively in the search engines for any reason? More specifically - Google?

I don't see why it would...but you never know with Google.

1:58 am on Dec 20, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 13, 2003
posts:109
votes: 0


I wouldn't think so. The only real difference in your pages are the extentions. You should be prefectly find. Maybe you can place your php scripts off the page to be safe.
5:29 am on Dec 20, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 26, 2005
posts:3041
votes: 0


I know I'm talking to a brick wall, but this seems like a good time to once again advocate dropping URL files extensions on HTML-formatted content altogether.

It means nothing to your users whether you use static pages, PHP, ASP, etc. etc. etc. The extension adds nothing of value either to the user or to their browser. Drop it.

BTW, this is the standard for Ruby on Rails applications. By default, Rails URLs have no extension for HTML-formatted content.

The browser needs to know the Mime-type, and it gets that from a header.

(The truly-progressive will also make non-www their canonical domain name as well...)