(function($){
$("body, html").scrollTop(0);
var hash = location.hash,
redirect = location.origin + location.pathname + location.search;
if($(hash).length){
$('html, body').stop().animate({
scrollTop: $(hash).offset().top
}, 600, function(){
history.pushState(null, null, redirect);
});
}
}(jQuery));
<!DOCTYPE html>
<html lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE">
Всё можно сделать, при желании, в одном месте. Сложность зависит только от выбранной CMS