Created
February 11, 2019 13:18
-
-
Save josefglatz/25958b7eab0597c28fb4e337e284d2b9 to your computer and use it in GitHub Desktop.
Redirect TYPO3 index.php with ID 1 to root page with slash
This file contains 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
# Redirects an exact index.php?id=1 to / | |
RewriteCond %{QUERY_STRING} ^id=1$ | |
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