English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Just wondering how do you make a page ending on my website from mywebpage.com/news.php to just mywebpage.com/news

i'm a bit stuck so any help would be great, thanks

2007-03-18 21:03:40 · 3 answers · asked by ross f 2 in Computers & Internet Programming & Design

3 answers

create a directory called new , under new create index.php/index.htm

2007-03-18 23:47:50 · answer #1 · answered by Anonymous · 0 0

First you can change the file name to have no extension. That is it.
So the file
news.html
becomes
news

The problem here is that without the extension your php processor will not recognise the file as being a php type so may not work.
It the file contains only html then there should be no problem with this.
If you are using php then you will have to change the php processing command to process all files.

2007-03-19 05:01:20 · answer #2 · answered by AnalProgrammer 7 · 0 0

I'd just make a new folder named "news", and put the news.php in there, rename it "index.php", and that way all users trying to reach "yoursite.com/news" would be redirected to "yoursite.com/news/index.php"...

2007-03-19 06:48:00 · answer #3 · answered by Twisted Intellect 2 · 0 0

fedest.com, questions and answers