Last active
October 21, 2024 16:44
-
-
Save Kubik-Rubik/90c1f8b56283a840fa476c33c10f4008 to your computer and use it in GitHub Desktop.
CMS Joomla! - Redirects requests with `/index.php/` in the URL to the corresponding SEF-URL - .htaccess rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the rule to the "Custom redirects" section | |
RewriteCond %{THE_REQUEST} !^POST | |
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php/ [NC] | |
RewriteRule ^index\.php/(.+)$ /$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment