Reputation: 827
If my root website www folder is /
and the subdomain folder is /subdomain
I can either get to the the address using one of the following
Now if I access the site using the http://subdomain.website.com, The codeigniter treats the base_url() as http://subdomain.website.com/subdomain is there away of stripping the subdomin from the end if the subdomain segment has the same name?
I could strip it on a case by case basis, but I'm hoping there is a way to do this using one of the system configuration files.
Upvotes: 0
Views: 302