FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » url rewrite without /index.php/
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
url rewrite without /index.php/ [message #162922] Mon, 30 August 2010 05:52 Go to next message
INVY is currently offline  INVY   Italy
Messages: 33
Registered: November 2009
Karma: 0
Member
add to buddy list
ignore all messages by this user
default path_info it it_IT.UTF-8 it Yes Yes

url= http://mysite/index.php/f/36/

how can I remove /index.php/ for having a url

url= http://mysite/f/36/

thanks
icon7.gif  Re: url rewrite without /index.php/ [RESOLVED] [message #162923 is a reply to message #162922] Mon, 30 August 2010 09:53 Go to previous messageGo to next message
INVY is currently offline  INVY   Italy
Messages: 33
Registered: November 2009
Karma: 0
Member
add to buddy list
ignore all messages by this user
File:

/include/compiler.inc

code:

$cmpl['ROOT'] = 'index.php';

replace:

$cmpl['ROOT'] ='';

file:

.htaccess:

code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Re: url rewrite without /index.php/ [RESOLVED] [message #162924 is a reply to message #162923] Mon, 30 August 2010 10:52 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Great, this is also documented in the FAQ.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Problems with install in current SVN revision
Next Topic: problem FEED
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Dec 16 19:32:36 EST 2017

Total time taken to generate the page: 0.00616 seconds