When a customer is send to MyYoast to establish a connection between their site and MyYoast they should return to the page they came from.
The customer leaves their site by clicking on the button in the connection component ( see #12133 ).
At this point a cookie should be set ( suggested name: wpseo_connection_origin ) that holds the full URL of the current page.
The customer eventually returns to their site through the callback route ( see #12135 ).
At this point it should be checked if that cookie exists and if so redirect the customer to the url in the cookie. If no cookie is set the user should be redirect to the premium settings page by default.
parent #12136
needs #12133
When a customer is send to MyYoast to establish a connection between their site and MyYoast they should return to the page they came from.
The customer leaves their site by clicking on the button in the connection component ( see #12133 ).
At this point a cookie should be set ( suggested name:
wpseo_connection_origin) that holds the full URL of the current page.The customer eventually returns to their site through the callback route ( see #12135 ).
At this point it should be checked if that cookie exists and if so redirect the customer to the url in the cookie. If no cookie is set the user should be redirect to the premium settings page by default.
parent #12136
needs #12133