Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Converting static web pages to php

Started 3 months, 1 week ago by Zippey
I'm planning on converting my static HTML pages to php but concerned about a few issues: If I convert my HTML to files with php file extensions I will loose all my incomming links. Correct? Why do I need a php file extentions for HTML files with embedded php? Why does a HTML file need a php extension just because it has php in it?
Site: Webmaster Forum  Webmaster Forum - site profile
Forum: Coding Forum  Coding Forum - forum profile
Total authors: 7 authors
Total thread posts: 9 posts
Thread activity: no new posts during last week
Domain info for: v7n.com

Other posts in this thread:

htmlbasictutor replied 3 months, 1 week ago
Quote: Originally Posted by Zippey If I convert my HTML to files with php file extensions I will loose all my incomming links. Correct? Yes if you don't do a permanent 301 redirect for each and every page you convert. Quote: Originally Posted by Zippey...

bogs replied 3 months, 1 week ago
you don't have to use or add php on your site if its not necessary.. one reason of using it is for some online transaction and other functionalities..

Zippey replied 3 months, 1 week ago
I have a lot of data that's growing and I think things should be database driven. I think a php interface to a mySQL database is best way to go, unless someone can suggest otherwise.

Hades replied 3 months, 1 week ago
Keep the .html extensions, you can use the example given by htmlbasictutor to do so. Then you can include php code in your files and make the application access the database to retrieve the content.

JennyRipley replied 3 months ago
Quote: Originally Posted by Zippey If I convert my HTML to files with php file extensions I will loose all my incomming links. Correct? Yes,if you covert your HTML to files with php file extensions you will loose all your incoming links.

thegetpr replied 3 months ago
if you change pages HTML to php loss search engines index pages.

htmlbasictutor replied 3 months ago
Quote: Originally Posted by JennyRipley Yes,if you covert your HTML to files with php file extensions you will loose all your incoming links. Quote: Originally Posted by thegetpr if you change pages HTML to php loss search engines index pages....

ScriptMan replied 3 months ago
Zippy, Take note that the syntax can vary slightly depending on the flavor of Linux/Apache running. Your document declartions might affect that also. I am not really sure.Test it with a sample page that has some php includes on it before you change all your pages.

 

Top contributing authors

Name
Posts
Zippey
2
user's latest post:
Converting static web pages to php
Published (2009-09-14 04:04:00)
I have a lot of data that's growing and I think things should be database driven. I think a php interface to a mySQL database is best way to go, unless someone can suggest otherwise.
htmlbasictutor
2
user's latest post:
Converting static web pages to php
Published (2009-09-20 23:08:00)
Quote: Originally Posted by JennyRipley Yes,if you covert your HTML to files with php file extensions you will loose all your incoming links. Quote: Originally Posted by thegetpr if you change pages HTML to php loss search engines index pages. Ahh, but you don't have to. Read my post above.
Hades
2
user's latest post:
Converting static web pages to php
Published (2009-09-14 05:02:00)
Keep the .html extensions, you can use the example given by htmlbasictutor to do so. Then you can include php code in your files and make the application access the database to retrieve the content. __________________ Hades , Ancient god, King of the Nether World, and Guardian of the Dead. ...and on my free time I'm also a web developer, contact me if you need one!
bogs
1
user's latest post:
Converting static web pages to php
Published (2009-09-13 23:26:00)
you don't have to use or add php on your site if its not necessary.. one reason of using it is for some online transaction and other functionalities..
JennyRipley
1
user's latest post:
Converting static web pages to php
Published (2009-09-20 08:39:00)
Quote: Originally Posted by Zippey If I convert my HTML to files with php file extensions I will loose all my incomming links. Correct? Yes,if you covert your HTML to files with php file extensions you will loose all your incoming links.
thegetpr
1
user's latest post:
Converting static web pages to php
Published (2009-09-20 12:31:00)
if you change pages HTML to php loss search engines index pages.
ScriptMan
1
user's latest post:
Converting static web pages to php
Published (2009-09-21 12:01:00)
Zippy, Take note that the syntax can vary slightly depending on the flavor of Linux/Apache running. Your document declartions might affect that also. I am not really sure.Test it with a sample page that has some php includes on it before you change all your pages.

Related threads on "Webmaster Forum":

Related threads on other sites:

Thread profile page for "Converting static web pages to php" on http://www.v7n.com. This report page is a snippet summary view from a single thread "Converting static web pages to php", located on the Message Board at http://www.v7n.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity