Welcome Guest, Not a member yet? Register   Sign In
Remove /public from URLs
#8

.htaccess
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]
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Remove /public from URLs - by andreshume - 02-14-2022, 02:01 PM
RE: Remove /public from URLs - by demyr - 02-15-2022, 12:27 AM
RE: Remove /public from URLs - by luckmoshy - 02-15-2022, 12:40 AM
RE: Remove /public from URLs - by pippuccio76 - 02-15-2022, 12:43 PM
RE: Remove /public from URLs - by luckmoshy - 02-15-2022, 09:07 PM
RE: Remove /public from URLs - by veeranji - 12-08-2023, 05:40 AM
RE: Remove /public from URLs - by ozornick - 12-09-2023, 02:33 AM
RE: Remove /public from URLs - by InsiteFX - 12-09-2023, 11:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB