Just place ? (Question mark) in .htaccess file in this line ( RewriteRule ^(.*)$ public?/$1 [L] ).