I want to Update rel=canonical href using Java Script

Hi @neounix,

It worked in the Dev Console. But, in Page Source it still references to the actual URL.
If I am not wrong, Search Engines will pick from Page Source not the DOM Elements. Please correct me if I am wrong.

1 Like