Hello everybody,
I would like to know what is the best way to redirect my website to the wiki. My wiki is installed in a "wiki" folder, which is in the root directory:
http://example.com/wiki/index.php
I put in
http://example.com/index.html
<?php
header("Location: wiki/doku.php");
and this works just fine. The canonical URL of the start page is
http://example.com/wiki/start
The .htaccess file is also in the "wiki" folder, so I can use the route .htaccess file for other redirections.
Please tell me is this a good solution and if not, what I can do to improve it.
Thank you for the consideration!