We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ded7bb9 commit 3af63afCopy full SHA for 3af63af
1 file changed
.htaccess
@@ -4,8 +4,8 @@ Options +FollowSymLinks
4
RewriteEngine On
5
6
# e.g. http://my-site.com/en/
7
-RewriteRule ^([a-z]+){2}/?$ index.php?l=$1 [L]
+RewriteRule ^([a-z]{2})/?$ index.php?l=$1 [L]
8
9
# e.g. http://my-site.com/my-page/en/
10
-RewriteRule ^([a-z]+){2}/([^/]+)/?$ index.php?p=$2&l=$1 [L]
+RewriteRule ^([a-z]{2})/([^/]+)/?$ index.php?p=$2&l=$1 [L]
11
0 commit comments