In Javascript, I can redirect and save the query string and fragment id as follows:
window.location = "NEW_LOCATION" + window.location.search + window.location.hash;
For sites without Javascript, you can use http-equiv meta header. But this reduces the query string and fragment id:
<head>
<meta http-equiv="Refresh" content="300; url=NEW_LOCATION" />
</head>
Is there a way to make an equivalent using http-equiv = "refresh", which saves the query string and fragment identifier?
source
share