This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi all, I have moved my development version of OctoberCMS from my dev domain (www.mydevdomain.com/dev) into production on a subdomain (subdomain.production.com), but when I navigate to subdomain.domain.com it redirects me back to the development domain. Here is what I did:
- Copied all of the files and db over to the production domain
- Changed the database connection info in config/database.php
- Changed line 32 in config/app.php to 'url' => 'http://subdomain.domain.com/', (though I read this step was unnecessary)
Why is it redirecting to the development url? Is there a file cache that I need to clear? I didn't see any URLs in the database that needed to be changed. Please let me know what I may have missed here. Thanks!
Last updated
Solved!! ... well, it was my own fault. Since I don't use the front-end I was using a redirect plugin on my index page to redirect users to log in on the backend. The problem was that I forgot that the redirect URL was still pointing to the development backend. Once I changed that everything else was working fine!
1-2 of 2