Support the ongoing development of →
Configuration Requests
Last updated 6 months ago.

Maybe posting your .htaccess can help figure out the redirect. There has to be a rule causing the redirect.

Last updated 6 months ago.

Well, I was able to fix the main issue by modifying the line that deals with the index.php. Here's my version:

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    Options +FollowSymlinks
    RewriteEngine On
   RewriteBase /my-project/
    # Redirect Trailing Slashes...
   RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^(.*)$ index.php/$1 

However, trailing slashes now cause a redirection to "" if they are appended to any URL except the base URL.

Last updated 6 months ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.