Welcome Guest, Not a member yet? Register   Sign In
Redirect doesn't work with SSL
#5

(This post was last modified: 04-14-2017, 04:24 AM by dave friend.)

I think your RewriteRule  is malformed.

Change
Code:
RewriteRule .* index.php/$0 [PT,L]
to
Code:
RewriteRule ^(.*)$ index.php/$1 [L]

I don't think the PT flag was of any benefit and I removed it.

There is a very handy htaccess tester at http://htaccess.mwl.be/

Given a test URL of http://example.com/controller that site outputs http://example.com/index.php/controllerindex.php/

With my rule the output is http://example.com/index.php/controller
Reply


Messages In This Thread
Redirect doesn't work with SSL - by ghost13 - 04-11-2017, 05:33 AM
RE: Redirect doesn't work with SSL - by ghost13 - 04-13-2017, 12:11 AM
RE: Redirect doesn't work with SSL - by dave friend - 04-13-2017, 08:36 AM
RE: Redirect doesn't work with SSL - by InsiteFX - 04-14-2017, 02:30 AM
RE: Redirect doesn't work with SSL - by ghost13 - 04-25-2017, 01:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB