Jump to content

Recommended Posts

Posted

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

Posted

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.

Guest Geoff
Posted

I would recommend just renaming all your pages to .php.

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

 

It is, and analytics services (like Google Analytics and Clicky) fare better on .html pages. I'd recommend sticking to it and parsing it as PHP.

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