I
IB noob
Guest
Hello,
I created a website over a year ago, during which I have managed to get a decent ranking on google for quite a few keywords.
The site is mainly made of HTML files so the URLs mostly end with .html. However, in order to expand it's functionality I'm starting to use PHP but in order to do so on existing pages I need to change them from example.html to example.php...
This creates two problems:
1. Links currently on Google will lead no where.
2. The new PHP pages will not be listed on Google and I will have to work for rankings again.
I've read that 301 and 302 redirects are bad for Google rankings so I won't be using either.
So the question is:
Is there a way in which I can change the file extension without causing either of the above mentioned problems?
Or is there a way for me to add some PHP code into the HTML files and have them function properly?
Thanks in advance.
I created a website over a year ago, during which I have managed to get a decent ranking on google for quite a few keywords.
The site is mainly made of HTML files so the URLs mostly end with .html. However, in order to expand it's functionality I'm starting to use PHP but in order to do so on existing pages I need to change them from example.html to example.php...
This creates two problems:
1. Links currently on Google will lead no where.
2. The new PHP pages will not be listed on Google and I will have to work for rankings again.
I've read that 301 and 302 redirects are bad for Google rankings so I won't be using either.
So the question is:
Is there a way in which I can change the file extension without causing either of the above mentioned problems?
Or is there a way for me to add some PHP code into the HTML files and have them function properly?
Thanks in advance.