You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
After changing the whole site to https I cannot access the backoffice anymore.
I went through the steps as suggested by Nick in an older message and changed in the installer in step 3 the non-secure and the secure url to https.
When trying to log in I get:
The page requested is not accessible using the credentials supplied. Please login to access the requested page.
Does the URL have to be reset?
Offline
Perhaps you read older instructions. Change your non-secure URL back to the http (non-secure) URL. Run all the way through the installer after making that change - no need to update or install any new software - just get through to the end. Then, follow these instructions:
1. Search your skin, html pages, categories and products for references to your old 'http' URL and change them to the secure 'https' URL. You will only find URLs if you added them yourself.
2. Access Raw DB Admin and execute these two SQL statements (separately):
UPDATE core_namespaces SET hreftype='SSL' WHERE hreftype='Non-SSL' UPDATE core_settings SET value=1 WHERE id LIKE '%.cron_%_last'
3. Access your homepage. This will trigger cron to run and will update things like your sitemap.
4. If you have SEO on: Edit the .htaccess file. If there are any references to redirects pointing to the old 'http://' URL, change them to point to the new 'https://' URL.
It's good practice to rewrite any relative rewrites over to the full 'https://' URL as well, but not necessary. Use a format like this. This one assumes the software is installed in the root web directory, and you're using a URL like 'https://domain.com' without a 'www':
### ### Compression (Speed) ### AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript ### ### Caching (Speed) ### <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ### ### Disable Default Character Set ### AddDefaultCharset Off ### ### Activate Rewite Engine ### Options +FollowSymLinks RewriteEngine on ### ### WWW to Non-WWW ### RewriteCond %{HTTP_HOST} ^www.domain.com [NC] RewriteRule ^(.*) https://domain.com/$1 [L,R=permanent] ### ### Full SSL ### RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://domain.com/$1 [L,R=permanent] ### ### Custom Rewrite Rules - Add Any Custom Rules Below ### ### ### Base Software Rewrite Rules ### RewriteRule ^index.php - [L,PT] RewriteRule ^$ index.php?COREseourl=/ [L,PT] RewriteRule ^/$ index.php?COREseourl=/ [L,PT] RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT] RewriteCond %{REQUEST_URI} ^/ RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]
That should get you where you need to be. If you have issues, open a support ticket and we can do this for you under a support job.
Offline