Jump to content

Hiding URL


youngros

Recommended Posts

I'll start with the reason, just because I like the look rather than trying to hide which server side language I am using.

 

I have seen one or two sites that do this and have looked around the internet on ways to do it, other than creating a folder for every file. With a site that is only 25 or so pages that wouldn't be a big problem.

 

It boils down to using either .htaccess and mod_rewrite, which from what I see just directs one url to another or to this code that I found:

 

ForceType application/x-httpd-php

 

All files are saved without the .php extension (DW loves you doing this!)

It works in localhost and works with IE7, but not with Firefox.

In Firefox a window opens to say you have chose to open "file2 which is a: application/x-httpd-php What shoud Firefox do with this file?

 

Any thoughts on this would be appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...