Skip to content

Commit 3af63af

Browse files
committed
Fixed some bugs
1 parent ded7bb9 commit 3af63af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Options +FollowSymLinks
44
RewriteEngine On
55

66
# e.g. http://my-site.com/en/
7-
RewriteRule ^([a-z]+){2}/?$ index.php?l=$1 [L]
7+
RewriteRule ^([a-z]{2})/?$ index.php?l=$1 [L]
88

99
# e.g. http://my-site.com/my-page/en/
10-
RewriteRule ^([a-z]+){2}/([^/]+)/?$ index.php?p=$2&l=$1 [L]
10+
RewriteRule ^([a-z]{2})/([^/]+)/?$ index.php?p=$2&l=$1 [L]
1111

0 commit comments

Comments
 (0)