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

Yes, but what is the include for?

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...