This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing a redirect notification when attempting to view a product on your site while logged in as an admin.
Solution:
The issue is caused by a 301 redirect set up by the Rank Math SEO plugin. This is evident from the 'X-Redirect-By: Rank Math' header in the response. To resolve this, you should check the redirect settings in the Rank Math plugin and adjust them to prevent redirects when logged in as an admin.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Additionally, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.