Thanks Website Rob for the very thorough answer. I added what you suggested but I still can't log into the secure admin.
Also thanks DrByte. I contacted GoDaddy once more and they confirmed that the issue was in the htaccess file and that they could fix it for a small fee.
Here is the relevant code I have on the three pages. Maybe you can see something that I'm missing.
includes/configure.php
Code:
define('HTTP_SERVER', 'http://www.example.com');
define('HTTPS_SERVER', 'https://www.example.com');
define('ENABLE_SSL', 'true');
define('HTTP_CATALOG_SERVER', 'https:/www.example.com');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
admin/includes/configure.php
Code:
define('HTTP_CATALOG_SERVER', 'https:/www.example.com');
define('HTTPS_CATALOG_SERVER', 'https://www.example.com');
define('ENABLE_SSL_CATALOG', 'true');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
.htaccess
Code:
#############################
## General Settings
Options +SymLinksIfOwnerMatch -FollowSymlinks -Indexes
RewriteEngine ON
# Define the default Character Set for Browsers
AddDefaultCharset utf-8
# if an https URL is not used then redirect to use https
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
# regardless of whether an https URL is used,
# if a URL is used without www then redirect to an https URL that does use www
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Bookmarks