When I scan my cart for pages, I notice that it scans a ton of different LOGIN urls. I see 70 unique login urls each index,follow and each look identical. For instance I’ll see https://www.domain.tld/customer/account/login/referer/aHR0cHM6Ly93d3cucXVpY2tkaXBsb21hcy5jb20vYmxvZy9ob3ctdG8tZ2V0LXJlcGxhY2VtZW50LWNvbGxlZ2UtZGlwbG9tYS5odG1s instead of just https://www.domain.tld/customer/account/login/ one time. Why is this? So by begin index,follow basically telling Google to index it but it seems stupid to index 70 pages that identical.
If I load any one of these pages the canonical url is:
<link rel=”canonical” href=”https://www.domain.tld/customer/account/login/referer/aHR0cHM6Ly93d3cucXVpY2tkaXBsb21hcy5jb20vYmxvZy9ob3ctdG8tZ2V0LXJlcGxhY2VtZW50LWNvbGxlZ2UtZGlwbG9tYS5odG1s/” />
Why can’t the canonical be instead:
<link rel=”canonical” href=”https://www.domain.tld/customer/account/login/” />
regardless of what the referer /X is?
Seem to be like this entire problem goes away if the eferer /X is removed from the login url. If I decide to keep the referr/X url how do you guys handle this?
I notice this:
Stores > Configurations > Customers > Customer Configuration > Login Options
Basically it’s saying “Redirect customer to account dashboard after loggin in”.
Any benefits or disadvantage to marking this YES? It seems to create a mess of urls and not sure why it exists. Why have referral urls?
submitted by /u/kassius79
[link] [comments]