Reply
Static or Dynamic Pages?
Old 07-03-2006, 11:15 PM Static or Dynamic Pages?
sitedesigner's Avatar
Junior Talker

Posts: 1
Trades: 0
What is better for the search engines? a static html page or a dynamic php page?
sitedesigner is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 07-03-2006, 11:19 PM
Hoang's Avatar
$$$

Posts: 1,210
Trades: 1
A static html page is better.
Hoang is offline
Reply With Quote
View Public Profile
 
Old 07-03-2006, 11:23 PM
sitedesigner's Avatar
Junior Talker

Posts: 1
Trades: 0
Can you explain why?
sitedesigner is offline
Reply With Quote
View Public Profile
 
Old 07-03-2006, 11:34 PM
Hoang's Avatar
$$$

Posts: 1,210
Trades: 1
Dynamic pages are generated by users (filling out forms, doing polls, etc.) so search engines might not index it as quick as a static page because crawlers don't do those things. Crawlers also might ignore a link if there's too many question marks or certain variables in it so only part of the link will be indexed by the search engine.

I'll try and find some links explaining this more clearly.

Edit: Here are some links touching up on the issue more:
http://www.webconfs.com/dynamic-urls...-article-3.php
http://www.webconfs.com/seo-tutorial...namic-urls.php
Hoang is offline
Reply With Quote
View Public Profile
 
Old 07-03-2006, 11:42 PM
ForgottenCreature
Guest

Posts: n/a
Trades:
What about dynamic pages generated through data in a database? I don't know how the crawlers would know any different, especially if mod rewrite was in use.
Reply With Quote
 
Old 07-03-2006, 11:47 PM
Hoang's Avatar
$$$

Posts: 1,210
Trades: 1
Quote:
Originally Posted by ForgottenCreature View Post
What about dynamic pages generated through data in a database? I don't know how the crawlers would know any different, especially if mod rewrite was in use.
Those would be indexed similiar to static pages. I have a Joomla site that is SEO-optimized and all the dynamic URLs are generated into static URLs and they're getting indexed pretty well.
Hoang is offline
Reply With Quote
View Public Profile
 
Old 07-04-2006, 05:53 AM
sitedesigner's Avatar
Junior Talker

Posts: 1
Trades: 0
I'm talking about an index page.

Is an index.php filled with variables and php code better? (for example.. grabs data from a database)

or an index.html that is static.
sitedesigner is offline
Reply With Quote
View Public Profile
 
Old 07-04-2006, 06:11 AM
Mike's Avatar
Super Spam Talker

Posts: 945
Trades: 2
I have had much better luck with static URL's, and I have tested this on old and new websites.
Mike is offline
Reply With Quote
View Public Profile Visit Mike's homepage!
 
Old 07-04-2006, 07:36 AM
$100 - $999 Monthly

Posts: 328
Trades: 2
Quote:
Originally Posted by Matthew View Post
I'm talking about an index page.

Is an index.php filled with variables and php code better? (for example.. grabs data from a database)

or an index.html that is static.
as long as you use modrewrite to rewrite the urls it doesn't matter.

but avoid urls with lots of variables in it, since google is having trouble indexing those..
SEO Portal is offline
Reply With Quote
View Public Profile Visit SEO Portal's homepage!
 
Old 07-04-2006, 12:43 PM
Junior Talker

Posts: 24
Trades: 0
All search engines won't make any distinction between what serverside technology is used (maybe MS ranks .aspx pages better ;p). Its all about the URL's. You will have a better chance of ranking with easy urls without weird ID's which are also memorable for the user.
imported_tom_h is offline
Reply With Quote
View Public Profile
 
Old 07-04-2006, 01:03 PM
Junior Talker

Posts: 40
Trades: 0
Search Engines would probably perfer a static page, but as long as you have static content, your users and spiders can be happy.
imported_htmlmaster is offline
Reply With Quote
View Public Profile Visit imported_htmlmaster's homepage!
 
Old 07-04-2006, 01:05 PM
$100 - $999 Monthly

Posts: 328
Trades: 2
Quote:
Originally Posted by tom_h View Post
All search engines won't make any distinction between what serverside technology is used (maybe MS ranks .aspx pages better ;p). Its all about the URL's. You will have a better chance of ranking with easy urls without weird ID's which are also memorable for the user.
exactly.. i don't get everyone here saying that Search Engines like statics pages better... why would they?
SEO Portal is offline
Reply With Quote
View Public Profile Visit SEO Portal's homepage!
 
Old 07-04-2006, 01:24 PM
Junior Talker

Posts: 24
Trades: 0
Quote:
Originally Posted by htmlmaster View Post
Search Engines would probably perfer a static page, but as long as you have static content, your users and spiders can be happy.
It looks like some of you have trouble with the "static" and "dynamic" terminology.

Static content is content which is delivered straight from the hard drive thru a webserver to a user. There is no interaction from some serverside parser like php.

Dynamic content is content which is first parsed by some serverside processor and then gets served to a user.

What you all actually mean is wether or not search engines prefer query strings in an url. (subdomain.domain.tld/path?querystring)
imported_tom_h is offline
Reply With Quote
View Public Profile
 
Old 07-04-2006, 05:55 PM
Extreme Talker

Posts: 240
Trades: 0
Note that depending on how you code your php etc, you can avoid the querystring problem.

If you use HTTP POST instead of HTTP GET, all that is hidden away and not present in the URL.

From my experience, its best to sort out your site using modrewrite so that instead of having "http://mysite.co.uk/page.php?id=45367" you have something like "http://mysite.co.uk/catagory/pagename". Not only is better for users wanting to share the URL, but you can put a load of keywords in the URL too, which always helps.
imported_mattd is offline
Reply With Quote
View Public Profile
 
Old 07-04-2006, 06:35 PM
Mike's Avatar
Super Spam Talker

Posts: 945
Trades: 2
Quote:
Originally Posted by SEO Portal View Post
exactly.. i don't get everyone here saying that Search Engines like statics pages better... why would they?
Cant tell you why, but after switching via a URL rewrite I got much better traffic, as well as having many more entry pages from search engines. This was the case on both of my existing websites that I tried this on, and as a result my last site was started off with it from the beginning.

I am not going to concern myself with why. It has helped me greatly and I would rather just go with it, than question it.
Mike is offline
Reply With Quote
View Public Profile Visit Mike's homepage!
 
Reply     « Reply to Static or Dynamic Pages?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12347 seconds with 13 queries