Redirect Trailing Slashes...Problem |
I have 2 problems:
When i call the following URL with a trailing slashe (news is Controller): http://localhost/ci4/public/news/ It removes the 'root' and 'public' and redirects to : http://localhost/news is it a problem or i'm wrong? And another problem is: in the public/.htaccess and in the Redirect Trailing Slashes section, it does not check if the requested resource is Dir or not Code: # Redirect Trailing Slashes... should we put following line before above? Code: RewriteCond %{REQUEST_FILENAME} !-d |
Messages In This Thread |
Redirect Trailing Slashes...Problem - by kingstyles - 09-30-2019, 02:30 AM
RE: Redirect Trailing Slashes...Problem - by sammyskills - 12-12-2020, 06:50 AM
|