Fixed links that directed users to landing page, instead of main/index.php