Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Page Address Configuration
07-20-2010, 05:44 PM #1
- Join Date
- Jun 2010
- Thanked 0 Times in 0 Posts
Page Address Configuration
I don't know if this is the right section, but I was wondering how I can make a page appear in the address bar without the *.php at the end.
For example, instead of
which would usually appear if you have a folder called "content".
However, I need it to be like this:
WITHOUT the bracket at the end, or the *.php... how can I make this possible? Because in my site, I want people to be able to easily navigate for example:
Also, I am planning to use ONE page, which will get different content from a database. For example, I want to have one "index" page, but when I do for example
then it will get different content from a database than if I were, for example, were to have
but still loads the same index.php page.. but different content, and in the address bar I'd like shown as I described.
How would I be able to make this possible?
07-20-2010, 10:33 PM #2
- Join Date
- Jun 2002
- Thanked 328 Times in 324 Posts
You can do what you want using mod_rewrite. Take a look at that.