Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-13 15:29:19

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

htaccess help please

Can anyone please tell me how to redirect any page called without index.php to insert it?

Like:
www.site.com/page

redirected to

www.site.com/index.php/page

Best wishes
Lee

Offline

#2 2009-01-13 16:05:17

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: htaccess help please

Hmmm…Does this work?

RewriteRule ^([A-Za-z0-9-]+)/?$ index.php/$1 [L]

Last edited by JanDW (2009-01-13 16:05:43)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#3 2009-01-13 16:11:03

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: htaccess help please

Hi Jan, unfortunately not, I get “No input file specified”

Thanks for the help.
Lee

Offline

#4 2009-01-14 04:27:33

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: htaccess help please

Any luck in getting this to work, lee? I’ve tried a little more myself but couldn’t solve it – now I’m curious


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

Board footer

Powered by FluxBB