Jump to content

PHP or Html


Recommended Posts

I want to update My website... the pages would be mainly updated to php (because I updated them to show php current time on every page...), but the pages extensions were .html ...

 

So My question is: (what is recommended to do?)

 

Should I still use the .html extension (to the new and old pages) and make in .htacess .html to be processed as .php

OR

Should I use .php extension (for the new and old pages)?

 

(some say that .html is better for Search Engine Optimization...)

Link to comment
Share on other sites

Are you doing anything other than the current time? If you just want a clock-like thing on your pages, you might consider embedding javascript in your html pages instead. Making all your pages get rendered by php seems inefficient.

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.

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.

×
×
  • Create New...