You need to append with the [QSA] (query string append) tag. Try
RewriteEngine on
RewriteRule ^([a-z]{2,2})/([a-zA-Z0-9_-]+)$ index.php?lang=$1&page=$2 [QSA]
More Related Contents:
- URL rewrite with .htaccess for wildcard domain
- URL rewriting with PHP
- How can I create friendly URLs with .htaccess?
- How to check whether mod_rewrite is enable on server?
- URL rewriting : css, js, and images not loading
- Laravel 5 – Remove Public from URL
- Force SSL/https using .htaccess and mod_rewrite
- How to remove “index.php” in codeigniter’s path
- deny direct access to a folder and file by htaccess
- Server not parsing .html as PHP
- How to get multiple parameters with same name from a URL in PHP
- Enabling error display in PHP via htaccess only
- Pretty URLs with .htaccess
- enable cors in .htaccess
- Remove .php extension (explicitly written) for friendly URL [closed]
- PHP – include a php file and also send query parameters
- PHP Default Function Parameter values, how to ‘pass default value’ for ‘not last’ parameters?
- How To Detect An Incoming Request (With PHP Script) From a CNAME Subdomain?
- Laravel 5 not finding css files
- PHP function with variable as default value for a parameter
- PHP: How can I block direct URL access to a file, but still allow it to be downloaded by logged in users?
- AWS Cloudfront + Load Balancer, url changes from main domain to load balancer subdomain [closed]
- PHP cookie problem – www or without www
- Clean URLs for search query?
- Change single variable value in querystring [closed]
- Set an environment variable in .htaccess and retrieve it in PHP
- How to enable gzip?
- Deny ajax file access using htaccess
- How to pass parameters from bash to php script?
- .htaccess – Redirect subdomain to folder