magento 2.2 admin redirect loop after using data migration tool - data-migration

We have a large Magento 1,9 instance (20 storeviews). Tested the Magento Data Migration Tool successfully with a smaller instance and Magento 2.1. Now testing with the larger instance and finding that after the settings migration the admin area is failing to load, getting stuck in a redirect loop.
I have tried the suggested fixes from other posts here (use https in adminhtml set to 0 and 1, cookie locations) but no luck so far.
Using Firefox dev edition I can see that the requests are consistently redirecting to the same URL, but with different session keys. Anyone come across this before or have any other suggestions?

Related

Domain name forwarding works only partially

For many years I had a successful website at https://www.lunarium.co.uk built on top of Google App Engine, Java version. Some time ago, GAE deprecated the technology they initially recommended for storage, so I decided to re-create the site on a new, less cumbersome platform. Eventually, I re-created it with Django, hosted on Pythonanywhere.com at the domain name https://www.lunarium.co.
When the new version was ready, I've forwarded the domain name lunarium.co.uk (hosted with GoDaddy) to lunarium.co (301, no masking). I also changed the CNAME www on lunarium.co.uk to point to the naked domain name, lunarium.co.uk. This was done in the beginning of April, but the stats keep showing that many people are still going to the old version of the website. On some days, many more people visit the old website than the new one. This is one part of the problem — why is that happening? (Right now I've also added forwarding from www.lunarium.co.uk to www.lunarium.co but was unable to delete the www CNAME).
Also, I had some pages on the old website that were very popular. For example, this one: https://www.lunarium.co.uk/moonsign/calculator.jsp. I made sure that if someone will come looking for this page on the new website (like https://www.lunarium.co/moonsign/calculator.jsp) they would be redirected to the appropriate new page. However, when trying to navigate to that popular old page, I'm getting a strange error message: Not Found 404.0, and I'm not sure where this message is coming from.
Previously, when navigating to the home page of the old website, I used to be correctly redirected to the home page of the new website. (I just tried to do that, and it didn't work, but maybe that is a temporary glitch). However, specific pages within the website are never properly redirected. Is there a way to make sure that they are redirected?

Multiple domains load same database causes issue with loading content

We got 2 domains running to load the same database. The differences between the domain is mainly the style (CSS).
www.reddcoin.online is the main website and www.vergecoin.online is the test in this case. Both systems run perfectly fine and are in sync with the data on the other domain.
The only problem is that when you upload for example a profile picture reddcoin.online it creates the link reddcoin.online/profileimage for example
Problem is that when you go to vergecoin.online it doesnt load this because it doesnt know the path.
We thougt maybe putting in something in the htaccess file to load both/all domains so that even when it places the images at reddcoin.online at least vergecoin.online still finds it. But so far no success
Anyone got some suggestions/solutions?

Magento - Multi store rewrite - url change

I have a Magento website that is running in production environment for a year now.
Now we want to create a Wholesale and retail store in this same installation. We are did that in a test environment and everything works fine.
So, before multistore created, we had our URL example.com.
Now, we are using different websites, setting "Add Store Code to Urls" to YES, so we have:
Retail: example.com/default
Wholesale: example.com/wholesale
However, my URL's will be "broken" when someone search for it on Google. Is there a way to set up when someone try to access a URL without store code, to add the "default" code (for retail store)?
You may solve this using .htaccess / virtual hosts combined with magento run code. There are many resources with in depth articles (like the first google result I got).

Magento multistore random redirect

We have just built a new webstore for Grayle (www.grayle.com) in Magento 1.8.1. The webshop consists of multiple stores (including one for another company).
After switching hosting our online websites finally worked. www.grayle.com -> redirects to www.grayle.nl (as it should). www.eviax.nl -> has it's own website.
Now the problem:
At first when we went to www.eviax.nl, we got to www.eviax.nl, then at random someone else tried and got redirected to www.grayle.nl. About 10 minutes later we tried the same thing, we got back at eviax.nl.
What is the problem here? Is it a cache problem in our Magento set-up? Or a problem at the hosts server? Maybe there's something stuck at our provider?
Edit:
My colleague enabled cache cleaning in Magento. This resulted in not being redirected, but now we are not able to update/edit static blocks and the catalogue view in the back-end stopped to work.
Edit:
This has been solved, the "cache cleaning" script somehow blocks all edits.
It seems you have a redirection loop. Try to use a cookie to se the redirection once.

Magento SEO URL's suddenly changed, can't reenable

I’m fairly new to the Magento platform but I have a decent amount of experience in web development on apache servers.
A few days ago I was asked to look into an issue that was first made aware of with failing filters.
I had a look at the google analytics data and it seems the SEO friendly URLs have all stopped displaying. The navigation URLs still use friendly words however on the page return the URL is redirected to a basic catalog URL.
http://www.camera-camera.com/cameras-and-accessories.html
instead now it goes to
https://www.camera-camera.com/index.php/catalog/category/view/id/9
I checked the admin config. The Web > SEO URL rewrites are set to YES
I toggled them to No saved and back to yes then saved. Tried clearing the catalog URL rewrite cache
Checked the htaccess file and it hasn’t been touched for months.
Emptied the core rewrite table and reindexed it.
So I’m outta ideas now, was hoping some of you more experienced users can have some input as to what else I can check.
I also found it strange that the URL is now ignoring postback parameters. If you look at their filters they are simply an a link to the same page with a post parameter. This gets striped and ignored now might be related?
A file restore was on the day it happened. Any files I should check it against?
Thanks for any help you can provide !
I just discovered that it was related to HTTPS. I didn't notice but seems the site keeps redirecting to HTTPS even though the filter links etc are pointing to HTTP, in the redirect the parameters are dropped. Now to figure out why its going into HTTPS

Resources