Hello, i have english.php page and i want to use just mydomain.com/?en to show english.php page, also i need in address bar to be "?en" and not change to "english.php" (so visitor see pretty url) Please how this rewrite rule should look like? Thanks alot for help
I think you're misunderstanding "pretty urls" if that's what you think a pretty Url is. Better to use /english or just /en - ditch the question mark
It's better not to direct it for SEO. I think yourdomain/en.php or yourdomain/english.php is the best version for the page. If you still want it to be redirected, create a directory "en" or "english" create a file named "index.php" and copy-paste your "english.php" file to it. create a .htacess file under "en" or "english" directory add this code: "directoryindex index.php" With this solution, you can display the page as yourdomain/en/ or yourdomain/english/ But also yourdomain/en/index.php You can redirect yourdomain/en/index.php to yourdomain/en/. But I would use the first method, yourdomain/en.php Pretty URL means not having question mark in the URL. It's good for SEO.