No Luck with moving up from MAMP to host
-
I’m having major issues with moving the WordPress site I’ve built locally with MAMP to my host. The domain is https://ipolitech.com Here’s the error the browser is spitting out:
“Error establishing a database connection
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request…”
I’ve followed the steps Chris Coyier lays out in his “Moving up with MAMP” screencast. For clarity’s sake, here’s what I’ve done:
1. Downloaded the database (.sql format) from my local PHPMyAdmin.
2. Created a database on my host and uploaded the contents from my local database
3. Changed the “siteurl” and “home” in wp-options to the new domain**
4. Upload all WordPress files via ftp to my root folder in my host
5. Change wp-config.php to reflect the new credentials for the new database
6. NO LUCK — getting the error pasted above in all browsers
**After having no luck with this, I also tried opening the database in a text editor, and using replace-all to replace every instance of “https://localhost:8888” with “https://ipolitech.com”This is my first time moving from a local environment to a host, and I am wondering if I’m missing something. Could my .htaccess file be causing the problems?
Here’s what my local .htaccess file looks like:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule># END WordPress
Here’s what I’ve changed it to on my host:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
I have no idea if .htaccess has anything to do with this, especially because the browser says it can’t connect to my database…
Thank you thank you thank you!
Robbie Day
- The topic ‘No Luck with moving up from MAMP to host’ is closed to new replies.