Translations:Manual:Short URL/Apache/27/en

Note that if you want to make a redirect from the main domain to your wiki's Main Page (e.g. $code). Then you always have to set up the .htaccess file in the top level, even if the other directories are nested deeper.