• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

html versus php

Does anyone feel that search engines tend to index more of your site and faster if the pages are of the ".html" extension
rather than say ".php" ?
I see, to see more of my pages and indexed faster when they are ".html".

Anyone feel the same? Or know anything about this?

Thanks
0
smphil
Asked:
smphil
6 Solutions
 
ashishjvwCommented:
Hi,

The file extension makes no differece.

It is just that dynamic URLs are not preferred (The urls with '?' in php).


Regards,
ASHISH T.
0
 
Protheus99Commented:
The reason for this effect is that simple html pages are much easier to spider then dynamic pages. If you create a site using php the pages will be dynami and could lead to problems in the indexing. If you build your php based website the right way there should be no problems in indexing, as long as you don't use too many variables (at most 2 but one would be better), don't use session id's (and var with like ID is a problem).

Hope this helps.
0
 
desertcitiesCommented:
The Hypertext Markup Language (HTML) can be thought of as the mother language of the Internet.  It's advent came around in the early 90's and was the language supported by the browsers and web servers of those days, and today.  

So, you can imagine since those early years up until now, the majority of websites have been largely only in HTML along with those devices and programs that worked along with them, and TCP/IP, worked very well with HTML.  

In regard to your web pages, today's search engines can read your PHP web pages fine.  However, whether HTML or PHP or ASP, you need to follow good SEO practices for each of your web pages or you could hinder the visiting spiders from from being able to read your web page content and thus then possibly not indexing your site.  

To this day I still make all of my main landing pages in HTML and feel confident those pages will get indexed.  I only use PHP with third-party applications and programs that I might need to run.  It's a wonderful language.  And for running dynamic databases that will generate long URLs using IDs, you absolutely want to make sure those can be indexed as well.  That's another story.

Mark
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
ShaneJonesCommented:
I use PHP for minimising repetition of code on websites, if there is a part of a website that is heavily coded, I will include it using the

include ("name.php);

code to pull that piece of code in,

just makes some pages look a lot smaller and easier to edit content.

Shane
0
 
lexxwernCommented:
>> I see, to see more of my pages and indexed faster when they are ".html".

No. But URL's without query strings are indexed better.
0
 
weikelbobCommented:
.php is fine.

There's some detailed information here:

http://www.seo-blog.com/search-engine-friendly-urls.php

seo-blog.com is one of the best resources on the net, and if you view the comments, you'll see I asked the same question as you months ago. Michael Duz is a professional SEO.
0
 
John-BaylesCommented:
It will not make any difference!
0
 
lexxwernCommented:
Thank you granny mod.. :P
0

Featured Post

[Video] Oticon Case Study

Open office environments can create the dynamics for innovation, but they also bring some challenges. With over 1,000 employees in an open office, Oticon needed a solution that would preserve the environment while mitigating disruptive background noises.

Watch how they did it.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now