Using .htaccess to rewrite .php file extension?

ForceType application/x-httpd-php and name your file "example" instead of "example. Php" See also the comments at: support.modwest.com/content/5/1/en/can-i....

While this is a solution, it can make it difficult to edit the file. You can no longer double-click to edit and yuo'll have to instruct your text editor to handle it as PHP every time. – Álvaro G.

Vicario Jan 31 at 12:50.

If you have only one page to rewrite do not use mod_rewrite, use a simple Alias instruction Alias /example /my/dir/example.php.

I'm using this in apache: Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteCond %{SCRIPT_FILENAME}! -d RewriteRule ^(^\. +)$ $1.

Php NC,L.

But it rewrites all pages... – Daniel Gralak Jan 31 at 12:41.

And name your file "example" instead of "example.php.

If you have only one page to rewrite do not use mod_rewrite, use a simple Alias instruction.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions