nohup wp all-import run 1 &
<script>
$(document).ready(function () {
$("a").each(function () {
var href = $(this).attr("href");
var search = "?" + window.location.search.split("&").filter(val => val.replace('?', '').indexOf('s_') !== 0).join("&").replace('?', '');
if (search !== "?" && href != undefined && href.includes(".") && !href.includes("#")) {
if (!href.includes("?")) {
$(this).attr("href", href + search);
} else {
$(this).attr("href", href + search.replace("?", "&"));
}
}
});
});
</script>
<script>
window.setTimeout(function(){
window.location.href = "Ссылку куда вести" + window.location.search.substring(1);
}, 1000);
</script>