Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}

Question

I was facing some hard time configuring the SSL for my Primary Domain and Subdomain and forcing HTTPS link over HTTP:

I generated the SSL Let’s encrypt certification and then found a solution to add to .htaccess:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Now after adding this, my issue of SSL is resolved but I can see some new error on google analytics setup via Site Kit Plugin, while trying to setup the Google Analytics, its shows the following error on WordPress Admin Console:

Error: {"error":"invalid 'redirect_uri'"} 
0
, , Ashish Pratap 3 years 2020-06-04T01:12:11-05:00 0 Answers 239 views 0

Leave an answer

Browse
Browse