- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2017
02:37 AM
10-30-2017
02:37 AM
Hello,
Ive changed my store domain over the cli and it worked for my frontend pages.
But if I want visit the admin backend url I get redirected to localhost.
php bin/magento setup:store-config:set --base-url="http://mydomain.com/" php bin/magento setup:store-config:set --base-url-secure="https://mydomain.com/" php bin/magento cache:flush
But if i visit http://mydomain.com/admin I get redirected to http://localhost/admin/admin/
I am using Magento 2.1.9
How can I fix this?
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2017
04:16 AM
10-30-2017
04:16 AM
I have found a solution.
I changed web/unsecure/base_url and web/unsecure/base_url in core_config_data to default.
Now it works fine.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2017
04:16 AM