You are here: Re: Convert PHP addresses to HTML « PHP Programming Language « IT news, forums, messages
Re: Convert PHP addresses to HTML

Posted by Kirsten on 10/14/05 16:47

IWT schrieb:
> Ive heard about some sort of script or program that converts a web
> address with a php extension to that with a html. E.g. say if you had
> www.abc.com/123.php the user would be able to access this via
> www.abc.com/123.html.
> We're creating a new site in php and dont want to effect our search
> engine rankings by getting rid of all our existing html pages.
>
> Any information would be appreciated.
>
> Cheers,
>
> Tom
>
Hi,

edit your httpd.conf or set a .htaccess file with this contens

AddType application/x-httpd-php php php4 php3 html htm

Then you are able to save your php files with the extension .html and
the parse will be activated at request.

Kirsten

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация