Hey guys I’ve got an issue here I’ve been stuck on for days. My domain is timothystannard.com
I’m trying to move my localhost (MAMP) Silverstripe 4 site onto live hosting. I’m on a GoDaddy hosting plan which doesn’t allow SSH so have decided to do it via FTP. What I’m getting is a default Silverstripe homepage and I’m unable to login to admin panel to dev/build and flush. If I try to access timothystannard.com/admin it redirects to a blank page with my navigation bar at the top (all links go to localhost).
What I’ve done so far:
-
Copied all files in my local Silverstripe folder (the folder containing app, public, themes, & vendor folders) across to public_html folder
-
Created a new DB on live server, imported the local db, and connected this with .env file
.env file reads like this:
SS_DATABASE_CLASS="MySQLDatabase"
SS_DATABASE_NAME="db_ss"
SS_DATABASE_PASSWORD="(hidden)"
SS_DATABASE_SERVER="localhost"
SS_DATABASE_USERNAME="tim"
-
Edited my .htaccess file in public_html folder to read like this:
RewriteEngine On RewriteRule ^(.*)$ public/$1
I can’t figure out what’s causing the issue here, would really appreciate a bit of help!