Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(function() {
- var getUrl = window.location;
- var baseUrl = getUrl .protocol + "//" + getUrl.host + "/" + getUrl.pathname.split('/')[1];
- jQuery('link[rel=canonical]').attr({'href': baseUrl});
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement