Page 1 of 2
url mod
Posted: Tue May 22, 2007 5:58 am
by UNDERCOVER
any one know how to make the url from
site.com/index.php to
site.com/index
Posted: Tue May 22, 2007 8:42 am
by Lixas
some of servers have "url rewrite" function try to search something of that....
Posted: Tue May 22, 2007 1:48 pm
by UNDERCOVER
yeah i have but they all says how to change it from like index.php?id=1235468 to like index?id=1234568
or sitename.com/folder/index?123456 like that
but i need to drop the index so it would be like
site.com/index or site.com/folder/index
Posted: Wed May 23, 2007 8:01 pm
by Lixas
probably i will not be able to help you in this case
P.S. welcome back

Posted: Wed May 23, 2007 10:22 pm
by Flipper3
Have you tried to make the file name "index" (without quotes) and then just make PHP inside that file?
Posted: Thu May 24, 2007 3:00 am
by SHAdmin
Flipper3 wrote:Have you tried to make the file name "index" (without quotes) and then just make PHP inside that file?
Doing so will download the file index instead of executing it, because unless you manually make changes in your php.ini file, the server will execute a php file only if its extention is .php
Posted: Thu May 24, 2007 6:47 am
by UNDERCOVER
SHAdmin wrote:Doing so will download the file index instead of executing it, because unless you manually make changes in your php.ini file, the server will execute a php file only if its extention is .php
yeah i new that but im not looking for it any more i had it right the 1st time just messed up on the linking lmfao so thanks all for your help anyways
Posted: Thu May 24, 2007 6:49 am
by Rapboy
UNDERCOVER Do u mean something like this [url]
http://www.berlage.esprit-sg.nl/[/ul] or simillar??
Because as SHAdmin said removing the .php will resolve in downloading the file.
Posted: Thu May 24, 2007 11:50 am
by Gizza
What's the different. PHP is better.
Posted: Fri May 25, 2007 7:32 am
by Rapboy
yeah he want to use phph, but he wants url moding and the site i posted ([url]
http://www.berlage.esprit-sg.nl/[/ulr]) url doesnt change no matter which page u visit. It just stays the same and i wanted to know if he wanted something like that.