Welcome Guest, Not a member yet? Register   Sign In
Issue with Routing: My fault or Bug?

My base URL is:

PHP Code:
public $baseURL 'http://example.com/public/'

echo base_url() prints <?=base_url('manage/update-content/home/')?>

return redirect()->to('/manage'); redirects me to http://example.com/manage/. It excludes the /public segment.

<?=base_url('manage/update-content/')?> prints http://example.com/public/manage/update-content/ but behave like http://example.com/manage/update-content/

The issue is only with the '/public' segment. This segment excludes every time.

Am I doing anything wrong?
"Who thinks in code"
Perfectly describes who I am

Messages In This Thread
Issue with Routing: My fault or Bug? - by webdevron - 09-15-2019, 03:08 PM

Theme © iAndrew 2016 - Forum software by © MyBB