Hi to all,
I have searched the forum and found many discussions related to my question but i am a bit confused.
I have a static website of 80 pages written in HTML. All the pages have .HTML extension. I am doing very well in search engines for my main keywords. Now I am trying to expand my site to a larger number of pages but with HTML it is very difficult to manage all the pages one by one. For example If I have to add a new link to the main menu of my website I have to edit 80 pages one by one.
So what I am thinking is using PHP to separate header, sidebar and footer like this in my files.
<?php include('includes/header.php'); ?>
<?php include('includes/sidebar.php'); ?>
<?php include('includes/footer.php'); ?>
But I have read some where that it slows down the loading speed and there are some security issues also. is it right?
Should I implement this technique on the existing 80 pages keeping my SE rankings and back links in mind?
or should I implement it only to the new pages that I would create?
If I implement this technique to my existing 80 pages all the .HTML extension will be changed to .PHP and it will affect my SE rankings and back links also. any solution?
And the URLS of my new pages that I create with PHP INCLUDE technique will look like this (excluding the index pages).
www.myweb.com/dir/page.php
www.myweb.com/dir/dir/page.php
Can i change them to something like.
www.myweb.com/dir/page
www.myweb.com/dir/dir/page
eliminating the .php extension using rewrite rules.
Is my approach right? should i keep them with .php extension or eliminate the extensions? whats the difference?
If anyone has a better idea please share. Regards.