how to handle static-looking address with php? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

how to handle static-looking address with php?

Josh CodeJosh Code Posts: 675Member
Hi,

Is there a way of having a static-looking request like robots.txt, page.html, index.html, styles.css... handled using PHP?

The applications would include higher security by hiding the type of programming languages used by the web server. In the case of robots.txt, it can be very useful because robots.txt is a special address that can't be specified to be at any other address(ie. robots_txt.php).

I found something called something related called [link=http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html]mod_rewrite[/link]. Have you heard about it? If you have, do you know if that can do what I was asking?

Sign In or Register to comment.