Welcome Guest, Not a member yet? Register   Sign In
Remove index.php (mod_rewrite)
#4

If that doe's not fix your problem you can try this one.

Code:
# Remove index.php from URL
RewriteCond %{HTTP:X-Requested-With}    !^XMLHttpRequest$
RewriteCond %{THE_REQUEST}              ^[^/]*/index\.php [NC]
RewriteRule ^index\.php(.*)$            $1 [R=301,NS,L]

Let's us know how you make out on this.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Remove index.php (mod_rewrite) - by mazz - 05-10-2022, 06:16 AM
RE: Remove index.php (mod_rewrite) - by kenjis - 05-10-2022, 04:16 PM
RE: Remove index.php (mod_rewrite) - by mazz - 05-11-2022, 12:31 AM
RE: Remove index.php (mod_rewrite) - by InsiteFX - 05-11-2022, 12:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB