Jump to content

Search optimisation PHP or HTML?


robbie71321

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...