Welcome Guest, Not a member yet? Register   Sign In
codeigniter 4 routes issue
#3

(08-24-2020, 10:31 AM)jreklund Wrote: It's our .htaccess doing that, but you should not run it in a folder. Create a virtual host for it.
https://github.com/codeigniter4/CodeIgni...ss#L19-L22

I use two line code in htaccess like this and solved :



# Redirect Trailing Slashes...

RewriteCond %{REQUEST_URI} /+[^\.]+$

RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
Reply


Messages In This Thread
codeigniter 4 routes issue - by Hoodini - 08-24-2020, 03:24 AM
RE: codeigniter 4 routes issue - by jreklund - 08-24-2020, 10:31 AM
RE: codeigniter 4 routes issue - by Hoodini - 08-24-2020, 03:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB