Jump to content

Recommended Posts

Posted

I am wondering which is better for search optimisation:

 

1. Pages with a lot of the PHP "Include" commmand to provide the menus & the content

 

or

 

2. Full HTML pages without any PHP

 

Option 1. is preferred but i'm wondering if the search engines will "see" all the "files" that contain the content.

Posted

Server Side Inlcudes using either PHP or ASP will be rendered when the visitor visits a page. So option 1 is the right choice because it will render just like option 2 as far as what google and yahoo sees.

 

You can simply test this by display your web page with the php includes and then do a View Source via your browser. This is what search engines sees.

Posted

There is no better as, as mentioned, the result is the same as the SE will see HTML. But No. 1 although not better for SEO, is easier on the developer and maintainer of the site.

Posted

Have the best of both worlds... html pages produced by php scripting and use mod_rewrite for fancy URL's so it looks like an html page. Lots of CMS softwares use this approach.

 

check out sNews, Joomla, Drupal et al.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...