How to configure a copy of Codeigniter website on a subdomain? |
(09-01-2019, 05:09 AM)dave friend Wrote: Have you set $config['base_url'] to reflect the subdomain, e.g. My base_url seems to be configured OK, since I am able to access test.mydomain.com, or test.mydomain.com/controller_name. Its only the inner pages, such as test.mydomain.com/controller_name/anything that cause an error. This is how my base_url is configured, under config/config.php: PHP Code: $protocol = is_https() ? "https://" : "http://"; (09-01-2019, 03:30 AM)virtualgadjo Wrote: Hi,Hi, I tried removing the www, and I narrowed my htaccess file to just: Code: [php]RewriteEngine On But the results are the same ![]() And yes, I did set up a duplicate db for testing purposes. But that's a good pointer. I t would be a shame to mess up the real db! |
Messages In This Thread |
How to configure a copy of Codeigniter website on a subdomain? - by einav - 09-01-2019, 03:17 AM
RE: How to configure a copy of Codeigniter website on a subdomain? - by virtualgadjo - 09-01-2019, 03:30 AM
RE: How to configure a copy of Codeigniter website on a subdomain? - by dave friend - 09-01-2019, 05:09 AM
RE: How to configure a copy of Codeigniter website on a subdomain? - by einav - 09-01-2019, 05:33 AM
|