Thread:Project:Support desk/How to redirect from root directory http://examplex.com/Article to http://example.com/wiki/Article title

I know using short URL up to root directory is bad. I installed MediaWiki in /w sub directory and change localsetting.php and .htaccess to /wiki as used in most wiki sites.

My site keep showing 404 Error page when I mistype http://example.com/Article_title. However, Wikipedia redirect this title to its internal path. e.g. http://en.wikipedia.org/bash will be automatically redirected to http://en.wikipedia.org/wiki/Bash in 5 seconds.

How should I configure my site?